strusAnalyzer  0.17
Public Member Functions | List of all members
strus::analyzer::ContentStatisticsElementView Class Reference

Structure describing the internal representation of a content statistics library element. More...

#include <contentStatisticsElementView.hpp>

Public Member Functions

 ContentStatisticsElementView ()
 Default constructor. More...
 
 ContentStatisticsElementView (const ContentStatisticsElementView &o)
 Copy constructor. More...
 
 ContentStatisticsElementView (const std::string &type_, const std::string &regex_, int priority_, int minLen_, int maxLen_, const FunctionView &tokenizer_, const std::vector< FunctionView > &normalizer_)
 Constructor. More...
 
const std::string & type () const
 Get the type. More...
 
const std::string & regex () const
 Get the segmenter selection expression. More...
 
int priority () const
 Get the priority. More...
 
int minLen () const
 Get the priority. More...
 
int maxLen () const
 Get the priority. More...
 
const FunctionViewtokenizer () const
 Get the tokenizer. More...
 
const std::vector< FunctionView > & normalizer () const
 Get the list of normalizers. More...
 

Detailed Description

Structure describing the internal representation of a content statistics library element.

Note
The internal representation may not be suitable for reconstructing the object

Constructor & Destructor Documentation

strus::analyzer::ContentStatisticsElementView::ContentStatisticsElementView ( )
inline

Default constructor.

strus::analyzer::ContentStatisticsElementView::ContentStatisticsElementView ( const ContentStatisticsElementView o)
inline

Copy constructor.

strus::analyzer::ContentStatisticsElementView::ContentStatisticsElementView ( const std::string &  type_,
const std::string &  regex_,
int  priority_,
int  minLen_,
int  maxLen_,
const FunctionView tokenizer_,
const std::vector< FunctionView > &  normalizer_ 
)
inline

Constructor.

Constructor

Parameters
[in]type_name of the function
[in]regex_the segmenter selection expression
[in]tokenizer_view of tokenizer
[in]normalizer_list of views of normalizers

Member Function Documentation

int strus::analyzer::ContentStatisticsElementView::maxLen ( ) const
inline

Get the priority.

int strus::analyzer::ContentStatisticsElementView::minLen ( ) const
inline

Get the priority.

const std::vector<FunctionView>& strus::analyzer::ContentStatisticsElementView::normalizer ( ) const
inline

Get the list of normalizers.

int strus::analyzer::ContentStatisticsElementView::priority ( ) const
inline

Get the priority.

const std::string& strus::analyzer::ContentStatisticsElementView::regex ( ) const
inline

Get the segmenter selection expression.

const FunctionView& strus::analyzer::ContentStatisticsElementView::tokenizer ( ) const
inline

Get the tokenizer.

const std::string& strus::analyzer::ContentStatisticsElementView::type ( ) const
inline

Get the type.


The documentation for this class was generated from the following file: