
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 () |
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 28 of file StringPreProc.h.
| CStringPreProc< ST >::CStringPreProc | ( | const char * | name, | |
| const char * | id | |||
| ) |
constructor
| name | string preprocessor's name | |
| id | string preprocessor's id |
Definition at line 36 of file StringPreProc.h.
| virtual ST* CStringPreProc< ST >::apply_to_string | ( | ST * | f, | |
| int32_t & | len | |||
| ) | [pure virtual] |
| virtual bool CStringPreProc< ST >::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 CSortUlongString, and CSortWordString.
| virtual EFeatureClass CStringPreProc< ST >::get_feature_class | ( | ) | [virtual] |
return that we are string features (just fixed size matrices)
Implements CPreProc.
Definition at line 47 of file StringPreProc.h.
| EFeatureType CStringPreProc< char >::get_feature_type | ( | ) | [virtual] |
return feature type with which objects derived from CPreProc can deal
Implements CPreProc.
Definition at line 67 of file StringPreProc.h.
| EFeatureType CStringPreProc< uint8_t >::get_feature_type | ( | ) | [virtual] |
return feature type with which objects derived from CPreProc can deal
Implements CPreProc.
Definition at line 62 of file StringPreProc.h.
| virtual EFeatureType CStringPreProc< ST >::get_feature_type | ( | ) | [virtual] |