Package nltk_lite :: Package contrib :: Module hole :: Class FOLTree
[hide private]
[frames] | no frames]

Class FOLTree

source code

 object --+        
          |        
       list --+    
              |    
parse.tree.Tree --+
                  |
                 FOLTree

A Tree for first-order logic formulas that prints differently. Nodes with operator names are printed in infix. Nodes which have unrecognised names are assumed to be predicates.

Instance Methods [hide private]
 
__str__(self) source code

Inherited from parse.tree.Tree: __add__, __cmp__, __delitem__, __eq__, __ge__, __getitem__, __gt__, __init__, __le__, __lt__, __mul__, __ne__, __radd__, __repr__, __rmul__, __setitem__, copy, draw, flatten, freeze, height, leaves, pp, pp_latex_qtree, pp_treebank, productions, subtrees, treepositions

Inherited from parse.tree.Tree (private): _frozen_class, _ppflat

Inherited from list: __contains__, __delslice__, __getattribute__, __getslice__, __hash__, __iadd__, __imul__, __iter__, __len__, __new__, __reversed__, __setslice__, append, count, extend, index, insert, pop, remove, reverse, sort

Inherited from object: __delattr__, __reduce__, __reduce_ex__, __setattr__

Class Methods [hide private]

Inherited from parse.tree.Tree: convert

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__str__(self)
(Informal representation operator)

source code 
Overrides: parse.tree.Tree.__str__