<human>:  How do you know what the next word in a sentence is in a generative grammar?
<bot>: The next word is predicted using the words before it. For example, if the previous word was “the”, then the next word is likely to be “a”.