These functions let us correctly calculate the LM score of a sentence piecemeal.
in the +LM parser, the score of an item [X, i, j; e] in the chart does not reflect the LM probability of generating the first (m − 1) words of e. two items [X, i, j; e] and [X, i, j; e ] are not directly comparable.