| DeSR Dependency Parser |


Public Member Functions | |
| SvmParser (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 | splits |
| IDs of split groups. | |
| vector< string > | splitNames |
| names of all splits | |
| unordered_map< char, char > | splitGroup |
| renumbering of grouped splits | |
| WordIndex | predIndex |
| WordIndex | classIndex |
| vector< string > | classLabels |
| vector< svm_model * > | model |
Definition at line 72 of file SvmParser.cpp.
| Sentence * Parser::SvmParser::parse | ( | Sentence * | sentence | ) | [virtual] |
Parse the given Sentence sentence.
Implements Parser::Parser.
Definition at line 503 of file SvmParser.cpp.
References splitGroup, and splits.