N Gram Model

A Markov Process of order .

So for a Bigram model we would have a Markov Chain and for a Trigram model we would have a Markov Process of order .

For Trigram model: Using the Chain Rule and Markov Property we get for a sequence of characters Thus, a trigram model for a language with 100 characters, P(c,|ci-2:i-1) has 1.000.000 entries. It can be estimated from a corpus with 107 characters.

Can be used for relatively bad Natural Language Generation or for