
Definition at line 22 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, INT &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 () |
| virtual bool | init (CFeatures *f)=0 |
| initialize preprocessor from features | |
| virtual bool | load_init_data (FILE *src)=0 |
| initialize preprocessor from file | |
| virtual bool | save_init_data (FILE *dst)=0 |
| save init-data (like transforamtion matrices etc) to file | |
| virtual void | cleanup ()=0 |
| cleanup | |
| const CHAR * | get_name () const |
| return the name of the preprocessor | |
| const CHAR * | get_id () const |
| return a FOUR letter id of the preprocessor | |
Static Public Attributes | |
| static CParallel | parallel |
| static CIO | io |
| static CVersion | version |
Protected Attributes | |
| const CHAR * | preproc_name |
| const CHAR * | preproc_id |
| CStringPreProc< ST >::CStringPreProc | ( | const CHAR * | name, | |
| const CHAR * | id | |||
| ) |
constructor
| name | string preprocessor's name | |
| id | string preprocessor's id |
Definition at line 30 of file StringPreProc.h.
| 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 ST* CStringPreProc< ST >::apply_to_string | ( | ST * | f, | |
| INT & | len | |||
| ) | [pure virtual] |
apply preproc on single feature vector
| virtual EFeatureClass CStringPreProc< ST >::get_feature_class | ( | ) | [virtual] |
return that we are string features (just fixed size matrices)
Implements CPreProc.
Definition at line 41 of file StringPreProc.h.
| virtual EFeatureType CStringPreProc< ST >::get_feature_type | ( | ) | [virtual] |
| EFeatureType CStringPreProc< ULONG >::get_feature_type | ( | ) | [virtual] |
return feature type with which objects derived from CPreProc can deal
Implements CPreProc.
Definition at line 46 of file StringPreProc.h.
| EFeatureType CStringPreProc< WORD >::get_feature_type | ( | ) | [virtual] |
return feature type with which objects derived from CPreProc can deal
Implements CPreProc.
Definition at line 51 of file StringPreProc.h.
| EFeatureType CStringPreProc< BYTE >::get_feature_type | ( | ) | [virtual] |
return feature type with which objects derived from CPreProc can deal
Implements CPreProc.
Definition at line 56 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 61 of file StringPreProc.h.
| virtual bool CPreProc::init | ( | CFeatures * | f | ) | [pure virtual, inherited] |
initialize preprocessor from features
Implemented in CLogPlusOne, CNormDerivativeLem3, CNormOne, CPruneVarSubMean, CSortUlongString, CSortWord, and CSortWordString.
| virtual bool CPreProc::load_init_data | ( | FILE * | src | ) | [pure virtual, inherited] |
initialize preprocessor from file
Implemented in CLogPlusOne, CNormOne, CPruneVarSubMean, CSortUlongString, CSortWord, and CSortWordString.
| virtual bool CPreProc::save_init_data | ( | FILE * | dst | ) | [pure virtual, inherited] |
save init-data (like transforamtion matrices etc) to file
Implemented in CLogPlusOne, CNormOne, CPruneVarSubMean, CSortUlongString, CSortWord, and CSortWordString.
| virtual void CPreProc::cleanup | ( | ) | [pure virtual, inherited] |
cleanup
Implemented in CLogPlusOne, CNormDerivativeLem3, CNormOne, CPruneVarSubMean, CSortUlongString, CSortWord, and CSortWordString.
| const CHAR* CPreProc::get_name | ( | ) | const [inherited] |
| const CHAR* CPreProc::get_id | ( | ) | const [inherited] |
const CHAR* CPreProc::preproc_name [protected, inherited] |
const CHAR* CPreProc::preproc_id [protected, inherited] |
CParallel CSGObject::parallel [static, inherited] |
Definition at line 105 of file SGObject.h.
CIO CSGObject::io [static, inherited] |
Definition at line 106 of file SGObject.h.
CVersion CSGObject::version [static, inherited] |
Definition at line 107 of file SGObject.h.