Skip to content

Python port of SymSpell: 1 million times faster spelling correction & fuzzy search through Symmetric Delete spelling correction algorithm

License

Notifications You must be signed in to change notification settings

mammothb/symspellpy

Repository files navigation

symspellpy
PyPI version Tests Documentation Status codecov

symspellpy is a Python port of SymSpell v6.7.2, 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.