1. Can you predict the next word?
Try firstWhat happens to the most frequent ending when five roof examples are added?
Check your answer
Roof becomes most frequent: six roof, three mat and two chair.
A simple fixed-context model counts possible endings. Mat appears three times, chair twice and roof once. Mat is the most frequent, but not the only possible word. Changing the examples changes these counts. A modern language model is far more complex, and a plausible suggestion still needs checking against what you mean.