Seems to work correctly in the examples. I tried a few words and things seemed to go
well.. So I'm guessing it was able to load the dictionary, though from the php API it
still can't. hmm...
-l

Vlad Krupin in message Re: [PHP-DEV] PSPELL with PHP (Tue, 07/03 10:13):

> quite likely you missed something simple. Can you do the following?
> 1. go into pspell/example directory
> 2. do 'make example-c
> 3. do 'su nobody'
> 4. run './example-c en' (or whichever language you use)
> 5. try to spellcheck a word, e.g. 's helllo'
> And see what happens. If this does not succeed, you probably did not 
> install pspell or aspell correctly. Otherwise we'll have to do some more 
> problem hunting.
> 
> I never really tried to do anything more than just a basic install of 
> the spellchecker (e.g. different dictionaries, languages, etc.), so I 
> might be able to help you a bit if it is not installed correctly, but 
> not much.
> 
> Vlad
> 
> 
> 
> Lindsey Simon wrote:
> 
> >I've just compiled and installed php-4.0.6 --with-pspell support. However,
> >the pspell_new function gives me the following error:
> >
> >Warning: PSPELL couldn't open the dictionary. reason: I'm sorry I can't find any
> >suitable word lists for the language-tag "en".
> >
> >the line causing the error reads:
> >$pspell_config = pspell_config_create ("en","american");
> >$pspell_link = pspell_new_config($pspell_config);
> >
> >
> >I've created a file en-american.pwli in the pkgdata directory which points 
>absolutely
> >to a wordlist american-words.95.  
> >
> >I've been unable to find much clear documentation about the setup procedure for 
>pspell
> >with php and I suspect I'm missing something simple. Does anyone have a suggestion
> >that may help?
> >
> >-lindsey
> >
> >
> >
> 
> 
> 
> 
> -- 
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to