#include <TrecParser.hpp>
Inheritance diagram for TrecParser:

Public Methods | |
| TrecParser () | |
| void | parseFile (const string &filename) |
| Parse a file. | |
| void | parseBuffer (char *buf, int len) |
| Parse a buffer of len length. | |
| long | fileTell () |
Static Public Attributes | |
| const string | identifier = "trec" |
U.S.A., USA's, and USAs are converted to USA. Does not recognize acronyms with numbers.
The following fields are parsed: TEXT, HL, HEAD, HEADLINE, LP, TTL
|
|
|
|
|
Gives current byte position offset into file being parsed. Don't use with parseBuffer Implements Parser. |
|
||||||||||||
|
Parse a buffer of len length.
Implements Parser. |
|
|
Parse a file.
Implements Parser. |
|
|
Reimplemented from Parser. |
1.2.18