Interface for tokenization.
More...
#include <tokenizerFunctionInstanceInterface.hpp>
Interface for tokenization.
virtual strus::TokenizerFunctionInstanceInterface::~TokenizerFunctionInstanceInterface |
( |
| ) |
|
|
inlinevirtual |
virtual bool strus::TokenizerFunctionInstanceInterface::concatBeforeTokenize |
( |
| ) |
const |
|
pure virtual |
Flag defined by tokenizer indicating that different segments defined by the tag hierarchy should be concatenated before tokenization.
- Returns
- true, if the argument chunks should be passed as one concatenated string, else if no
virtual std::vector<analyzer::Token> strus::TokenizerFunctionInstanceInterface::tokenize |
( |
const char * |
src, |
|
|
std::size_t |
srcsize |
|
) |
| const |
|
pure virtual |
Tokenize a segment into a list of tokens.
- Parameters
-
[in] | src | pointer to segment to tokenize |
[in] | srcsize | size of the segment to tokenize in bytes |
Get the definition of the function as structure for introspection.
- Returns
- structure for introspection
The documentation for this class was generated from the following file: