The approach we took for the generalized 2-gram models, and the hitting 2-gram model is the same.
the derivation for the value in our decision rule does not work out exactly, and only gives us a rough approximation of the probabilities.