To perform context sensitive spelling correction. The program is to detect spelling errors that result in valid words and suggest their suitable alternatives