DeSR Dependency Parser |
Public Member Functions | |
MultiSvmParser (char const *modelFile) | |
void | train (SentenceReader *sentenceReader, char const *modelFile) |
Train statistical model using sentences obtained through a sentenceReader , and save the generated model to modelFile . | |
Sentence * | parse (Sentence *sentence) |
Parse the given Sentence sentence . | |
Public Attributes | |
WordIndex | classIndex |
vector< string > | classLabels |
vector< struct svm_model * > | model |
Definition at line 59 of file MultiSvmParser.cpp.
Sentence * Parser::MultiSvmParser::parse | ( | Sentence * | sentence | ) | [virtual] |
Parse the given Sentence sentence
.
Implements Parser::Parser.
Definition at line 309 of file MultiSvmParser.cpp.