Developed Markov and Hidden Markov models for English text. Generated sentences using the trigram model by implementing the prior-sample routine. Use the language model to correct imperfect sentences given by the user. The application returns which sentence is most likely given the user’s input.