boolean collapse = (probDepth.depth < maxDepth - 1) || !fullWordHistories;
if (nextWord == sentenceEndWord) {
return new LexTreeEndWordState(wordNode, lastUnit,
nextWordSequence.trim(maxDepth - 1),
smearTerm, logOne, languageProbability, collapse);
}
return new LexTreeWordState(wordNode, lastUnit,
nextWordSequence.trim(maxDepth - 1),