Package nltk :: Package parse :: Module viterbi
[hide private]
[frames] | no frames]

Module viterbi

source code

Classes [hide private]
  ViterbiParser
A bottom-up PCFG parser that uses dynamic programming to find the single most likely parse for a text.
Functions [hide private]
 
demo()
A demonstration of the probabilistic parsers.
source code
Function Details [hide private]

demo()

source code 

A demonstration of the probabilistic parsers. The user is prompted to select which demo to run, and how many parses should be found; and then each parser is run on the same demo, and a summary of the results are displayed.