strusAnalyzer
0.17
|
Interface for annotation of text in one document. More...
#include <tokenMarkupContextInterface.hpp>
Public Member Functions | |
virtual | ~TokenMarkupContextInterface () |
Destructor. More... | |
virtual void | putMarkup (const analyzer::Position &start, const analyzer::Position &end, const analyzer::TokenMarkup &markup, unsigned int level)=0 |
Define a marker for a span in the text. More... | |
virtual std::string | markupDocument (const analyzer::DocumentClass &dclass, const std::string &content) const =0 |
Get the original document content with all markups declared inserted. More... | |
Interface for annotation of text in one document.
|
inlinevirtual |
Destructor.
|
pure virtual |
Get the original document content with all markups declared inserted.
[in] | dclass | document class of document to markup |
[in] | content | content string of document to markup |
|
pure virtual |
Define a marker for a span in the text.
[in] | start | start of the item to mark |
[in] | end | the end of the item to mark |
[in] | markup | tag structure to use for markup |
[in] | level | sort of priority (areas with a higher level markup are superseding the ones with lover level. It is also used as criterion to resolve conflicts) |