DeSR Dependency Parser |
#include <PosTagger.h>
Public Member Functions | |
PosTagger (const char *PosParameters) | |
Argument. | |
virtual bool | tag (Tagged &sentence) |
Perform POS tagging on the sentence represented by the words in. | |
Public Attributes | |
WordSet | tags |
Set of tags used. |
Definition at line 59 of file PosTagger.h.
Parser::PosTagger::PosTagger | ( | const char * | PosParameters | ) |
Argument.
Stub version of PosTagger, to replace the real PosTagger when not needed.
PosParameters | is the name of the parameter file to be used by the tagger, and produced by training the tagger on an annotated corpus. |
Definition at line 32 of file PosTagger.cpp.
References tags.
bool Parser::PosTagger::tag | ( | Tagged & | sentence | ) | [virtual] |
Perform POS tagging on the sentence represented by the words in.
sentence,and | fill in the corresponding tags and lemmas |
Definition at line 41 of file PosTagger.cpp.