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

Structure describing the internal representation of a feature in the document analyzer. More...

#include <featureView.hpp>

Public Member Functions

 FeatureView ()
 Default constructor. More...
 
 FeatureView (const FeatureView &o)
 Copy constructor. More...
 
 FeatureView (const std::string &type_, const std::string &selectexpr_, const FunctionView &tokenizer_, const std::vector< FunctionView > &normalizer_, const FeatureOptions &options_, int priority_)
 Constructor. More...
 
const std::string & type () const
 Get the type. More...
 
const std::string & selectexpr () const
 Get the segmenter selection expression. More...
 
const FunctionViewtokenizer () const
 Get the tokenizer. More...
 
const std::vector< FunctionView > & normalizer () const
 Get the list of normalizers. More...
 
const FeatureOptionsoptions () const
 Get the options. More...
 
int priority () const
 Get the priority of the feature. More...
 
const char * posbindOption () const
 Get position bind option. More...
 

Detailed Description

Structure describing the internal representation of a feature in the document analyzer.

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

Constructor & Destructor Documentation

strus::analyzer::FeatureView::FeatureView ( )
inline

Default constructor.

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

Copy constructor.

strus::analyzer::FeatureView::FeatureView ( const std::string &  type_,
const std::string &  selectexpr_,
const FunctionView tokenizer_,
const std::vector< FunctionView > &  normalizer_,
const FeatureOptions options_,
int  priority_ 
)
inline

Constructor.

Constructor

Parameters
[in]type_name of the function
[in]selectexpr_the segmenter selection expression
[in]tokenizer_view of tokenizer
[in]normalizer_list of views of normalizers
[in]options_set of feature options (e.g. how to build positions)

Member Function Documentation

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

Get the list of normalizers.

const FeatureOptions& strus::analyzer::FeatureView::options ( ) const
inline

Get the options.

const char* strus::analyzer::FeatureView::posbindOption ( ) const
inline

Get position bind option.

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

Get the priority of the feature.

const std::string& strus::analyzer::FeatureView::selectexpr ( ) const
inline

Get the segmenter selection expression.

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

Get the tokenizer.

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

Get the type.


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