strusModule
0.17
|
Structure that contains all analyzer module objects. More...
#include <analyzerModule.hpp>
Public Member Functions | |
AnalyzerModule (const DocumentClassDetectorConstructor &documentClassDetectorConstructor_, const SegmenterConstructor &segmenterConstructor_) | |
Analyzer module constructor. More... | |
AnalyzerModule (const SegmenterConstructor &segmenterConstructor_) | |
Analyzer module constructor. More... | |
AnalyzerModule (const TokenizerConstructor *tokenizerConstructors_, const NormalizerConstructor *normalizerConstructors_, const AggregatorConstructor *aggregatorConstructors_) | |
Analyzer module constructor without segmenter definition. More... | |
AnalyzerModule (const PatternLexerConstructor &patternLexerConstructor_, const PatternMatcherConstructor &patternMatcherConstructor_) | |
Analyzer module constructor for pattern matcher. More... | |
AnalyzerModule (const PatternLexerConstructor &patternLexerConstructor_, const PatternMatcherConstructor &patternMatcherConstructor_, const char *version_3rdparty, const char *license_3rdparty) | |
Analyzer module constructor for pattern matcher with 3rd party license info. More... | |
Public Member Functions inherited from strus::ModuleEntryPoint | |
ModuleEntryPoint (Type type_, unsigned short version_major, unsigned short version_minor, const char *version_3rdparty_=0, const char *license_3rdparty_=0) | |
Constructor for derived classes. More... | |
Public Attributes | |
DocumentClassDetectorConstructor | documentClassDetectorConstructor |
a content detector definition More... | |
SegmenterConstructor | segmenterConstructor |
a segmenter definition More... | |
const TokenizerConstructor * | tokenizerConstructors |
0 terminated list of tokenizers More... | |
const NormalizerConstructor * | normalizerConstructors |
0 terminated list of normalizers More... | |
const AggregatorConstructor * | aggregatorConstructors |
0 terminated list of aggregators More... | |
PatternLexerConstructor | patternLexerConstructor |
a pattern lexer definition More... | |
PatternMatcherConstructor | patternMatcherConstructor |
a pattern matcher definition More... | |
Public Attributes inherited from strus::ModuleEntryPoint | |
char | signature [8] |
signature of the module (string + major version) More... | |
Type | type |
type of the module More... | |
unsigned short | modversion_minor |
minor version of the module More... | |
unsigned short | compversion_major |
major version of components in the module More... | |
unsigned short | compversion_minor |
minor version of components in the module More... | |
unsigned int | _reserved [6] |
reserved for future use More... | |
const char * | version_3rdparty |
3rd party version info More... | |
const char * | license_3rdparty |
3rd party license text More... | |
Additional Inherited Members | |
Public Types inherited from strus::ModuleEntryPoint | |
enum | Type { Analyzer, Storage, Trace } |
The module types supported. More... | |
enum | { ErrorNone =0, ErrorUnknownModuleType =1, ErrorSignature =11, ErrorModMinorVersion =12, ErrorCompMajorVersion =21, ErrorCompMinorVersion =22, ErrorOpenModule =31, ErrorNoEntryPoint =32 } |
typedef void * | Handle |
Static Public Member Functions inherited from strus::ModuleEntryPoint | |
static void | closeHandle (Handle &hnd) |
Structure that contains all analyzer module objects.
strus::AnalyzerModule::AnalyzerModule | ( | const DocumentClassDetectorConstructor & | documentClassDetectorConstructor_, |
const SegmenterConstructor & | segmenterConstructor_ | ||
) |
Analyzer module constructor.
[in] | DocumentClassDetectorConstructor_ | content detector definition |
[in] | segmenterConstructor_ | segmenter definition |
strus::AnalyzerModule::AnalyzerModule | ( | const SegmenterConstructor & | segmenterConstructor_ | ) |
Analyzer module constructor.
[in] | segmenterConstructor_ | segmenter definition |
strus::AnalyzerModule::AnalyzerModule | ( | const TokenizerConstructor * | tokenizerConstructors_, |
const NormalizerConstructor * | normalizerConstructors_, | ||
const AggregatorConstructor * | aggregatorConstructors_ | ||
) |
Analyzer module constructor without segmenter definition.
[in] | tokenizerConstructors_ | (0,0) terminated list of tokenizers or 0 |
[in] | normalizerConstructors_ | (0,0) terminated list of normalizers or 0 |
[in] | aggregatorConstructors_ | (0,0) terminated list of statistic functions or 0 |
strus::AnalyzerModule::AnalyzerModule | ( | const PatternLexerConstructor & | patternLexerConstructor_, |
const PatternMatcherConstructor & | patternMatcherConstructor_ | ||
) |
Analyzer module constructor for pattern matcher.
strus::AnalyzerModule::AnalyzerModule | ( | const PatternLexerConstructor & | patternLexerConstructor_, |
const PatternMatcherConstructor & | patternMatcherConstructor_, | ||
const char * | version_3rdparty, | ||
const char * | license_3rdparty | ||
) |
Analyzer module constructor for pattern matcher with 3rd party license info.
const AggregatorConstructor* strus::AnalyzerModule::aggregatorConstructors |
0 terminated list of aggregators
DocumentClassDetectorConstructor strus::AnalyzerModule::documentClassDetectorConstructor |
a content detector definition
const NormalizerConstructor* strus::AnalyzerModule::normalizerConstructors |
0 terminated list of normalizers
PatternLexerConstructor strus::AnalyzerModule::patternLexerConstructor |
a pattern lexer definition
PatternMatcherConstructor strus::AnalyzerModule::patternMatcherConstructor |
a pattern matcher definition
SegmenterConstructor strus::AnalyzerModule::segmenterConstructor |
a segmenter definition
const TokenizerConstructor* strus::AnalyzerModule::tokenizerConstructors |
0 terminated list of tokenizers