strusAnalyzer  0.17
Public Member Functions | List of all members
strus::AnalyzerObjectBuilderInterface Class Referenceabstract

Interface providing a mechanism to create complex multi component objects for the document and query analysis in strus. More...

#include <analyzerObjectBuilderInterface.hpp>

Public Member Functions

virtual ~AnalyzerObjectBuilderInterface ()
 Destructor. More...
 
virtual const
TextProcessorInterface
getTextProcessor () const =0
 Get the analyzer text processor interface. More...
 
virtual
DocumentAnalyzerInstanceInterface
createDocumentAnalyzer (const SegmenterInterface *segmenter, const analyzer::SegmenterOptions &opts=analyzer::SegmenterOptions()) const =0
 Creates a document analyzer object. More...
 
virtual
PosTaggerInstanceInterface
createPosTaggerInstance (const SegmenterInterface *segmenter, const analyzer::SegmenterOptions &opts=analyzer::SegmenterOptions()) const =0
 Creates a POS tagger instance. More...
 
virtual
QueryAnalyzerInstanceInterface
createQueryAnalyzer () const =0
 Creates a query analyzer object. More...
 
virtual
DocumentAnalyzerMapInterface
createDocumentAnalyzerMap () const =0
 Creates a document analyzer map object. More...
 
virtual
DocumentClassDetectorInterface
createDocumentClassDetector () const =0
 Creates a document class detector object. More...
 
virtual
ContentStatisticsInterface
createContentStatistics () const =0
 Creates an object for content statistics analyzer. More...
 

Detailed Description

Interface providing a mechanism to create complex multi component objects for the document and query analysis in strus.

Constructor & Destructor Documentation

virtual strus::AnalyzerObjectBuilderInterface::~AnalyzerObjectBuilderInterface ( )
inlinevirtual

Destructor.

Member Function Documentation

virtual ContentStatisticsInterface* strus::AnalyzerObjectBuilderInterface::createContentStatistics ( ) const
pure virtual

Creates an object for content statistics analyzer.

Returns
the content statistics analyzer (ownership returned)
virtual DocumentAnalyzerInstanceInterface* strus::AnalyzerObjectBuilderInterface::createDocumentAnalyzer ( const SegmenterInterface segmenter,
const analyzer::SegmenterOptions opts = analyzer::SegmenterOptions() 
) const
pure virtual

Creates a document analyzer object.

Parameters
[in]segmenterthe document segmenter to use
[in]opts(optional) options for the creation of the segmenter instance
Returns
the document analyzer (ownership returned)
virtual DocumentAnalyzerMapInterface* strus::AnalyzerObjectBuilderInterface::createDocumentAnalyzerMap ( ) const
pure virtual

Creates a document analyzer map object.

Returns
the document analyzer map (ownership returned)
virtual DocumentClassDetectorInterface* strus::AnalyzerObjectBuilderInterface::createDocumentClassDetector ( ) const
pure virtual

Creates a document class detector object.

Returns
the document class detector (ownership returned)
virtual PosTaggerInstanceInterface* strus::AnalyzerObjectBuilderInterface::createPosTaggerInstance ( const SegmenterInterface segmenter,
const analyzer::SegmenterOptions opts = analyzer::SegmenterOptions() 
) const
pure virtual

Creates a POS tagger instance.

Parameters
[in]segmenterthe document segmenter to use
[in]opts(optional) options for the creation of the segmenter instance
Returns
the POS tagger interface (ownership returned)
virtual QueryAnalyzerInstanceInterface* strus::AnalyzerObjectBuilderInterface::createQueryAnalyzer ( ) const
pure virtual

Creates a query analyzer object.

Returns
the query analyzer (ownership returned)
virtual const TextProcessorInterface* strus::AnalyzerObjectBuilderInterface::getTextProcessor ( ) const
pure virtual

Get the analyzer text processor interface.

Returns
the analyzer text processor interface reference

The documentation for this class was generated from the following file: