homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

Pspell - custom dictionary

 11:54 am on Jul 3, 2009 (gmt 0)


I'm using the Pspell extension to check spelling, I have created a custom world list which I am using and it works fine.

However, it is also using the main dictionary in addition to my custom word list. Ideally I would like the spell checker only to use my custom word list and not any other dictionary.

Is this possible with Pspell in php?

Thanks in advance!

PS I am currently using this:
$dictionary_link = pspell_new_personal("my.dic", "en", "british");



 5:52 pm on Jul 6, 2009 (gmt 0)

The *personal* functions are for you personal word lists. Have a closer look at pspell_new() and the pspell_config_* functions:
Pspell Functions [php.net]


 6:50 pm on Jul 7, 2009 (gmt 0)

Keep in mind that the pspell extension has been removed from PHP 5.3 and will no longer be backwards compatible.

More Information Here


 5:31 pm on Jul 9, 2009 (gmt 0)

Enchant is a uniform front end to the other spelling libraries. Enchant supports aspell/pspell amongst others [php.net].


 10:42 pm on Jul 11, 2009 (gmt 0)

Ok thank you, I'll investigate

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved