#include <AnchorTextAnnotator.hpp>
Inheritance diagram for indri::parse::AnchorTextAnnotator:
Public Member Functions | |
AnchorTextAnnotator () | |
~AnchorTextAnnotator () | |
void | open (const std::string &anchorFile) |
indri::api::ParsedDocument * | transform (indri::api::ParsedDocument *document) |
void | setHandler (ObjectHandler< indri::api::ParsedDocument > &handler) |
void | handle (indri::api::ParsedDocument *document) |
Private Member Functions | |
void | _readDocumentHeader () |
void | _fetchText (indri::utility::greedy_vector< TagExtent * > &tags, indri::utility::greedy_vector< char * > &terms) |
bool | _matchingDocno (indri::api::ParsedDocument *document) |
Private Attributes | |
std::ifstream | _in |
char | _docno [256] |
int | _count |
indri::utility::Buffer | _buffer |
ObjectHandler< indri::api::ParsedDocument > * | _handler |
|
|
|
|
|
|
|
|
|
|
|
Implements indri::parse::Transformation. |
|
|
|
Implements indri::parse::Transformation. |
|
Implements indri::parse::Transformation. |
|
|
|
|
|
|
|
|
|
|