Use a map to implement a spelling checker. Assume that the dictionary comes from two sources: one file containing an existing large dictionary and a second file containing a personal dictionary. Output
all misspelled words and the line numbers on which they occur (note that keeping track of the misspelled words and their line numbers is identical to generating a cross-reference). Also, for each misspelled word, list any words in the dictionary that are obtainable by applying any of the following rules.
a. Add one character.
b. Remove one character.
c. Exchange adjacent characters.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here