Checking spelling errors..Any ideas?
I am trying to do the following.
I am given a file which contains an accepted wordlist.
And there is another input file containing a sentence (all in lowercase)
I am supposed to find out whether the words in input file are from accepted wordlist. If not then the program must print out the minimum number of changes necessary to turn all words in the input wall post into accepted words as defined by the word list file. Words may not be joined together, or separated into multiple words. A change in a word is defined as one of the following:
1. Replacing any single letter with another letter.
2. Adding a single letter in any position.
3. Removing any single letter.
please help me with some ideas......
esp with...if a word is not from the accepted list, then how do u find the closest word to it?