All Projects → zverok → Spylls

zverok / Spylls

Licence: mit
Pure Python spell-checker, (almost) full port of Hunspell

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Spylls

Languagetool
Style and Grammar Checker for 25+ Languages
Stars: ✭ 5,641 (+2949.19%)
Mutual labels:  spellcheck
Hunspell
The most popular spellchecking library.
Stars: ✭ 1,196 (+546.49%)
Mutual labels:  spellcheck
Did you mean
The gem that has been saving people from typos since 2014
Stars: ✭ 1,786 (+865.41%)
Mutual labels:  spellcheck
Dictionaries
Hunspell dictionaries in UTF-8
Stars: ✭ 591 (+219.46%)
Mutual labels:  spellcheck
Wecantspell.hunspell
A port of Hunspell v1 for .NET and .NET Standard
Stars: ✭ 61 (-67.03%)
Mutual labels:  spellcheck
Guess Language.el
Emacs minor mode that detects the language you're typing in. Automatically switches spell checker. Supports multiple languages per document.
Stars: ✭ 78 (-57.84%)
Mutual labels:  spellcheck
Jamspell
Modern spell checking library - accurate, fast, multi-language
Stars: ✭ 370 (+100%)
Mutual labels:  spellcheck
Comment Spell Checker
Xcode extension for spell checking and auto-correcting code comments.
Stars: ✭ 155 (-16.22%)
Mutual labels:  spellcheck
Pylanguagetool
Python Library and CLI for the LanguageTool JSON API
Stars: ✭ 62 (-66.49%)
Mutual labels:  spellcheck
Symspell
SymSpell: 1 million times faster spelling correction & fuzzy search through Symmetric Delete spelling correction algorithm
Stars: ✭ 1,976 (+968.11%)
Mutual labels:  spellcheck
Kts linguistics
Spellcheck, phonetics, text processing and more
Stars: ✭ 18 (-90.27%)
Mutual labels:  spellcheck
Symspellcompound
SymSpellCompound: compound aware automatic spelling correction
Stars: ✭ 61 (-67.03%)
Mutual labels:  spellcheck
Spelling
Tools for Spell Checking in R
Stars: ✭ 82 (-55.68%)
Mutual labels:  spellcheck
Yaspeller
🔍 Search tool typos in the text, files and websites
Stars: ✭ 554 (+199.46%)
Mutual labels:  spellcheck
Dspellcheck
Notepad++ Spell-checking Plug-in
Stars: ✭ 144 (-22.16%)
Mutual labels:  spellcheck
Symspellpy
Python port of SymSpell
Stars: ✭ 420 (+127.03%)
Mutual labels:  spellcheck
Vim Litecorrect
Lightweight auto-correction for Vim
Stars: ✭ 77 (-58.38%)
Mutual labels:  spellcheck
Misspell Fixer
Simple tool for fixing common misspellings, typos in source code
Stars: ✭ 154 (-16.76%)
Mutual labels:  spellcheck
Vim Ditto
🙊 Stop repeating yourself
Stars: ✭ 148 (-20%)
Mutual labels:  spellcheck
Nuspell
🖋️ Fast and safe spellchecking C++ library
Stars: ✭ 108 (-41.62%)
Mutual labels:  spellcheck

Spylls: Hunspell ported to Python

Spylls is an effort of porting prominent spellcheckers into clear, well-structured, well-documented Python. It is intended to be useful both as a library and as some kind of "reference (or investigatory, if you will) implementation". Currently, only Hunspell <https://github.com/hunspell/hunspell>_ is ported.

Hunspell is a long-living, complicated, almost undocumented piece of software, and it was our feeling that the significant part of human knowledge is somehow "locked" in a form of a large C++ project. That's how Spylls was born: as an attempt to "unlock" it, via well-structured and well-documented implementation in a high-level language.

Follow the explanatory blog post series: on my blog <https://zverok.github.io/spellchecker.html>, on Medium <https://medium.com/spylls-rebuilding-the-spellchecker>, or subscribe to my mailing list <https://zverok.github.io/subscribe.html>_.

Usage as a library

::

$ pip install spylls

.. code-block:: python

from spylls.hunspell import Dictionary

en_US dictionary is distributed with spylls

See docs to load other dictionaries

dictionary = Dictionary.from_files('en_US')

print(dictionary.lookup('spylls'))

False

for suggestion in dictionary.suggest('spylls'): print(suggestion)

spells

spills

Documentation

Full documentation, including detailed source code/algorithms walkthrough, more detailed reasoning and some completeness reports, is available at https://spylls.readthedocs.io/.

Project Links

License

MIT licensed. See the bundled LICENSE <https://github.com/spylls/spylls/blob/master/LICENSE>_ file for more details.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].