[dokuwiki] Re: Bug in spellchecker

  • From: Matthias Grimm <matthiasgrimm@xxxxxxxxxxxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Sun, 12 Jun 2005 18:07:46 +0200

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

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

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 

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 
Especially other languages as german should be watched. Feedback is very

  Best Regards

Other related posts: