To develop the intuition, we first present a brute-force algorithm in Figure 3.
this is necessarily true, but it is interesting to see that most of the improvement is obtained just by moving from a unigram to a bigram model.