3 When comparing syntactic trees, we only want to compare dependency relations or non-terminal categories.
we remove the leaf nodes in the case of phrase structure trees, and in the case of dependency trees we compare trees whose edges are unlabelled and nodes are labelled with the dependency relation between that word and its head; the root node receives the label .