#include <BrillPOSParser.hpp>
Inheritance diagram for lemur::parse::BrillPOSParser:
Public Member Functions | |
BrillPOSParser () | |
void | parseFile (const string &filename) |
Parse a file. | |
void | parseBuffer (char *buf, int len) |
Parse a buffer. | |
long | fileTell () const |
return the current byte position of the file being parsed | |
Static Public Attributes | |
const string | identifier = "brill" |
Private Member Functions | |
void | doParse () |
Actual parsing action flow. | |
Private Attributes | |
int | state |
The state of the parser. | |
int | poscount |
count position of word in document | |
Property | wordpos |
keep one property and change values | |
Property | tag |
LinkedPropertyList | proplist |
list |
U.S.A., USA's, and USAs are converted to USA. Does not recognize acronyms with numbers.
|
|
|
Actual parsing action flow.
|
|
return the current byte position of the file being parsed
Implements lemur::api::Parser. |
|
Parse a buffer.
Implements lemur::api::Parser. |
|
Parse a file.
Implements lemur::api::Parser. |
|
Reimplemented from lemur::api::Parser. |
|
count position of word in document
|
|
list
|
|
The state of the parser.
|
|
|
|
keep one property and change values
|