@@ -192,16 +192,16 @@ ELISTIZEH(FRAGMENT)
192
192
class Wordrec : public Classify {
193
193
public:
194
194
// config parameters *******************************************************
195
- BOOL_VAR_H (merge_fragments_in_matrix, TRUE ,
195
+ BOOL_VAR_H (merge_fragments_in_matrix, true ,
196
196
" Merge the fragments in the ratings matrix and delete them "
197
197
" after merging" );
198
- BOOL_VAR_H (wordrec_no_block, FALSE , " Don't output block information" );
199
- BOOL_VAR_H (wordrec_enable_assoc, TRUE , " Associator Enable" );
200
- BOOL_VAR_H (force_word_assoc, FALSE ,
198
+ BOOL_VAR_H (wordrec_no_block, false , " Don't output block information" );
199
+ BOOL_VAR_H (wordrec_enable_assoc, true , " Associator Enable" );
200
+ BOOL_VAR_H (force_word_assoc, false ,
201
201
" force associator to run regardless of what enable_assoc is."
202
202
" This is used for CJK where component grouping is necessary." );
203
203
double_VAR_H (wordrec_worst_state, 1 , " Worst segmentation state" );
204
- BOOL_VAR_H (fragments_guide_chopper, FALSE ,
204
+ BOOL_VAR_H (fragments_guide_chopper, false ,
205
205
" Use information from fragments to guide chopping process" );
206
206
INT_VAR_H (repair_unchopped_blobs, 1 , " Fix blobs that aren't chopped" );
207
207
double_VAR_H (tessedit_certainty_threshold, -2.25 , " Good blob limit" );
@@ -226,7 +226,7 @@ class Wordrec : public Classify {
226
226
double_VAR_H (chop_good_split, 50.0 , " Good split limit" );
227
227
INT_VAR_H (chop_x_y_weight, 3 , " X / Y length weight" );
228
228
INT_VAR_H (segment_adjust_debug, 0 , " Segmentation adjustment debug" );
229
- BOOL_VAR_H (assume_fixed_pitch_char_segment, FALSE ,
229
+ BOOL_VAR_H (assume_fixed_pitch_char_segment, false ,
230
230
" include fixed-pitch heuristics in char segmentation" );
231
231
INT_VAR_H (wordrec_debug_level, 0 , " Debug level for wordrec" );
232
232
INT_VAR_H (wordrec_max_join_chunks, 4 ,
0 commit comments