Re: Hunspell does not work for spell checking

"Tomas Kuliavas" <[email protected]>
Newsgroups gmane.mail.squirrelmail.devel
Message-ID <[email protected]>
2009.12.08 13:41 Michal Hlavinka rašė:
> Hi,
>
> in Fedora it's recommended to use hunspell where possible to avoid all
> kind of
> spell checkers being installed on the system. I've tried to replace spell
> checker in squirrelspell plugin with hunspell (I'm using php 5.3.1 and
> httpd-2.2.14).
>
> $SQSPELL_APP = array('English' => 'ispell -a',
>                      'Spanish' => 'ispell -d spanish -a');
>
> to
>
> $SQSPELL_APP = array('English' => 'hunspell -a');
>
> I've also tried to use "php_admin_value safe_mode 0" as specified in
> INSTALL.
>
> With ispell / aspell everything works, but with hunspell I get only:
>
> """
> I tried to execute 'hunspell -a', but it returned:
>
> @(#) International Ispell Version 3.2.06 (but really Hunspell 1.2.8)
> """
>
> I've tried to use all of them in console, where they all work as expected.
> Only hunspell seems to not write anything except version message when used
> in
> squirrelspell. Nothing is written to ssl_error_log.
>
> Does anyone have an idea what can be causing this?

If ispell or aspell works and hunspell shows "@(#) International Ispell
Version 3.2.06 something" message, then hunspell does not return correct
exit code.

-- 
Tomas


------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
-----
squirrelmail-devel mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: [email protected]
List archives: http://news.gmane.org/gmane.mail.squirrelmail.devel
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.