Python SymSpell


Keywords
spellchecker, symspell, word, segmentation, approximate-string-matching, chinese-text-segmentation, chinese-word-segmentation, damerau-levenshtein, edit-distance, fuzzy-matching, fuzzy-search, levenshtein, levenshtein-distance, python, spell-check, spellcheck, spelling, spelling-correction, text-segmentation, word-segmentation
License
MIT
Install
pip install symspellpy==6.7.7

Documentation

symspellpy
PyPI version Tests Documentation Status codecov

symspellpy is a Python port of SymSpell v6.7.1, which provides much higher speed and lower memory consumption. Unit tests from the original project are implemented to ensure the accuracy of the port.

Please note that the port has not been optimized for speed.

Notable Changes

v6.7.2: Implemented fast distance comparer with editdistpy. Approximately 2x speed up for usage under default settings, benchmarks found here.

Install

For installation instructions, see the INSTALL.rst file or the install documentation.

Usage

Check out the examples provided for sample usage.