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