#include <ReutersParser.hpp>
Inheritance diagram for ReutersParser:
Public Methods | |
ReutersParser () | |
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 = "reuters" |
U.S.A., USA's, and USAs are converted to USA. Does not recognize acronyms with numbers.
The following fields are parsed: text, headline, title
|
|
|
return the current byte position of the file being parsed
Implements Parser. |
|
Parse a buffer.
Implements Parser. |
|
Parse a file.
Implements Parser. |
|
Reimplemented from Parser. |