Package nltk_lite :: Package contrib :: Module paradigm :: Class Sentence
[hide private]
[frames] | no frames]

Class Sentence

source code

object --+
         |
        Sentence

Manages any operation Passes request onto other handlers if necessary

Instance Methods [hide private]
 
__init__(self, p_paradigm, p_tree)
p_paradigm is the given paradigm (attributes and data) p_tree is the query tree
source code
 
getList(self)
Returns values in the form of a list
source code
 
getHTML(self)
Returns values in html (table) form
source code
 
getHorizontalHTML(self, p_parentSpan=1)
Returns values in html (table) form
source code
 
getText(self)
Returns values in plain text form
source code
 
getConditions(self)
Return a list of conditions for each combination (cell)
source code
 
getMaxWidth(self)
Returns the width in number of characters
source code
 
getSpan(self)
Returns the span (requred for "rowspan" and "colspan" HTML attributes)
source code
 
getDepth(self)
Get the depth
source code
 
getType(self, p_tree=None)
Determine the type of the current node of the tree This need not be overridden
source code

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, p_paradigm, p_tree)
(Constructor)

source code 

p_paradigm is the given paradigm (attributes and data) p_tree is the query tree

Overrides: object.__init__