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