strusAnalyzer  0.17
posTaggerContextInterface.hpp
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2018 Patrick P. Frey
3  *
4  * This Source Code Form is subject to the terms of the Mozilla Public
5  * License, v. 2.0. If a copy of the MPL was not distributed with this
6  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
7  */
10 #ifndef _STRUS_ANALYZER_POS_TAGGER_CONTEXT_INTERFACE_HPP_INCLUDED
11 #define _STRUS_ANALYZER_POS_TAGGER_CONTEXT_INTERFACE_HPP_INCLUDED
13 #include <string>
14 
16 namespace strus
17 {
18 
21 {
22 public:
25 
30  virtual std::string markupDocument( int docno, const analyzer::DocumentClass& dclass, const std::string& content) const=0;
31 };
32 
33 }//namespace
34 #endif
35 
Defines a description of the properties of an original document processed by the segmenter.
Definition: documentClass.hpp:21
virtual ~PosTaggerContextInterface()
Destructor.
Definition: posTaggerContextInterface.hpp:24
Structure describing the MIME type plus some attributes that could be relevant for analysis of a docu...
Context to markup documents with tags derived from POS tagging.
Definition: posTaggerContextInterface.hpp:20
virtual std::string markupDocument(int docno, const analyzer::DocumentClass &dclass, const std::string &content) const =0
Markup a document with POS tagging info.