Template class StringPreProc, base class for preprocessors (cf. CPreProc) that apply to CStringFeatures (i.e. strings of variable length).
Two new functions apply_to_string() and apply_to_string_features() are defined in this interface that need to be implemented in each particular preprocessor operating on CStringFeatures.
Definition at line 30 of file StringPreProc.h.
Public Member Functions | |
CStringPreProc (const char *name, const char *id) | |
virtual bool | apply_to_string_features (CFeatures *f)=0 |
virtual ST * | apply_to_string (ST *f, int32_t &len)=0 |
apply preproc on single feature vector | |
virtual EFeatureClass | get_feature_class () |
return that we are string features (just fixed size matrices) | |
virtual EFeatureType | get_feature_type () |
return feature type | |
template<> | |
EFeatureType | get_feature_type () |
template<> | |
EFeatureType | get_feature_type () |
template<> | |
EFeatureType | get_feature_type () |
template<> | |
EFeatureType | get_feature_type () |
template<> | |
EFeatureType | get_feature_type () |
template<> | |
EFeatureType | get_feature_type () |
template<> | |
EFeatureType | get_feature_type () |
template<> | |
EFeatureType | get_feature_type () |
template<> | |
EFeatureType | get_feature_type () |
template<> | |
EFeatureType | get_feature_type () |
template<> | |
EFeatureType | get_feature_type () |
template<> | |
EFeatureType | get_feature_type () |
template<> | |
EFeatureType | get_feature_type () |
CStringPreProc | ( | const char * | name, | |
const char * | id | |||
) |
constructor
name | string preprocessor's name | |
id | string preprocessor's id |
Definition at line 38 of file StringPreProc.h.
virtual ST* apply_to_string | ( | ST * | f, | |
int32_t & | len | |||
) | [pure virtual] |
apply preproc on single feature vector
Implemented in CDecompressString< ST >, CSortUlongString, and CSortWordString.
virtual bool apply_to_string_features | ( | CFeatures * | f | ) | [pure virtual] |
apply preproc on feature matrix result in feature matrix return pointer to feature_matrix, i.e. f->get_feature_matrix();
Implemented in CDecompressString< ST >, CSortUlongString, and CSortWordString.
virtual EFeatureClass get_feature_class | ( | ) | [virtual] |
return that we are string features (just fixed size matrices)
Implements CPreProc.
Definition at line 49 of file StringPreProc.h.
EFeatureType get_feature_type | ( | ) | [virtual] |
return feature type with which objects derived from CPreProc can deal
Implements CPreProc.
Definition at line 104 of file StringPreProc.h.
EFeatureType get_feature_type | ( | ) | [virtual] |
return feature type with which objects derived from CPreProc can deal
Implements CPreProc.
Definition at line 99 of file StringPreProc.h.
EFeatureType get_feature_type | ( | ) | [virtual] |
return feature type with which objects derived from CPreProc can deal
Implements CPreProc.
Definition at line 94 of file StringPreProc.h.
EFeatureType get_feature_type | ( | ) | [virtual] |
return feature type with which objects derived from CPreProc can deal
Implements CPreProc.
Definition at line 89 of file StringPreProc.h.
EFeatureType get_feature_type | ( | ) | [virtual] |
return feature type with which objects derived from CPreProc can deal
Implements CPreProc.
Definition at line 84 of file StringPreProc.h.
EFeatureType get_feature_type | ( | ) | [virtual] |
return feature type with which objects derived from CPreProc can deal
Implements CPreProc.
Definition at line 79 of file StringPreProc.h.
EFeatureType get_feature_type | ( | ) | [virtual] |
return feature type with which objects derived from CPreProc can deal
Implements CPreProc.
Definition at line 74 of file StringPreProc.h.
EFeatureType get_feature_type | ( | ) | [virtual] |
return feature type with which objects derived from CPreProc can deal
Implements CPreProc.
Definition at line 69 of file StringPreProc.h.
EFeatureType get_feature_type | ( | ) | [virtual] |
return feature type with which objects derived from CPreProc can deal
Implements CPreProc.
Definition at line 64 of file StringPreProc.h.
EFeatureType get_feature_type | ( | ) | [virtual] |
return feature type with which objects derived from CPreProc can deal
Implements CPreProc.
Definition at line 59 of file StringPreProc.h.
EFeatureType get_feature_type | ( | ) | [virtual] |
return feature type with which objects derived from CPreProc can deal
Implements CPreProc.
Definition at line 54 of file StringPreProc.h.
virtual EFeatureType get_feature_type | ( | ) | [virtual] |
return feature type
Implements CPreProc.
EFeatureType get_feature_type | ( | ) | [virtual] |
return feature type with which objects derived from CPreProc can deal
Implements CPreProc.
Definition at line 109 of file StringPreProc.h.
EFeatureType get_feature_type | ( | ) | [virtual] |
return feature type with which objects derived from CPreProc can deal
Implements CPreProc.
Definition at line 114 of file StringPreProc.h.