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

Module tools

source code

Interactive shell tools for the PCFG parser.

This provides tools for the debugging shell that are specific to the PCFG parser. This parser also uses tools from the CKY parser (since it is merely a subclass of it).


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

Classes [hide private]
  ProbabilisticResultListTool
Prints out a particular range of results, or the whole list.
  ProbabilityTool
Outputs the probability of a sign.
  ProbabilisticChartTool
Outputs an arc from the chart, ranked by probability
  ProbabilisticDerivationTraceTool
Outputs an arc from the chart, ranked by probability
Functions [hide private]
 
list_results(results, silent)
Like jazzparser.parser.list_results, but shows probabilities.
source code
Variables [hide private]
  __package__ = 'jazzparser.parsers.pcfg'
Function Details [hide private]

list_results(results, silent)

source code 

Like jazzparser.parser.list_results, but shows probabilities.

Note this doesn't obey the Latex option because I couldn't be bothered.