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