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_
static const int kMaxEntropy
LMConsistencyInfo(const LMConsistencyInfo *parent_info)
int NumInconsistentPunc() const
inT16 xht_count_punc[kNumPos]
static const int kShiftThresh
void ComputeXheightConsistency(const BLOB_CHOICE *b, bool is_punc)
int InconsistentXHeight() const
int NumInconsistentChartype() const
float BodyMinXHeight() const
int NumInconsistentSpaces() const
int num_inconsistent_spaces
XHeightConsistencyEnum xht_decision
float BodyMaxXHeight() const
int NumInconsistentCase() const