Skip to main content

Python text speller

Python package Coverage Status CodeQuality Requirements Status

Pypi PyVersions

pyaspeller (Python Yandex Speller) is a search tool typos in the text, files and websites.

Used Yandex.Speller API. (restrictions)

Features

You can correct your local files

$ pyaspeller ./doc
$ pyaspeller "в суббботу утромъ"
в субботу утром

If you want to check a text you can use:

>>> from pyaspeller import YandexSpeller
>>> speller = YandexSpeller()
>>> fixed = speller.spelled('В суббботу утромь.')
>>> fixed
'В субботу утром.'

You can 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:

$ python3 -m pip install pyaspeller
$ pyaspeller --help

If you're stil using version for python2 you can use outdated version:

pip install pyaspeller==0.1.0

Thanks to

Release files for pyaspeller 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyaspeller 0.2.0
File Size Uploaded
pyaspeller-0.2.0.tar.gz 11.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyaspeller 0.2.0
File Interpreter ABI Platform
pyaspeller-0.2.0-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 23.7 kB

Release files / pyaspeller-0.2.0.tar.gz

Download URL pyaspeller-0.2.0.tar.gz
Size 11.6 kB
Tags Source
SHA-256 checksum
How to use checksums
3ffee2e9b32df479e266a9297494f514f65c12a948f06db301f89e879e952ddd
BLAKE2b-256 checksum
How to use checksums
29a9e92e85c643c87a0a776380867c75a104ccb442c61220847154b3d8a7cf6c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.6.1 requests/2.23.0 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.6.9

Release files / pyaspeller-0.2.0-py2.py3-none-any.whl

Download URL pyaspeller-0.2.0-py2.py3-none-any.whl
Size 12.1 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
e5a6848db02d1c10cc4015327d386da94684bf2090562333847479353da01be2
BLAKE2b-256 checksum
How to use checksums
966fd48b211bf3c77c490707679a2e502d2686e4faa15ecca7cb5d3264a89fc5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.6.1 requests/2.23.0 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.6.9

Release history Release notifications | RSS feed

2.0.2

2 release files

2.0.1

2 release files

2.0.0

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.0

2 release files

0.2.3

2 release files

This release

0.2.0 This release

2 release files

0.1.0

2 release files

0.0.5

2 release files

0.0.4

1 release file

0.0.3

1 release file

0.0.2

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page