Package jazzparser :: Package parsers :: Package tagrank :: Module chart
[hide private]
[frames] | no frames]

Module chart

source code

Simple probabilistic extension to the CKY chart for the tagrank parser.

This is rather like the PCFG chart, but doesn't do as much - it just combines probabilities very naively from arguments of rule applications so that products of tag probabilities work their way up the tree.


Author: Mark Granroth-Wilding <mark.granroth-wilding@ed.ac.uk>

Classes [hide private]
  TagProbabilitySignHashSet
For this chart's internal data structure, we use a modified implementation of the HashSet which adds some basic handling of the tag probabilities that came from the tagger's model.
  TagRankChart
Overrides the CKY chart to add probabilistic stuff.
Variables [hide private]
  logger = logging.getLogger("main_logger")
  __package__ = 'jazzparser.parsers.tagrank'