|
new list
|
|
|
|
_setparent(self,
child,
index,
dry_run=False)
Update child's parent pointer to point to self. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
extend(self,
children)
extend list by appending elements from the iterable |
source code
|
|
|
|
|
|
item
|
pop(self,
index=-1)
remove and return item at index (default last) |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Inherited from Tree:
__add__,
__eq__,
__ge__,
__getitem__,
__gt__,
__le__,
__lt__,
__mul__,
__ne__,
__radd__,
__repr__,
__rmul__,
__str__,
chomsky_normal_form,
collapse_unary,
copy,
draw,
flatten,
freeze,
height,
leaf_treeposition,
leaves,
pos,
pprint,
pprint_latex_qtree,
productions,
subtrees,
treeposition_spanning_leaves,
treepositions,
un_chomsky_normal_form
Inherited from list:
__contains__,
__getattribute__,
__hash__,
__iadd__,
__imul__,
__iter__,
__len__,
__reversed__,
count,
index,
reverse,
sort
|