PyEnchant

Software Screenshot:
PyEnchant
Software Details:
Version: 1.6.6
Upload Date: 28 Feb 15
Developer: Ryan Kelly
Distribution Type: Freeware
Downloads: 64

Rating: nan/5 (Total Votes: 0)

PyEnchant is a set of utilities that will allow developers to add quick spell-checking support for their Python code, querying a local Enchant installation for proper grammar and spelling information.

Spelling corrections and suggestions are also supported, along with popular spell-checking packages like Aspell, MySpell, and Ispell.

The PyEnchant bindings are created using ctypes and cover all of Enchant's original features.

The code is OOP and it also aims to provide some higher-level functionality than is available in the C API.

What is new in this release:

  • New website and documentation, generated with Hyde and Sphinx.
  • Fixed SpellChecker.replace() when the replacement is shorter than the erroroneous word; previously this would corrupt the internal state of the tokenizer.
  • Make Dict class pickle-safe. Among other things, this should help with strange deadlocks when used with the multiprocessing module.
  • Ability to import the module even when the enchant C library isn't installed, by setting PYENCHANT_IGNORE_MISSING_LIB env var.
  • New utility function "trim_suggestions", useful for trimming the list of suggestions to a fixed maximum length.
  • Change the way DeprecationWarnings are issued, to point to the line line in user code rather than inside pyenchant.
  • Added GetSpellChecker() method to wxSpellCheckerDialog.

What is new in version 1.6.5:

  • Restore compatability with Python 3 (including 3.2 beta1).
  • Fix unittest DeprecationWarnings on Python 3.
  • Statically compile libstdc++ into pre-built windows binaries.

What is new in version 1.6.4:

  • 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.

What is new in version 1.6.0:

  • Added the concept of 'chunkers' to enchant.tokenize.get_tokenizer(). These serve split split the text into large chunks of checkable tokens.
  • Moved error classes into 'enchant.errors' for easier importing.
  • Moved testcases into separate files so they're not loaded by default.
  • Allowed SpellChecker to use default language if none is specified.
  • Improved compatibility with Python 3.

What is new in version 1.5.3:

  • Fixed termination conditions in English tokenization loop.
  • Improved unicode detection in English tokenizer.
  • Made PyEnchant spellcheck all of its docstrings as part of the unittest suite.

Requirements:

  • Python 2.2 or higher
  • Enchant C/C++ library
  • Ctypes module installed

Similar Software

Kombu
Kombu

12 May 15

PDFMiner
PDFMiner

13 May 15

umemcache
umemcache

5 Jun 15

mwlib
mwlib

13 May 15

Other Software of Developer Ryan Kelly

promise
promise

28 Feb 15

filelike
filelike

28 Feb 15

django-supervisor
django-supervisor

20 Feb 15

withrestart
withrestart

28 Feb 15

Comments to PyEnchant

Comments not found
Add Comment
Turn on images!