pywin32-cffi-spellcheck

cffi bindings for Spellcheck.h on Windows


Install
pip install pywin32-cffi-spellcheck==0.0.9

Documentation

win32 cffi spellchecker

This is a thin wrapper on top of the Spellcheck.h win32 API.

It is used as a backend of PyEnchant on Windows.

Usage

checker = SpellChecker("en-US")
ok = checker.check("helo")
assert not ok
suggestions = checker.suggest("helo")
print(suggestions)

# outputs:
# ['hello', 'halo', 'helot', 'hele', 'help', 'hell', 'held', 'hellos', 'hero', 'helm']