didYouMean
didYouMean is Python module that you can use to correct spelling mistakes. It leverages Google Translate's "Did You Mean" feature, detecting the input language unless you specify one.
Requirements
- Python3
selenium
Usage
python didYouMean.py "fotball"
> football
python didYouMean.py "football"
> football
python didYouMean.py "ich bin mude" "de"
> ich bin müde
from didyoumean3.didyoumean import did_you_mean
did_you_mean("fotball") # -> football
did_you_mean("football") # -> football
did_you_mean("ich bin mude") # -> ich bin müde
Credits
Adapted by @PLNech based on the work by @bkvirendra.
License
DidYouMean3 is free software under the Gnu GPLv3 license.
Release files for didyoumean3 0.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| didyoumean3-0.3.1.tar.gz | 2.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| didyoumean3-0.3.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 19.0 kB
Release files / didyoumean3-0.3.1.tar.gz
| Download URL | didyoumean3-0.3.1.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dd0af405ad75a27a0d373569e5e1fa6b6b6f0867c7e36fd117f140e5cc1192a2
|
|
BLAKE2b-256 checksum How to use checksums |
f2e3e176a034e366864856474201769de3fc66da5e8fa2ed188586c290ba4fe0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.1.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4
|
Release files / didyoumean3-0.3.1-py3-none-any.whl
| Download URL | didyoumean3-0.3.1-py3-none-any.whl |
|---|---|
| Size | 16.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f03b915640a319b95219215f7afb9d2981e18f1b07762b1fc0a87f0a1551c58c
|
|
BLAKE2b-256 checksum How to use checksums |
6b10fcf0007f9f6a97cf1beaa2fec2330b99a4986aaa4a2061397381c0330005
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.1.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4
|