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

Class PropbankTreePointer

source code

     object --+    
              |    
PropbankPointer --+
                  |
                 PropbankTreePointer

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

Instance Methods [hide private]
 
__init__(self, wordnum, height)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
__str__(self)
str(x)
source code
 
__repr__(self)
repr(x)
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

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__

Static Methods [hide private]
 
parse(s) source code
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, wordnum, height)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: PropbankPointer.__init__

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)

__repr__(self)
(Representation operator)

source code 

repr(x)

Overrides: object.__repr__
(inherited documentation)