for every word of the input sentence, possible elementary trees are selected where the semantic information on the lemma of the word matches with the information on the anchor node of the tree.
the grammar used by TuLiPA, similarly to the XTAG grammar (XTAG Research Group, 2001), is composed of three elements: a lexicon of unanchored elementary trees (tree templates), a lexicon of lemmas and a lexicon of fully inflected forms.