Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

"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.

Files for didyoumean3, version 0.3.1
Filename, size File type Python version Upload date Hashes
Filename, size didyoumean3-0.3.1-py3-none-any.whl (16.1 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size didyoumean3-0.3.1.tar.gz (2.9 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page