Go to the documentation of this file.
16 #ifndef THIRD_PARTY_TESSERACT_CLASSIFY_ERRORCOUNTER_H_
17 #define THIRD_PARTY_TESSERACT_CLASSIFY_ERRORCOUNTER_H_
29 class ShapeClassifier;
121 double* unichar_error,
122 double* scaled_error,
137 ErrorCounter(
int charsetsize,
int shapesize,
int fontsize);
147 bool AccumulateErrors(
bool debug,
CountTypes boosting_mode,
155 void AccumulateJunk(
const ShapeTable& shape_table,
171 double ReportErrors(
int report_level,
CountTypes boosting_mode,
174 double* unichar_error,
180 static bool ReportString(
const Counts& counts,
STRING* report);
184 static bool ComputeRates(
const Counts& counts,
double rates[
CT_SIZE]);
188 double scaled_error_;