symspellpy

symspellpy is a Python port of SymSpell v6.5, 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.
Install
For installation instructions, see the INSTALL.rst file or the install documentation.
Usage
Check out the examples provided for sample usage.
CHANGELOG
6.5.2 (2019-10-23)
- Modified
load_bigram_dictionaryto allow dictionary entries to be split into only 2 parts when using a custom separator - Added dictionary files to wheels so
pkg_resourcescould be used to access them
6.5.1 (2019-10-08)
- Added
separatorargument to allow user to choose custom separator forload_dictionary
6.5.0 (2019-09-21)
- Added
load_bigram_dictionaryand bigram dictionaryfrequency_bigramdictionary_en_243_342.txt - Updated
lookup_compoundalgorithm - Added
Levenshteinto compute edit distance - Added
save_pickle_streamandload_pickle_streamto save/load SymSpell data alongside other structure (contribution by marcoffee)
6.3.9 (2019-08-06)
- Added
transfer_casingtolookupandlookup_compound - Fixed prefix length check in
_edits_prefix
6.3.8 (2019-03-21)
- Implemented
delete_dictionary_entry - Improved performance by using python builtin hashing
- Added versioning of the pickle
6.3.7 (2019-02-18)
- Fixed
include_unknowninlookup - Removed unused
initial_capacityargument - Improved
_get_str_hashperformance - Implemented
save_pickleandload_pickleto avoid having to create the dictionary every time
6.3.6 (2019-02-11)
- Added
create_dictionary()feature
6.3.5 (2019-01-14)
- Fixed
lookup_compound()to return the correctdistance
6.3.4 (2019-01-04)
- Added
<self._replaced_words = dict()>to track number of misspelled words - Added
ignore_tokentoword_segmentation()to ignore words with regular expression
6.3.3 (2018-12-05)
- Added
word_segmentation()feature
6.3.2 (2018-10-23)
- Added
encodingoption toload_dictionary()
6.3.1 (2018-08-30)
- Create a package for
symspellpy
6.3.0 (2018-08-13)
- Ported SymSpell v6.3
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file symspellpy-6.7.0.tar.gz.
File metadata
- Download URL: symspellpy-6.7.0.tar.gz
- Upload date:
- Size: 2.6 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d06d50db8bf0907998689b2fd2fb1c26c660cde7a4d2ffb67efc5ae5e3763905
|
|
| MD5 |
28204ae1fd35c4a3512c46c92f00055d
|
|
| BLAKE2b-256 |
34125adaecab0ab0122a70ec1cca5ff177bff1f5fc2c352b067026ad357a64ee
|
File details
Details for the file symspellpy-6.7.0-py3-none-any.whl.
File metadata
- Download URL: symspellpy-6.7.0-py3-none-any.whl
- Upload date:
- Size: 2.6 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4b296166f03b5871d2a88d94e8d68e84594b22d5c531b015355d3dc7b9c5127b
|
|
| MD5 |
4e18c28ea67c8fc8825612ac5a5cfebb
|
|
| BLAKE2b-256 |
99afe71fcca6a42b6a63f518b0c1627e1f67822815cb0cf71e6af05acbd75c78
|