PSPELL with PHP
| From: | Lindsey Simon | Date: | Tue, 03 Jul 2001 16:21:34 +0000 |
| Subject: | PSPELL with PHP | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-58801@lists.php.net to get a copy of this message | ||
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