Tool:Hroest Spellcheck

From Wikitech
Toolforge tools
hroest spellcheck
Website hroest/cgi-bin/spell.py
Keywords spelling, hunspell
Author(s) Hroesttalk
Maintainer(s) (View all)
Source code github
License No license specified

spell.py is a web based service to find spelling errors in Wikipedia articles and make a suggestion for a correction. It uses the hunspell spelling engine in the background. Currently it only works for the German and English Wikipedia.

Usage

spell.py provides a webservice at https://hroest.toolforge.org/cgi-bin/spell.py

Administration

As a prerequisite, it uses pywikibot and wikispell, a library developed for this tool. Furthermore, it requires the pyhunspell and the python-Levenshtein package from pypi. The tool itself is a simple CGI script found on github.

To install or update, use become hroest to switch to the tool account.

Furthermore, it uses data files currently located at /data/project/hroest/data/ which contain common words in English and German which will not be spellchecked and also contain the hunspell spellcheck files. The files are marshalled for faster access but are very simple python sets.