10#ifndef LIMA_LINGUISTICPROCESSING_EVENTHANDLER_H
11#define LIMA_LINGUISTICPROCESSING_EVENTHANDLER_H
57 void handle(
const char* buf,
int length)
override ;
60 void startNode(
const std::string& elementName,
bool forIndexing )
override;
66 virtual void setOut( std::ostream* out )
override;
69 std::ostringstream* m_stream;
#define LIMA_EVENTANALISYS_EXPORT
defines callback interface
void endNode(const Common::Misc::GenericDocumentProperties &props) override
notify the end of a hierarchyNode
void startAnalysis() override
function called by the LIMA analyzer on start of a new document
void handle(const char *buf, int length) override
gives content.
EventHandler(std::ostream *out)
void startNode(const std::string &elementName, bool forIndexing) override
notify the start of a new hierarchyNode
void startDocument(const Common::Misc::GenericDocumentProperties &props) override
notify the start of a new document
void endAnalysis() override
function called by the LIMA analyzer on the end of a text part that is to be analyzed
virtual void setOut(std::ostream *out) override
set the output stream.
void endDocument() override
notify the end of the document