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()),
52 BOOL_MEMBER(wordrec_enable_assoc, true,
"Associator Enable",
55 "force associator to run regardless of what enable_assoc is."
56 " This is used for CJK where component grouping is necessary.",
58 INT_MEMBER(repair_unchopped_blobs, 1,
"Fix blobs that aren't chopped",
60 double_MEMBER(tessedit_certainty_threshold, -2.25,
"Good blob limit",
66 BOOL_MEMBER(chop_vertical_creep, 0,
"Vertical creep",
68 INT_MEMBER(chop_split_length, 10000,
"Split Length",
70 INT_MEMBER(chop_same_distance, 2,
"Same distance",
72 INT_MEMBER(chop_min_outline_points, 6,
"Min Number of Points on Outline",
74 INT_MEMBER(chop_seam_pile_size, 150,
"Max number of seams in seam_pile",
76 BOOL_MEMBER(chop_new_seam_pile, 1,
"Use new seam_pile", params()),
77 INT_MEMBER(chop_inside_angle, -50,
"Min Inside Angle Bend",
79 INT_MEMBER(chop_min_outline_area, 2000,
"Min Outline Area",
81 double_MEMBER(chop_split_dist_knob, 0.5,
"Split length adjustment",
83 double_MEMBER(chop_overlap_knob, 0.9,
"Split overlap adjustment",
85 double_MEMBER(chop_center_knob, 0.15,
"Split center adjustment",
87 INT_MEMBER(chop_centered_maxwidth, 90,
"Width of (smaller) chopped blobs "
88 "above which we don't care that a chop is not near the center.",
90 double_MEMBER(chop_sharpness_knob, 0.06,
"Split sharpness adjustment",
92 double_MEMBER(chop_width_change_knob, 5.0,
"Width change adjustment",
98 INT_MEMBER(chop_x_y_weight, 3,
"X / Y length weight",
100 BOOL_MEMBER(assume_fixed_pitch_char_segment, false,
101 "include fixed-pitch heuristics in char segmentation",
104 "Debug level for wordrec", params()),
106 "Max number of broken pieces to associate", params()),
108 "Only run OCR for words that had truth recorded in BlamerBundle",
111 "Print blamer debug messages", params()),
113 "Try to set the blame for errors", params()),
115 "SegSearch debug level", params()),
117 "Maximum number of pain points stored in the queue",
119 INT_MEMBER(segsearch_max_futile_classifications, 20,
120 "Maximum number of pain point classifications per chunk that"
121 " did not result in finding a better word choice.",
124 "Maximum character width-to-height ratio", params()),
126 "Save alternative paths found during chopping"
127 " and segmentation search",
129 pass2_ok_split(0.0f) {
138 #endif // DISABLED_LEGACY_ENGINE