module documentation
Undocumented
Class |
|
A cell from the parse chart formed when performing the CYK algorithm. Each cell keeps track of its x and y coordinates (though this will probably be discarded), and a list of spans serving as the cell's entries. |
Class |
|
A contiguous span over some part of the input string representing dependency (head -> modifier) relationships amongst words. An atomic span corresponds to only one word so it isn't a 'span' in the conventional sense, as its _start_index = _end_index = _head_index for concatenation purposes... |
Class |
|
A probabilistic, projective dependency parser. |
Class |
|
A projective, rule-based, dependency parser. A ProjectiveDependencyParser is created with a DependencyGrammar, a set of productions specifying word-to-word dependency relations. The parse() method will then return the set of all parses, in tree representation, for a given input sequence of tokens... |
Function | arity |
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... |
Function | demo |
Undocumented |
Function | projective |
A demo showing the training and use of a projective dependency parser. |
Function | projective |
A demonstration showing the creation and use of a DependencyGrammar to perform a projective dependency parse. |