In prior work, the endmarker symbol has been used to indicate whether an ngram is in the trie.
there is no need to distinguish whether the node of the tree is included in the language model because all nodes of a backwards suffix tree which represents ngrams surely exist in the model.