When searching for something in Google, if you misspell a word (may be by mistake or may be when you really mean this non-dictionary word), Google says: "Showing results for ..... Search instead for .......".
I am trying to figure out how this would work. This basically means being able to find the closest dictionary word to the non-dictionary word entered. How does it work? One way I can guess is : count no. of instances of each character and then scan dictionary to find a word with same no. of instances of each character (only with +-1 difference). But this will also return anagrams.
Is some kind of probabilistic model of any use here such as Markov etc. I don't understand Markov well enough to throw it around but just a very wild guess.
Any insights?