Figure 1: The N-gram language model treats the English sentence "all things pass" composed of (all, things) and (things, pass), for N = 2.
revealing the structure of a sentence is the task of parsing, which is based on linguistically oriented formulations and focuses on generating the likeliest structure for a given sentence.