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

Module model

source code

Probabilistic models for the PCFG parser.

The PCFG parser need to be able to access certain probabilities to parse. The interface contained in this module provide access to these probabilities, using a model previously trained on training data. The model implementation itself is provided by the formalism, since it needs to manipulate categories.


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

Classes [hide private]
  PcfgModel
A trainable model used by a pcfg parser.
  ModelLoadError
  ModelSaveError
  ModelError
  ModelTrainingError
Variables [hide private]
  FILE_EXTENSION = 'mdl'
  __package__ = 'jazzparser.parsers.pcfg'