PyEnchant is a spellchecking library for Python, based on the excellent Enchant library.

To get started, check out the comprehensive tutorial or the auto-generated API listing. If you just want to get up and running in a hurry, here’s a quick sample of PyEnchant in action:

>>> import enchant
>>> d = enchant.Dict("en_US")
>>> d.check("Hello")
>>> d.check("Helo")
>>> d.suggest("Helo")
['He lo', 'He-lo', 'Hello', 'Helot', 'Help', 'Halo', 'Hell', 'Held', 'Helm', 'Hero', "He'll"]

You can report bugs and view the latest development progress at the github project page. There are more downloads available at the python package index, including all the old versions of PyEnchant.


2010-12-14: Version 1.6.5 released

Version 1.6.5 of PyEnchant has been released, with the following changes:

  • restore compatability with Python 3 (including 3.2 beta1)
  • fix unittest DeprecationWarnings on Python 3
  • statically compile libstdc++ into pre-built windows binaries

2010-12-13: Version 1.6.4 released

Version 1.6.4 of PyEnchant has been released, with the following changes:

  • DictWithPWL: use pwl and pel to adjust the words returned by suggest()
  • Fix tokenization of utf8 bytes in a mutable character array
  • get_tokenizer(): pass None as language tag to get default tokenizer
  • prevent build-related files from being included in the source tarball

Project Versions

Table Of Contents

Next topic

Downloading PyEnchant

This Page