nltk.ImmutableParentedTree.treeposition

ImmutableParentedTree.treeposition()

The tree position of this tree, relative to the root of the tree. I.e., ptree.root[ptree.treeposition] is ptree.