|
- Method resolution order:
- Root
- udapi.core.node.Node
- __builtin__.object
Methods defined here:
- __init__(self, data={})
- address(self)
- full (document-wide) id of the root
- dep(self)
- descendants(self)
- is_descendant_of(self, node)
- is_root(self)
- returns True for all Root instances
- remove(self)
- remove the whole tree from its bundle
- set_parent(self, new_parent)
- set_zone(self, zone)
- specify which zone the root belongs to
- shift(self, reference_node, after=0, move_subtree=0, reference_subtree=0)
Data descriptors defined here:
- bundle
- children
- deprel
- deps
- feats
- form
- lemma
- misc
- ord
- parent
- sent_id
- sentence
- upostag
- xpostag
- zone
Methods inherited from udapi.core.node.Node:
- create_child(self)
- info(self, message)
- next_node(self)
- prev_node(self)
- root(self)
- climbs up to the root and returns it
- shift_after(self, reference_node)
- shift_after_node(self, reference_node)
- shift_after_subtree(self, reference_node, without_children=0)
- shift_before_node(self, reference_node)
- shift_before_subtree(self, reference_node, without_children=0)
- shift_subtree_after(self, reference_node)
Data descriptors inherited from udapi.core.node.Node:
- head
|