Input a misspelled word or phrase and it will try and fix it for you. (If the suggestion is incorrect, then simply type "no" and it will find more suggestions. If it runs out of suggestions it will say so) Notes/Limitations: This algorithm works by taking four actions (transposition, insertion, deletion, and replacement), applying them to your incorrect word, and then see if it matches with any word in a set dictionary. If the word cannot be changed with one edit, then it will not be able to detect what word is being used. Ex. Lovd -> Loved (Will work) Luv -> Love (Will not work) 2. It only checks for correct spelling and not for grammar, tenses, etc. Words to try: “Definately” (should be “Definitely”) “Accomodate” (should be “Accommodate”) “Seperated” (should be “Separated”)
Right now, it's really basic and slow. I would appreciate it if you could give me some ideas to either make it faster or make it better! I had an idea to make a Spell Corrector, similar to what you would see in a Google Search Engine or Document. The idea is that you would put in a misspelled word and it would give you the correct one. I wanted to do it without any weird machine learning type thing and found a simple algorithm like this. btw if you wanted an animation too bad idk how to animate anymore