symspellpy

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

https://github.com/mammothb/symspellpy

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (9.8%) to scientific vocabulary

Keywords

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

Repository

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

Basic Info
  • Host: GitHub
  • Owner: mammothb
  • License: mit
  • Language: Python
  • Default Branch: master
  • Homepage:
  • Size: 5.76 MB
Statistics
  • Stars: 839
  • Watchers: 16
  • Forks: 124
  • Open Issues: 12
  • Releases: 22
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
Created over 7 years ago · Last pushed 6 months ago
Metadata Files
Readme Changelog Funding License

README.md

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.

Owner

  • Name: mmb L
  • Login: mammothb
  • Kind: user
  • Location: Singapore

GitHub Events

Total
  • Create event: 19
  • Issues event: 7
  • Release event: 2
  • Watch event: 48
  • Delete event: 17
  • Issue comment event: 16
  • Push event: 30
  • Pull request event: 37
  • Fork event: 4
Last Year
  • Create event: 19
  • Issues event: 7
  • Release event: 2
  • Watch event: 48
  • Delete event: 17
  • Issue comment event: 16
  • Push event: 30
  • Pull request event: 37
  • Fork event: 4

Committers

Last synced: almost 3 years ago

All Time
  • Total Commits: 212
  • Total Committers: 18
  • Avg Commits per committer: 11.778
  • Development Distribution Score (DDS): 0.179
Past Year
  • Commits: 13
  • Committers: 4
  • Avg Commits per committer: 3.25
  • Development Distribution Score (DDS): 0.538
Top Committers
Name Email Commits
mmb L m****t@g****m 174
mmb L 7****b@u****m 10
dependabot[bot] 4****]@u****m 9
pdahale95 p****e@g****m 3
Tomek r****t@g****m 2
hnikana 4****a@u****m 2
Joshua Dong j****2@g****m 1
alexandre menezes a****s@g****m 1
Youness Alaoui k****o@k****t 1
Ilham Firdausi Putra 3****1@u****m 1
paridhimnnit p****t@g****m 1
Zoltan Fedor z****r@g****m 1
Nikolai Røed Kristiansen n****k@g****m 1
novotl l****y@g****m 1
Marco m****r@m****r 1
paridhi_shukla p****a@p****m 1
tomaszrz1 4****1@u****m 1
Nick Crews n****s@g****m 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 55
  • Total pull requests: 116
  • Average time to close issues: 8 months
  • Average time to close pull requests: about 1 month
  • Total issue authors: 48
  • Total pull request authors: 21
  • Average comments per issue: 3.25
  • Average comments per pull request: 0.91
  • Merged pull requests: 90
  • Bot issues: 0
  • Bot pull requests: 52
Past Year
  • Issues: 3
  • Pull requests: 38
  • Average time to close issues: about 2 months
  • Average time to close pull requests: 11 days
  • Issue authors: 3
  • Pull request authors: 3
  • Average comments per issue: 0.0
  • Average comments per pull request: 0.47
  • Merged pull requests: 32
  • Bot issues: 0
  • Bot pull requests: 23
Top Authors
Issue Authors
  • xcTorres (4)
  • aastha19 (3)
  • mzeidhassan (3)
  • ZohairAbbas (1)
  • PickJBennett (1)
  • zoltan-fedor (1)
  • Scsourav18 (1)
  • sharanraja08 (1)
  • hadyan-tvlk (1)
  • sbhaktha (1)
  • AnandDev8 (1)
  • MatasGds (1)
  • pineking (1)
  • avacaondata (1)
  • Rigonz (1)
Pull Request Authors
  • dependabot[bot] (52)
  • mammothb (42)
  • mwrobelermlab (2)
  • paridhimnnit (2)
  • ViZiD (2)
  • tomaszrz1 (1)
  • novotl (1)
  • amenezes (1)
  • potipot (1)
  • kakaroto (1)
  • NickCrews (1)
  • marcoffee (1)
  • zoltan-fedor (1)
  • SaarthShah (1)
  • hnikana (1)
Top Labels
Issue Labels
bug (5) enhancement (4) stale (2) invalid (1) question (1)
Pull Request Labels
dependencies (52) enhancement (19) documentation (8) bug (7) github_actions (6) stale (1)

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 207,743 last-month
  • Total docker downloads: 4,672
  • Total dependent packages: 13
  • Total dependent repositories: 118
  • Total versions: 25
  • Total maintainers: 1
pypi.org: symspellpy

Python SymSpell

  • Documentation: https://symspellpy.readthedocs.io/en/latest
  • License: MIT License Copyright (c) 2025 mmb L (Python port https://github.com/mammothb/symspellpy) Copyright (c) 2021 Wolf Garbe (Original C# implementation https://github.com/wolfgarbe/SymSpell) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  • Latest release: 6.9.0
    published 12 months ago
  • Versions: 25
  • Dependent Packages: 13
  • Dependent Repositories: 118
  • Downloads: 207,743 Last month
  • Docker Downloads: 4,672
Rankings
Downloads: 1.0%
Dependent packages count: 1.1%
Dependent repos count: 1.4%
Stargazers count: 2.3%
Average: 2.4%
Forks count: 4.4%
Docker downloads count: 4.4%
Maintainers (1)
Last synced: 6 months ago

Dependencies

.github/workflows/publish.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v4.3.0 composite
  • pypa/gh-action-pypi-publish v1.5.1 composite
.github/workflows/tests.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v4.3.0 composite
  • codecov/codecov-action v3 composite
.github/workflows/weekly.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v4.3.0 composite
docs/requirements.txt pypi
  • editdistpy >=0.1.3
  • numpydoc ==1.1.0
  • sphinx ==4.3.0
  • sphinx-autodoc-typehints ==1.12.0
requirements.txt pypi
  • codecov ==2.1.12
  • coverage ==6.1.2
  • editdistpy >=0.1.3
  • numpy >=1.19.5
  • pytest-cov ==3.0.0