10 #ifndef _STRUS_ANALYZER_PATTERN_TERM_FEEDER_INSTANCE_INTERFACE_HPP_INCLUDED
11 #define _STRUS_ANALYZER_PATTERN_TERM_FEEDER_INSTANCE_INTERFACE_HPP_INCLUDED
33 const std::string& type)=0;
42 const std::string& name)=0;
48 const std::string& type)
const=0;
52 virtual std::vector<std::string>
lexemTypes()
const=0;
61 const std::string& name)
const=0;
virtual std::vector< std::string > lexemTypes() const =0
Get the list of lexem types defined.
Instance interface for defining a mapping of terms of the document analysis outout as lexems used as ...
Definition: patternTermFeederInstanceInterface.hpp:20
virtual analyzer::FunctionView view() const =0
Get the definition of the function as structure for introspection.
virtual unsigned int getLexem(const std::string &type) const =0
Get the value of a defined lexem by type.
virtual ~PatternTermFeederInstanceInterface()
Destructor.
Definition: patternTermFeederInstanceInterface.hpp:24
Structure describing the internal representation of a normalizer/tokenizer/aggregator function in the...
Structure describing the internal representation of a normalizer/tokenizer/aggregator function in the...
Definition: functionView.hpp:29
virtual void defineSymbol(unsigned int id, unsigned int lexemid, const std::string &name)=0
Define a symbol, an instance of a basic lexem, that gets a different id than the basic lexem...
Structure desribing a result of a token pattern matcher.
virtual unsigned int getSymbol(unsigned int lexemid, const std::string &name) const =0
Get the identifier of a defined symbol.
virtual void defineLexem(unsigned int id, const std::string &type)=0
Define a term type.
Structure describing a token with id (an output item of char regex matching and an input item for tok...