Structure describing the internal representation of a feature in the document analyzer.
More...
#include <featureView.hpp>
Structure describing the internal representation of a feature in the document analyzer.
- Note
- The internal representation may not be suitable for reconstructing the object
strus::analyzer::FeatureView::FeatureView |
( |
| ) |
|
|
inline |
strus::analyzer::FeatureView::FeatureView |
( |
const FeatureView & |
o | ) |
|
|
inline |
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) |
const std::vector<FunctionView>& strus::analyzer::FeatureView::normalizer |
( |
| ) |
const |
|
inline |
Get the list of normalizers.
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 |
const std::string& strus::analyzer::FeatureView::type |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file:
- /home/patrick/Projects/github/strusAnalyzer/include/strus/analyzer/featureView.hpp