#### D.3.2 Hidden Markov Model

Knud Haugaard Sørensen suggested this one. From his email on the Aspell mailing list:

consider these examples:

         a fone number.
          -> a phone number.

         a fone dress.
          -> a fine dress.

the example illustrates that the right correction might depend on the context of the word.

So I suggested that you take a look on HMM to solve this problem.

This might also provide a good base to include grammar correction in Aspell.

see this link http://www.cse.ogi.edu/CSLU/HLTsurvey/ch1node7.html.

I think it is a great idea. However unfortunately it will probably be very complicated to implement. Perhaps in the far future.