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

Interface for a parameterized normalization function. More...

#include <normalizerFunctionInstanceInterface.hpp>

Public Member Functions

virtual ~NormalizerFunctionInstanceInterface ()
 Destructor. More...
 
virtual std::string normalize (const char *src, std::size_t srcsize) const =0
 Normalization of a token. More...
 
virtual analyzer::FunctionView view () const =0
 Get the definition of the function as structure for introspection. More...
 

Detailed Description

Interface for a parameterized normalization function.

Constructor & Destructor Documentation

virtual strus::NormalizerFunctionInstanceInterface::~NormalizerFunctionInstanceInterface ( )
inlinevirtual

Destructor.

Member Function Documentation

virtual std::string strus::NormalizerFunctionInstanceInterface::normalize ( const char *  src,
std::size_t  srcsize 
) const
pure virtual

Normalization of a token.

Parameters
[in]srcstart of the token to normalize
[in]srcsizesize of the token in bytes
Returns
list of normalized tokens
virtual analyzer::FunctionView strus::NormalizerFunctionInstanceInterface::view ( ) const
pure virtual

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: