Date: 07/03/01
- Next message: M.Izydorski <email protected>: "[PHP-DEV] Bug #11861: Can't set any session variable"
- Previous message: Cedric ANES: "Re: [PHP-DEV] Bug #11780: udm_find makes php crash"
- In reply to: Lindsey Simon: "[PHP-DEV] PSPELL with PHP"
- Next in thread: Lindsey Simon: "Re: [PHP-DEV] PSPELL with PHP"
- Reply: Lindsey Simon: "Re: [PHP-DEV] PSPELL with PHP"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: M.Izydorski <email protected>: "[PHP-DEV] Bug #11861: Can't set any session variable"
- Previous message: Cedric ANES: "Re: [PHP-DEV] Bug #11780: udm_find makes php crash"
- In reply to: Lindsey Simon: "[PHP-DEV] PSPELL with PHP"
- Next in thread: Lindsey Simon: "Re: [PHP-DEV] PSPELL with PHP"
- Reply: Lindsey Simon: "Re: [PHP-DEV] PSPELL with PHP"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

