Re: PSPELL with PHP

From: Date: Tue, 03 Jul 2001 19:35:33 +0000
Subject: Re: PSPELL with PHP
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-58815@lists.php.net to get a copy of this message
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: php-dev-unsubscribe@lists.php.net > For additional commands, e-mail: php-dev-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.dev (#58815) next »