Welcome to WebmasterWorld Guest from 50.16.24.12

Forum Moderators: coopster & jatar k

Pspell - custom dictionary

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

5+ Year Member



Hi,

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)

WebmasterWorld Administrator coopster is a WebmasterWorld Top Contributor of All Time 10+ Year Member



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)

10+ Year Member



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

More Information Here
[php.net...]

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

WebmasterWorld Administrator coopster is a WebmasterWorld Top Contributor of All Time 10+ Year Member



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)

5+ Year Member



Ok thank you, I'll investigate
 

Featured Threads

My Threads

Hot Threads This Week

Hot Threads This Month

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