https://github.com/mammothb/symspellpy
Python port of SymSpell: 1 million times faster spelling correction & fuzzy search through Symmetric Delete spelling correction algorithm
https://github.com/mammothb/symspellpy
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 symspell text-segmentation word-segmentation
Last synced: 6 months ago
JSON representation
Python port of SymSpell: 1 million times faster spelling correction & fuzzy search through Symmetric Delete spelling correction algorithm
- Host: GitHub
- URL: https://github.com/mammothb/symspellpy
- Owner: mammothb
- License: mit
- Created: 2018-08-13T09:37:59.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2025-04-26T00:34:31.000Z (9 months ago)
- Last Synced: 2025-07-05T12:46:39.431Z (7 months ago)
- Topics: 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, symspell, text-segmentation, word-segmentation
- Language: Python
- Homepage:
- Size: 5.76 MB
- Stars: 831
- Watchers: 16
- Forks: 124
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
symspellpy
[](https://badge.fury.io/py/symspellpy)
[](https://github.com/mammothb/symspellpy/actions/workflows/tests.yml)
[](https://symspellpy.readthedocs.io/en/latest/?badge=latest)
[](https://codecov.io/gh/mammothb/symspellpy)
========
symspellpy is a Python port of [SymSpell](https://github.com/wolfgarbe/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](https://github.com/mammothb/editdistpy). Approximately 2x speed up for usage under default settings, benchmarks found [here](https://github.com/mammothb/symspellpy/blob/master/tests/benchmarks.ipynb).
Install
=======
For installation instructions, see the `INSTALL.rst` file or the [install](https://symspellpy.readthedocs.io/en/latest/users/installing.html) documentation.
Usage
=====
Check out the [examples](https://symspellpy.readthedocs.io/en/latest/examples/index.html) provided for sample usage.