Package nltk :: Package corpus :: Package reader :: Module propbank :: Class PropbankTreePointer
[hide private]
[frames] | no frames]

type PropbankTreePointer

source code

     object --+    
              |    
PropbankPointer --+
                  |
                 PropbankTreePointer

wordnum:height*wordnum:height*... wordnum:height,

Instance Methods [hide private]
 
__init__(self, wordnum, height) source code
 
__str__(self) source code
 
__repr__(self) source code
 
__cmp__(self, other) source code
 
select(self, tree) source code
 
treepos(self, tree)
Convert this pointer to a standard 'tree position' pointer, given that it points to the given tree.
source code
Static Methods [hide private]
 
parse(s) source code
Method Details [hide private]

__init__(self, wordnum, height)
(Constructor)

source code 
Overrides: PropbankPointer.__init__

__str__(self)
(Informal representation operator)

source code 
Overrides: object.__str__
(inherited documentation)

__repr__(self)
(Representation operator)

source code 
Overrides: object.__repr__
(inherited documentation)