Seeking a method to:
Take whitespace separated tokens in a String; return a suggested Word
ie:
Google Search can take ‘fonetic wrd nterpreterr’,
and atop of the result page it shows ‘Did you mean: phonetic word interpreter’
A solution in any of the C* languages or Java would be preferred.
Are there any existing Open Libraries which perform such functionality?
Or is there a way to Utilise a Google API to request a suggested word?
In his article How to Write a Spelling Corrector, Peter Norvig discusses how a Google-like spellchecker could be implemented. The article contains a 20-line implementation in Python, as well as links to several reimplementations in C, C++, C# and Java. Here is an excerpt:
Using Norvig’s code and this text as training set, i get the following results: