strusAnalyzer  0.17
analyzerObjectBuilderInterface.hpp
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2014 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_OBJECT_BUILDER_INTERFACE_HPP_INCLUDED
11 #define _STRUS_ANALYZER_OBJECT_BUILDER_INTERFACE_HPP_INCLUDED
13 #include <string>
14 
16 namespace strus
17 {
18 
20 class ContentStatisticsInterface;
22 class DocumentAnalyzerInstanceInterface;
24 class DocumentAnalyzerMapInterface;
26 class DocumentClassDetectorInterface;
28 class PosTaggerInstanceInterface;
30 class SegmenterInterface;
32 class QueryAnalyzerInstanceInterface;
34 class TextProcessorInterface;
35 
38 {
39 public:
42 
45  virtual const TextProcessorInterface* getTextProcessor() const=0;
46 
52  const SegmenterInterface* segmenter,
54 
60  const SegmenterInterface* segmenter,
62 
66 
70 
74 
78 };
79 
80 }//namespace
81 #endif
82 
Interface providing a mechanism to create complex multi component objects for the document and query ...
Definition: analyzerObjectBuilderInterface.hpp:37
virtual ContentStatisticsInterface * createContentStatistics() const =0
Creates an object for content statistics analyzer.
Defines a program for analyzing a document, splitting it into normalized terms that can be fed to the...
Definition: contentStatisticsInterface.hpp:32
virtual const TextProcessorInterface * getTextProcessor() const =0
Get the analyzer text processor interface.
Options to stear the segmenter behaviour or the structure of input if not self defined in the documen...
Definition: segmenterOptions.hpp:25
Defines a program for analyzing a document, splitting it into normalized terms that can be fed to the...
Definition: documentAnalyzerMapInterface.hpp:28
Defines a detector that returns a content description for a document content it recognizes.
Definition: documentClassDetectorInterface.hpp:21
virtual DocumentAnalyzerMapInterface * createDocumentAnalyzerMap() const =0
Creates a document analyzer map object.
virtual QueryAnalyzerInstanceInterface * createQueryAnalyzer() const =0
Creates a query analyzer object.
Defines a program for analyzing a document, splitting it into normalized terms that can be fed to the...
Definition: documentAnalyzerInstanceInterface.hpp:43
Defines a program for analyzing chunks of a query.
Definition: queryAnalyzerInstanceInterface.hpp:31
virtual DocumentAnalyzerInstanceInterface * createDocumentAnalyzer(const SegmenterInterface *segmenter, const analyzer::SegmenterOptions &opts=analyzer::SegmenterOptions()) const =0
Creates a document analyzer object.
Interface to define a POS tagger instance for creating the input for POS tagging to build the data an...
Definition: posTaggerInstanceInterface.hpp:23
virtual ~AnalyzerObjectBuilderInterface()
Destructor.
Definition: analyzerObjectBuilderInterface.hpp:41
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
Interface for the object providing tokenizers and normalizers used for creating terms from segments o...
Definition: textProcessorInterface.hpp:49
virtual PosTaggerInstanceInterface * createPosTaggerInstance(const SegmenterInterface *segmenter, const analyzer::SegmenterOptions &opts=analyzer::SegmenterOptions()) const =0
Creates a POS tagger instance.
virtual DocumentClassDetectorInterface * createDocumentClassDetector() const =0
Creates a document class detector object.