Dag Ries,
Zie hieronder een mail van de maker van de Duitse webbased Hunspell
(zie:
http://www.j3e.de/cgi-bin/spellchecker ). Hij legt kort uit hoe
hij het heeft aangepakt. Wellicht heb je er wat aan en loont het de
moeite om hem te benaderen voor meer informatie.
Groet,
Bart
---------- Forwarded message ----------
From: Bjoern Jacke <b j o e r n [at] j 3 e . d e >
Subject: Re: Webbased Hunspell for Dutch
To: Bart Knubben <
bart@...>
Hi Bart,
Bart Knubben wrote:
> I ran into your online spellchecker on
>
http://j3e.de/cgi-bin/spellchecker. It looks great! Within the
> OpenTaal-project (www.opentaal.org) we would like to make a similar
> tool for the Dutch language, i.e. webbased Hunspell for Dutch. We are
> not quite sure about the most effective and secure way to get this
> done.
>
> At the moment we are running a website on a PHP/Apache/Linux-system.
> Hunspell (1.1.4) is installed on the system. Could you please provide
> us with information about your implementation?
my spellchecker is not the most eye-candy one but it wan't indended to
be that ;-). The site is is Perl script. I just take the text entered
into the text field and write it into a temporary file, then I run
ispell/hunspell over it (piped to stdin) and then the Perl script parses
the output (those lines beginning with + & and # ...). From that results
I just output the spellcheck results without any sorting (which might be
done much better) to the web page again. I'm sure I did not take 100%
care of security related things there - that's why I don't give out the
source code of that Perl script to anyone. I didn't use rocket science
there - that's why I'm sure anyone who can program some perl or php can
write something simple like this in a short time. If you have more
questions don't hesitate to ask...
Cheers
Bjoern
_______________________________________________
Over de OpenTaal-mailinglist:
http://opentaal.org/mailinglist.phpZoeken in het mailinglistarchief:
http://opentaal.org/zoeken.phpJuridische voorwaarden:
http://opentaal.org/licentie.php