Spelling Correction Suggester

(by Mohammad Fahim Tajwar)

This is a simple web application that receives an English word from the user and proceeds to remove all spaces from it and convert it to lowercase, before referencing it with a csv dictionary embedded into the backend, and accessed over a GitHub url. The application then notifies the user if the entered word is correctly spelled. If the word is incorrectly spelled (not in the dictionary), the application produces: a list of words with the input word's letters transposed at every possible position, a list of words that contains every possible insertion of every letter in the alphabet in all possible positions in the word, a list of words with each letter removed, a list of words with each letter in the input word replaced by every letter in the alphabet, and a list containing pairs of words with a space inserted at every position in the input word. It then cross-references these lists with the embedded dictionary to produce a list of suggested corrections (effectively serving as an autocorrect feature), which is then provided to the user. The user can then select any word from the suggested corrections, if any, or type in a new word as a correction. The application logic was implemented on Python and the interface design was effectuated using Flask, JavaScript and HTML, with the backend deployed on Heroku.

Spell any word.

Let's go!


Please enter the word here:



The word is correctly spelled!
{{ correct_prompt }}
  • {{w}}
Enter your own correction:


{{correction_response}}