GRA 4164 · Lecture 4 · Fall 2026
Bag-of-words: order doesn't matter. A document is a pile of counts.
Language models: order is the whole point. Text is a sequence.
01
02
03
04