defines callback interface
a linear text representation
void binaryReadFrom(std::istream &is)
virtual void endAnalysis() override
function called by the LIMA analyzer on the end of a text part that is to be analyzed
void endDocument() override
notify the end of the document
virtual void handle(const char *buf, int length) override
gives content.
Common::BagOfWords::LTR_Text & getLTRText()
virtual ~LTRTextHandler()
void endNode(const Common::Misc::GenericDocumentProperties &props) override
notify the end of a hierarchyNode
void startNode(const std::string &elementName, bool forIndexing) override
notify the start of a new hierarchyNode
void startDocument(const Common::Misc::GenericDocumentProperties &) override
notify the start of a new document, and give its properties
virtual void startAnalysis() override
function called by the LIMA analyzer on start of a new document