virtual void putInput(const char *chunk, std::size_t chunksize, bool eof)=0
Feed the segmenter with the next chunk of input to process.
Defines the context for segmenting one document.
Definition: segmenterContextInterface.hpp:24
virtual bool getNext(int &id, SegmenterPosition &pos, const char *&segment, std::size_t &segmentsize)=0
Fetch the next text segment.
virtual ~SegmenterContextInterface()
Destructor.
Definition: segmenterContextInterface.hpp:28