20 #ifndef TESSERACT_WORDREC_PARAMS_TRAINING_FEATDEF_H_ 21 #define TESSERACT_WORDREC_PARAMS_TRAINING_FEATDEF_H_ 23 #include "genericvector.h" 74 "PTRAIN_DIGITS_SHORT",
89 "PTRAIN_SHAPE_COST_PER_CHAR",
90 "PTRAIN_NGRAM_COST_PER_CHAR",
91 "PTRAIN_NUM_BAD_PUNC",
92 "PTRAIN_NUM_BAD_CASE",
93 "PTRAIN_XHEIGHT_CONSISTENCY",
94 "PTRAIN_NUM_BAD_CHAR_TYPE",
95 "PTRAIN_NUM_BAD_SPACING",
96 "PTRAIN_NUM_BAD_FONT",
97 "PTRAIN_RATING_PER_CHAR",
144 if (hyp_list_vec.empty()) StartHypothesisList();
146 return hyp_list_vec.back().back();
154 #endif // TESSERACT_WORDREC_PARAMS_TRAINING_FEATDEF_H_ Definition: params_training_featdef.h:106
Definition: params_training_featdef.h:49
Definition: params_training_featdef.h:43
Definition: params_training_featdef.h:42
Definition: params_training_featdef.h:57
float cost
Definition: params_training_featdef.h:123
GenericVector< ParamsTrainingHypothesis > ParamsTrainingHypothesisList
Definition: params_training_featdef.h:127
Definition: params_training_featdef.h:58
Definition: params_training_featdef.h:47
Definition: params_training_featdef.h:46
Definition: params_training_featdef.h:59
Definition: params_training_featdef.h:62
Definition: params_training_featdef.h:132
Definition: params_training_featdef.h:67
Definition: params_training_featdef.h:41
Definition: params_training_featdef.h:64
Definition: baseapi.cpp:94
Definition: params_training_featdef.h:54
Definition: params_training_featdef.h:68
STRING str
Definition: params_training_featdef.h:122
static const char *const kParamsTrainingFeatureTypeName[]
Definition: params_training_featdef.h:73
ParamsTrainingHypothesis & AddHypothesis(const ParamsTrainingHypothesis &other)
Definition: params_training_featdef.h:142
Definition: params_training_featdef.h:53
ParamsTrainingHypothesis()
Definition: params_training_featdef.h:107
Definition: params_training_featdef.h:65
Definition: params_training_featdef.h:51
ParamsTrainingHypothesis & operator=(const ParamsTrainingHypothesis &other)
Definition: params_training_featdef.h:115
Definition: params_training_featdef.h:55
float features[PTRAIN_NUM_FEATURE_TYPES]
Definition: params_training_featdef.h:121
Definition: params_training_featdef.h:66
Definition: params_training_featdef.h:70
ParamsTrainingHypothesis(const ParamsTrainingHypothesis &other)
Definition: params_training_featdef.h:110
kParamsTrainingFeatureType
Definition: params_training_featdef.h:39
GenericVector< ParamsTrainingHypothesisList > hyp_list_vec
Definition: params_training_featdef.h:149
int ParamsTrainingFeatureByName(const char *name)
Definition: params_training_featdef.cpp:26
Definition: params_training_featdef.h:45
Definition: params_training_featdef.h:60
static const int kMaxSmallWordUnichars
Definition: params_training_featdef.h:29
static const int kMaxMediumWordUnichars
Definition: params_training_featdef.h:30
void StartHypothesisList()
Definition: params_training_featdef.h:137
Definition: params_training_featdef.h:50
Definition: params_training_featdef.h:61
Definition: params_training_featdef.h:63