Package nltk :: Module tree :: Class ImmutableMultiParentedTree
[hide private]
[frames] | no frames]

Class ImmutableMultiParentedTree

source code

      object --+            
               |            
            list --+        
                   |        
                Tree --+    
                       |    
           ImmutableTree --+
                           |
  object --+               |
           |               |
        list --+           |
               |           |
            Tree --+       |
                   |       |
AbstractParentedTree --+   |
                       |   |
       MultiParentedTree --+
                           |
                          ImmutableMultiParentedTree

Instance Methods [hide private]
 
__init__(self, node_or_str, children=None) source code

Inherited from ImmutableTree: __delitem__, __delslice__, __hash__, __iadd__, __imul__, __setitem__, __setslice__, append, extend, pop, remove, reverse, sort

Inherited from ImmutableTree (private): _get_node, _set_node

Inherited from MultiParentedTree: parent_indices, treepositions

Inherited from AbstractParentedTree: __getslice__, insert

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, un_chomsky_normal_form

Inherited from Tree (private): _pprint_flat

Inherited from list: __contains__, __getattribute__, __iter__, __len__, __reversed__, count, index

Inherited from object: __delattr__, __reduce__, __reduce_ex__, __setattr__

Class Methods [hide private]

Inherited from Tree: convert, parse

Inherited from Tree (private): _parse_error

Static Methods [hide private]

Inherited from Tree: __new__

Instance Variables [hide private]

Inherited from MultiParentedTree (private): _parents

Properties [hide private]

Inherited from ImmutableTree: node

Inherited from MultiParentedTree: left_siblings, parents, right_siblings, roots

Inherited from object: __class__

Method Details [hide private]

__init__(self, node_or_str, children=None)
(Constructor)

source code 
Overrides: ImmutableTree.__init__