Chapter 4: Language Modeling with N-grams