Home | Trees | Indices | Help |
|
---|
|
object --+ | ParseI --+ | AbstractParse
An abstract base class for parsers. AbstractParse
provides a default implementation for:
get_parse
)
get_parse
)
get_parse_list
)
Note that subclasses must override either get_parse
or
get_parse_list
(or both), to avoid infinite recursion.
|
|||
|
|||
|
|||
|
|||
Tree |
|
||
list of Tree
|
|
||
|
|||
Inherited from Inherited from |
|
|||
|
Construct a new parser.
|
Derive a parse tree that represents the structure of the given
sentences words, and return a Tree. If no parse is found, then output
The parsed trees derive a structure for the subtokens, but do not modify them. In particular, the leaves of the subtree should be equal to the list of subtokens.
|
|
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0beta1 on Wed May 16 22:47:25 2007 | http://epydoc.sourceforge.net |