Skip to content

dmerejkowsky/pywin32-cffi-spellcheck

Repository files navigation

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']

About

cffi wrapper on top of Spellcheck.h Win32 API

Resources

Stars

Watchers

Forks

Packages

No packages published