Professional Documents
Culture Documents
Writeup
Writeup
Pradnya More
112003086
WRITEUP :
Output : The misspelled words in the string will get replaced by their correct spells
Algorithm :
2.If the word is not present in the google dictionary then by comparing it against each and
every word in the dictionary we calculate the minimum edit distance else got to step one
5.Select the word and replace it with and the word that we just got
RESULTS :
By giving the incorrect string to the algorithm it gives the following output string :
I loves the word euphoria
Conclusion :
Minimum edit distance cannot always give the best fitting word for the given incorrect
words .For a given word there can be more than one word that have the same minimum
edit distance but are not the targeted word.