We can use the sampling method from the prior section to visualize both of these facts! To give an intuition for the increasing power of higher-order n-grams, Fig. 3 .4 shows random sentences generated from unigram, bigram, trigram, and 4gram models trained on Shakespeare's works.