Welcome to WebmasterWorld Guest from 54.144.48.252

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

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

Hot Threads This Week

Hot Threads This Month