[dokuwiki] Re: Bug in spellchecker

On Sat, 11 Jun 2005 21:17:40 +0200
Andreas Gohr <andi@xxxxxxxxxxxxxx> wrote:

Hi,
I reworked the spellchecker regarding our problems.

It sends Aspell the text in one big block again. This should work until the
text got 8MB big (or whatever is configured as maximum block size in
PHP).

The fix will work now with or without terse mode.

It is not possible to check if the used Aspell handles the '?'-lines correctly.
So I check on Aspells version number to correct the output or leave it as it is.
We have to observe Aspells development and keep the version number in
inc/aspell.php up-to-date until the bug has been fixed. Currently the output
will be corrected with Aspell version <= 0.60.3.

The '?'-lines are filtered out so that the spellchecker parser will never see 
them.

It removes the position check for misspelled words in lib/exe/spellchecker.php.

Please test it heavily to be sure that all possible input is handled correctly 
now.
Especially other languages as german should be watched. Feedback is very
welcome.

  Best Regards
    Matthias

Other related posts: