Package jazzparser :: Package parsers :: Package pcfg :: Module parser
[hide private]
[frames] | no frames]

Module parser

source code

Probabilistic (PCFG) extension to the CKY parser implementation.

This implements the CCG equivalent of a basic PCFG parser. It is modelling on Julia Hockenmaier's original basic model of 2001.


Note: This used to have to be used with the PCFG tagger, which took care of assigning lexical probabilities, using the same model as the parser. This has now changed. You can use this with any tagger to limit the choice of available signs and the probabilities used will be taken by the parser from the parsing model.

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

Classes [hide private]
  PcfgParser
Variables [hide private]
  logger = logging.getLogger("main_logger")
  __package__ = 'jazzparser.parsers.pcfg'