"Did You Mean?" suggestions for your Python3 projects.
Project description
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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
didyoumean3-0.3.1.tar.gz
(2.9 kB
view details)
Built Distribution
File details
Details for the file didyoumean3-0.3.1.tar.gz
.
File metadata
- Download URL: didyoumean3-0.3.1.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd0af405ad75a27a0d373569e5e1fa6b6b6f0867c7e36fd117f140e5cc1192a2 |
|
MD5 | 8f690cf97f03394093e48e26993569a4 |
|
BLAKE2b-256 | f2e3e176a034e366864856474201769de3fc66da5e8fa2ed188586c290ba4fe0 |
File details
Details for the file didyoumean3-0.3.1-py3-none-any.whl
.
File metadata
- Download URL: didyoumean3-0.3.1-py3-none-any.whl
- Upload date:
- Size: 16.1 kB
- Tags: Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f03b915640a319b95219215f7afb9d2981e18f1b07762b1fc0a87f0a1551c58c |
|
MD5 | 6d9c0bb8d1ad0eb8c526b4fca1de4fe8 |
|
BLAKE2b-256 | 6b10fcf0007f9f6a97cf1beaa2fec2330b99a4986aaa4a2061397381c0330005 |