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

PyEnchant combines all the functionality of the underlying Enchant library with the flexibility of Python and a nice "Pythonic" object-oriented interface. It also aims to provide some higher-level functionality than is available in the C API.

To get started, check out the comprehensive tutorial, the FAQ, or the auto-generated API listing.
Or 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"]

Sat, 14 Jun 2014

Version 1.6.6 released

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

  • compatability with latest python releases
  • "wheels" replace "eggs" as the binary distribution format of choice
  • fix possible text corruption when using SpellChecker with a Chunker

Sun, 10 Jul 2011

New Website Live

The PyEnchant project has a new website!

Yes, I've finally gotten around to moving things off my personal website and onto the free documentation hosting provided by the cheeseshop. The site is built using a combination of sphinx for the API docs and tutorial, and hyde for the general layout and management.

Older project news...