For CKY decoding, the model is used to compare hypotheses within each chart cell, which cover the same input words.
for the best-first search decoder, the model is used to order hypotheses on the agenda, which can cover different numbers of words.