1. A method of correcting a misspelled word in input text, the method comprising steps of: detecting a misspelled word in the input text, wherein the detecting comprises comparing each word in the input text to a dictionary database and characterizing a word as misspelled when the word does not match any words in the dictionary database; determining a list of alternative words for the misspelled word; and ranking the list of alternative words based on a context of the input text, wherein the alternative words yield correct parts of speech sequences according to the context.