21 #ifdef DISABLED_LEGACY_ENGINE 31 "Print blamer debug messages", params()),
34 "Try to set the blame for errors", params()) {
40 #else // DISABLED_LEGACY_ENGINE not defined 50 "Merge the fragments in the ratings matrix and delete them" 51 " after merging",
params()),
57 "force associator to run regardless of what enable_assoc is." 58 " This is used for CJK where component grouping is necessary.",
63 "Use information from fragments to guide chopping process",
95 "above which we don't care that a chop is not near the center.",
110 "include fixed-pitch heuristics in char segmentation",
113 "Debug level for wordrec",
params()),
115 "Max number of broken pieces to associate",
params()),
117 "Only run OCR for words that had truth recorded in BlamerBundle",
120 "Print blamer debug messages",
params()),
122 "Try to set the blame for errors",
params()),
124 "SegSearch debug level",
params()),
126 "Maximum number of pain points stored in the queue",
129 "Maximum number of pain point classifications per chunk that" 130 " did not result in finding a better word choice.",
133 "Maximum character width-to-height ratio",
params()),
135 "Save alternative paths found during chopping" 136 " and segmentation search",
147 #endif // DISABLED_LEGACY_ENGINE
std::unique_ptr< LanguageModel > language_model_
bool merge_fragments_in_matrix
bool wordrec_enable_assoc
int segsearch_max_pain_points
int segsearch_max_futile_classifications
int chop_min_outline_area
void(Wordrec::* fill_lattice_)(const MATRIX &ratings, const WERD_CHOICE_LIST &best_choices, const UNICHARSET &unicharset, BlamerBundle *blamer_bundle)
#define double_MEMBER(name, val, comment, vec)
WERD_CHOICE * prev_word_best_choice_
double chop_split_dist_knob
bool assume_fixed_pitch_char_segment
#define BOOL_MEMBER(name, val, comment, vec)
double chop_sharpness_knob
int chop_min_outline_points
bool fragments_guide_chopper
#define INT_MEMBER(name, val, comment, vec)
double tessedit_certainty_threshold
int chop_centered_maxwidth
int wordrec_max_join_chunks
UnicityTable< FontInfo > & get_fontinfo_table()
double segsearch_max_char_wh_ratio
int repair_unchopped_blobs
bool wordrec_debug_blamer
bool wordrec_skip_no_truth_words
int segsearch_debug_level
double wordrec_worst_state
double chop_width_change_knob