/autocorrect

Autocorrection, also known as autocorrect, refers to the process through which the computer automatically recognizes an incorrectly spelled or mistyped word (e.g. "mispelled") and replaces it with the correct spelling ("misspelled"), usually as soon as the user finishes typing the current word/phrase. This project aims to develop this feature.

Primary LanguagePythonMIT LicenseMIT

autocorrect

Autocorrection, also known as autocorrect, refers to the process through which the computer automatically recognizes an incorrectly spelled or mistyped word (e.g. "mispelled") and replaces it with the correct spelling ("misspelled"), usually as soon as the user finishes typing the current word/phrase. This project aims to develop this feature.

Note:

  • the list of 3000 most common English words is retrieved from this link.
  • the big_dictionary file is adapted from this link.

Instructions:

To install the libraries, run pip install -r requirements.txt.

Then, run python main.py.

This project was tested with Python 3.9.