85 float cert,
int width) {
86 return static_cast<float>(width) * cert / rating_cert_scale;
103 int parent_path_length,
105 float max_char_wh_ratio,
112 bool end_pos,
float max_char_wh_ratio);
117 return (norm_gap < 0.05 && !end_pos) ? 5.0f : 0.0f;
static void ComputeStats(int col, int row, const AssociateStats *parent_stats, int parent_path_length, bool fixed_pitch, float max_char_wh_ratio, WERD_RES *word_res, bool debug, AssociateStats *stats)
float full_wh_ratio_total
static float ComputeRating(float rating_cert_scale, float cert, int width)
bool bad_fixed_pitch_wh_ratio
static float FixedPitchGapCost(float norm_gap, bool end_pos)
static const float kMaxFixedPitchCharAspectRatio
DLLSYM void tprintf(const char *format,...)
bool bad_fixed_pitch_right_gap
static float FixedPitchWidthCost(float norm_width, float right_gap, bool end_pos, float max_char_wh_ratio)
static float ComputeOutlineLength(float rating_cert_scale, const BLOB_CHOICE &b)
static const float kMinGap