aspell-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[pspell-user] PHP with PSPELL


From: Lindsey Simon
Subject: [pspell-user] PHP with PSPELL
Date: Tue, 3 Jul 2001 11:56:05 -0500
User-agent: Mutt/1.2i

I'm excited to work with the Pspell API in PHP but I'm having some difficulty 
getting
started. I've install aspell-.33.6.3 and pspell-.12.2 and configured and built
php-4.0.6 with pspell support and all went well.

I've dropped american-words.95 from SCOWL in my 
pspell-config pkgdatadir
/usr/local/encap/pspell-12.2/share/pspell

and in /usr/local/encap/pspell-12.2/share/pspell I have a file:
en-american.pwli

more en-american.pwli 
/usr/local/encap/pspell-12.2/share/pspell/american-words.95

So I think I have things setup properly. That is where I must be wrong. :)

$pspell_config = pspell_config_create ("en","american");
$pspell_link = pspell_new_config($pspell_config);

gives me the 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".

So something about my dictionary loading isn't proper.

Thanks for any ideas,
-lindsey





reply via email to

[Prev in Thread] Current Thread [Next in Thread]