Search tool typos in the text, files and websites.
Project description
Python text speller
License
pyaspeller (Python Yandex Speller) is a search tool typos in the text, files and websites. It’s open sourced under the Apache 2.0 License.
Used API Yandex.Speller.
Features (under development)
$ pyaspeller "testt reques"
{u'code': 1,
u'col': 0,
u'len': 5,
u'pos': 0,
u'row': 0,
u's': [u'test'],
u'word': u'testt'}
{u'code': 1,
u'col': 6,
u'len': 6,
u'pos': 6,
u'row': 0,
u's': [u'request'],
u'word': u'reques'}
You could use class Word for single word queries:
>>> from pyaspeller import Word
>>> check = Word('tesst')
>>> check.correct
False
>>> check.variants
[u'test']
>>> check.spellsafe
u'test'
Installation
To install pyaspeller, simply do:
$ pip install pyaspeller
$ pyaspeller --help
Restrictions API Yandex.Speller
speller has some restrictions
CHANGES
0.1.1 (XXXX-XX-XX)
todo
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyaspeller-0.1.0.tar.gz
(13.7 kB
view hashes)
Built Distribution
Close
Hashes for pyaspeller-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65bc29c4a5942a763c04687d077e203fe2032491cc83628a60435a66a030f10c |
|
MD5 | 9276caa34006d6dffd9be3c47ab02ffa |
|
BLAKE2b-256 | 6f780e9bc232c979c7f97ab6ac4d660d48546e69dd4897675bad125389465327 |