Skip to content

Python bindings for the Hunspell spellchecker engine

License

Unknown, Unknown licenses found

Licenses found

Unknown
COPYING
Unknown
COPYING.LESSER
Notifications You must be signed in to change notification settings

arunbala/pyhunspell

 
 

Repository files navigation

ABOUT PYHUNSPELL
================
Pyhunspell is a set of Python bindings for the Hunspell spellchecker engine. It
lets developers load Hunspell dictionaries, check words, get suggestions, add
new words, etc. It also provides some basic morphological analysis related
methods.

INSTALLATION
============
Make sure that python-dev and libhunspell-dev are installed.

You can install this package using pip:
> pip install pyhunspell

Or from source using the following command as root:
> python setup.py install

USAGE
=====
>>> import hunspell
>>> hobj = hunspell.HunSpell('/usr/share/myspell/en_US.dic', '/usr/share/myspell/en_US.aff')
>>> hobj.spell('spookie')
False
>>> hobj.suggest('spookie')
['spookier', 'spookiness', 'spooky', 'spook', 'spoonbill']
>>> hobj.spell('spooky')
True
>>> hobj.analyze('linked')
[' st:link fl:D']
>>> hobj.stem('linked')
['link']
>>> 

LICENSE
=======
PyHunspell itself is licensed under the LGPL version 3 or later, see
lgpl-3.0.txt and gpl-3.0.txt. The files in the debian/ directory and setup.py
are licensed under the GPL version 3.

About

Python bindings for the Hunspell spellchecker engine

Resources

License

Unknown, Unknown licenses found

Licenses found

Unknown
COPYING
Unknown
COPYING.LESSER

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 86.5%
  • Python 13.5%