Parser::PennPosTagger Struct Reference
[Dependency Parser]
List of all members.
Public Types |
typedef std::map< std::string,
char const * > | PosMap |
| Maps TreeTagger POS tags names to Penn POS names.
|
Public Member Functions |
| PennPosTagger (const char *PosParameters) |
bool | tag (Tagged &sentence) |
| Perform POS tagging on the sentence represented by the words in.
|
Static Public Attributes |
static PosMap | posMap |
static PosMap | inversePosMap |
Member Function Documentation
bool Parser::PennPosTagger::tag |
( |
Tagged & |
sentence |
) |
[virtual] |
Perform POS tagging on the sentence represented by the words in.
- Parameters:
-
| sentence,and | fill in the corresponding tags and lemmas |
- Returns:
- true if tagging succeded.
Reimplemented from Parser::PosTagger.
The documentation for this struct was generated from the following files:
- parse/desr/src/PosTagger.h
- parse/desr/src/PosTagger.cpp
- parse/desr/src/PosTaggerStub.cpp