21 #ifndef TESSERACT_WORDREC_LM_CONSISTENCY_H_ 22 #define TESSERACT_WORDREC_LM_CONSISTENCY_H_ 31 static const char *
const XHeightConsistencyEnumName[] = {
54 if (parent_info == NULL) {
70 for (
int i = 0; i <
kNumPos; i++) {
142 #endif // TESSERACT_WORDREC_LM_CONSISTENCY_H_ int num_inconsistent_spaces
float BodyMinXHeight() const
static const int kShiftThresh
void ComputeXheightConsistency(const BLOB_CHOICE *b, bool is_punc)
float BodyMaxXHeight() const
int NumInconsistentCase() const
static const int kMaxEntropy
XHeightConsistencyEnum xht_decision
inT16 xht_count_punc[kNumPos]
int InconsistentXHeight() const
LMConsistencyInfo(const LMConsistencyInfo *parent_info)
int NumInconsistentSpaces() const
int NumInconsistentPunc() const
int NumInconsistentChartype() const