10#ifndef LIMA_LINGUISTICPROCESSING_SIMPLESTREAMHANDLER_H
11#define LIMA_LINGUISTICPROCESSING_SIMPLESTREAMHANDLER_H
27#define SIMPLESTREAMHANDLER_CLASSID "SimpleStreamHandler"
29class SimpleStreamHandlerPrivate;
52 void handle(
const char* buf,
int length)
override;
55 void startNode(
const std::string& elementName,
bool forIndexing )
override;
60 void setOut(std::ostream* out)
override;
#define LIMA_ANALYSISHANDLERS_EXPORT
AbstractTextualAnalysisHandler()
void startAnalysis() override
function called by the LIMA analyzer on start of a new document
void setOut(std::ostream *out) override
set the output stream.
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 &props) override
notify the start of a new document
void endDocument() override
notify the end of the document
void endAnalysis() override
function called by the LIMA analyzer on the end of a text part that is to be analyzed
void handle(const char *buf, int length) override
gives content.