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

Module projectivedependencyparser

source code

Classes [hide private]
DependencySpan
A contiguous span over some part of the input string representing dependency (head -> modifier) relationships amongst words.
ChartCell
A cell from the parse chart formed when performing the CYK algorithm.
ProjectiveDependencyParser
A projective, rule-based, dependency parser.
ProbabilisticProjectiveDependencyParser
A probabilistic, projective dependency parser.
Functions [hide private]
 
demo() source code
 
projective_rule_parse_demo()
A demonstration showing the creation and use of a DependencyGrammar to perform a projective dependency parse.
source code
 
arity_parse_demo()
A demonstration showing the creation of a DependencyGrammar in which a specific number of modifiers is listed for a given head.
source code
 
projective_prob_parse_demo()
A demo showing the training and use of a projective dependency parser.
source code
Function Details [hide private]

arity_parse_demo()

source code 

A demonstration showing the creation of a DependencyGrammar in which a specific number of modifiers is listed for a given head. This can further constrain the number of possible parses created by a ProjectiveDependencyParser.