nltk.ImmutableMultiParentedTree.parents¶
-
ImmutableMultiParentedTree.
parents
()¶ The set of parents of this tree. If this tree has no parents, then
parents
is the empty set. To check if a tree is used as multiple children of the same parent, use theparent_indices()
method.Type: list(MultiParentedTree)