Module parser
source code
Simple extension of a CKY parser to propagate probabilities through a
derivation from the tag probabilities.
This is not really a probabilistic parser, it's just a basic CKY
parser with some extra bits to pass probabilities up through a derivation
from the tags. It's designed to be used with the C&C tagger, so that
the results get ranked according to the probabilities of the tags they
came from.
Author:
Mark Granroth-Wilding <mark.granroth-wilding@ed.ac.uk>
|
|
logger = logging.getLogger("main_logger")
|
|
|
__package__ = 'jazzparser.parsers.tagrank'
|