strusAnalyzer  0.17
posTaggerInterface.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_INTERFACE_HPP_INCLUDED
11 #define _STRUS_ANALYZER_POS_TAGGER_INTERFACE_HPP_INCLUDED
13 #include <string>
14 
16 namespace strus
17 {
18 
20 class SegmenterInterface;
22 class PosTaggerInstanceInterface;
23 
26 {
27 public:
29  virtual ~PosTaggerInterface(){}
30 
35  const SegmenterInterface* segmenter,
37 };
38 
39 }//namespace
40 #endif
41 
virtual PosTaggerInstanceInterface * createInstance(const SegmenterInterface *segmenter, const analyzer::SegmenterOptions &opts=analyzer::SegmenterOptions()) const =0
Creates an instance for a specified segmenter.
Options to stear the segmenter behaviour or the structure of input if not self defined in the documen...
Definition: segmenterOptions.hpp:25
Interface to define a POS tagger instance for creating the input for POS tagging to build the data an...
Definition: posTaggerInstanceInterface.hpp:23
Interface for the construction of a POS tagger instance for a specified segmenter.
Definition: posTaggerInterface.hpp:25
virtual ~PosTaggerInterface()
Destructor.
Definition: posTaggerInterface.hpp:29
Options to stear the segmenter behaviour or the structure of input if not self defined in the documen...
Defines an interface for creating instances of programs for document segmentation.
Definition: segmenterInterface.hpp:29