Package parsers
source code
Parser modules for the Jazz Parser.
Subpackages of this define parser modules. Each may implement its own
parsing algorithm and operates independently of the formalism and tagger,
which have strictly defined interfaces through which the parser accesses
them.
To add a new parser, create the parser class in a new subpackage and
add the package's name to the PARSERS constant below.
Author:
Mark Granroth-Wilding <mark.granroth-wilding@ed.ac.uk>
|
|
RuleApplicationError
Thrown if there's an error during application of a rule to
categories.
|
|
|
ParseError
Thrown if it's not possible to carry out a parse, for some reason.
|
|
|
ParserInitializationError
Thrown when initializing the parser if something in the
configuration prevents correct initialization.
|
|
|
PARSERS = ['cky', 'pcfg', 'tagrank', 'fail']
|
|
|
__package__ = None
hash(x)
|