#include <dependencies.h>
Collaboration diagram for dependencyMaker:
Public Member Functions | |
dependencyMaker (const string &, const string &) | |
constructor | |
void | analyze (list< sentence > &) |
Enrich all sentences in given list with a depenceny tree. | |
list< sentence > | analyze (const list< sentence > &) |
Enrich all sentences in given list, return a copy. | |
Private Member Functions | |
void | registerFunction (const string &, expcreator *) |
register a new tree joining operation | |
dep_tree * | dependencies (parse_tree &tr) |
compute dependency tree | |
Private Attributes | |
completer | comp |
tree completer | |
depLabeler | labeler |
dependency labeler | |
string | start |
this implementation uses two subclasses: completer: to complete the chunk analysis in a full parse tree depLabeler: to set the labels once the class has build a dependency tree
|
constructor Load a dependecy rule file. |
|
Enrich all sentences in given list, return a copy. Useful for Perl API |
|
Enrich all sentences in given list with a depenceny tree.
|
|
compute dependency tree Auxiliar structure to keep and update dependencies inverse index get node Id from a pointer to the node Create dependency nodes Build tree with created depnodes according to dependency list |
|
register a new tree joining operation
|
|
tree completer
|
|
dependency labeler
|
|
|