Skip to content
 
 

Repository files navigation

chunspell-next

chunspell-next is a fast Python interface to Hunspell, implemented as a native Cython/C++ extension. This project is a fork of cdhigh/chunspell, which is itself a fork of MSeal/cython_hunspell. This fork supports current Python versions, provides updated wheels, and uses a modern uv-based development and release workflow.

Installation

uv add chunspell-next

or

pip install chunspell-next

The distribution is named chunspell-next; the Python import remains hunspell.

Usage

from hunspell import Hunspell

spellchecker = Hunspell()

spellchecker.spell("correct")     # True
spellchecker.spell("incorect")    # False
spellchecker.suggest("incorect")  # ("incorrect", "correction", ...)

The wheel includes the en_US dictionary. Custom Hunspell dictionaries can be loaded from another directory.

Documentation

Releases

Tagged releases provide wheels for Linux, macOS, and Windows as well as a source distribution.

License

The Python wrapper is licensed under the MIT License. Bundled Hunspell components use the terms documented in HUNSPELL_LICENSE_LESSER.

About Modding Forge

chunspell-next is maintained for the Python tooling powering Modding Forge, a community dedicated to Skyrim modding.

About

Cython wrapper on Hunspell Dictionary

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages