Interface for detecting lexems used as basic entities by pattern matching in text.
More...
#include <patternLexerContextInterface.hpp>
Interface for detecting lexems used as basic entities by pattern matching in text.
virtual strus::PatternLexerContextInterface::~PatternLexerContextInterface |
( |
| ) |
|
|
inlinevirtual |
virtual std::vector<analyzer::PatternLexem> strus::PatternLexerContextInterface::match |
( |
const char * |
src, |
|
|
std::size_t |
srclen |
|
) |
| |
|
pure virtual |
Do process a document source string to return a list of labeled terms (lexems) found that matched.
- Parameters
-
[in] | src | pointer to source of the tokens to match against |
[in] | srclen | length of src to scan in bytes |
- Returns
- list of matched lexems
virtual void strus::PatternLexerContextInterface::reset |
( |
| ) |
|
|
pure virtual |
Reset the pattern lexer context for a reuse within another document or query.
The documentation for this class was generated from the following file: