Author: | Hartmut Goebel <[email protected]> |
---|---|
Version: | Version 0.1 |
Copyright: | 2012 by Hartmut Goebel |
Licence: | GNU Public Licence v3 (GPLv3) |
Homepage: | http://github.com/htgoebel/pysource-spellchecker |
pysource-spellchecker extracts all strings (including unicode strings) and comments and passes them to the enchant spellchecker.
pypsource-spellchecker
<options> source-file ...
-h, --help show this help message and exit --language LANGUAGE language to use for spellchecking, default: en_US --pwl PWL personal wordlist to use, default: project.dict --no-pwl do not use any personal wordlist.
--list simply list all spellchecking errors (this is the default) --command-line, --cmd-line, --interactive interactively check the spelling on the command line
By default pysource-spellchecker writes back changed files without backup. Use this options to change this behaviour.
--no-write Don't write back modified files --diffs Show diffs of the refactoring --backups Write backups for modified files
Please note: | This package is meant for developers. Even if there are some usable examples included, installations instructions are meant for developers. |
---|
pysource-spellchecker requires
- Python 2.3 or higher (tested with Python 2.6)
- setuptools or distribute for installation (see below)
- PyEnchant (which it self may have additional requirements)
Since this package is meant for developers, we assume you have experience in installing Python packages.
pysource-spellchecker is listed on PyPI (Python Package Index), so you can install it using easy_install or pip as usual. Please refer to the manuals of easy_install resp. pip for further information.
Alternatively you my download and unpack the source package of pysource-spellchecker from http://pypi.python.org/pypi/pysource-spellchecker and run:
python ./setup.py install