mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-23 18:49:08 +08:00
Remove unused config variable tessedit_single_match
Replace also TRUE, FALSE by true, false. Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
parent
ca2947a2c0
commit
7db25e15c0
@ -60,10 +60,8 @@ namespace tesseract {
|
||||
Classify::Classify()
|
||||
: BOOL_MEMBER(allow_blob_division, true, "Use divisible blobs chopping",
|
||||
this->params()),
|
||||
BOOL_MEMBER(prioritize_division, FALSE,
|
||||
BOOL_MEMBER(prioritize_division, false,
|
||||
"Prioritize blob division over chopping", this->params()),
|
||||
INT_MEMBER(tessedit_single_match, FALSE, "Top choice only from CP",
|
||||
this->params()),
|
||||
BOOL_MEMBER(classify_enable_learning, true, "Enable adaptive classifier",
|
||||
this->params()),
|
||||
INT_MEMBER(classify_debug_level, 0, "Classify debug level",
|
||||
@ -149,7 +147,7 @@ Classify::Classify()
|
||||
INT_MEMBER(classify_adapt_feature_threshold, 230,
|
||||
"Threshold for good features during adaptive 0-255",
|
||||
this->params()),
|
||||
BOOL_MEMBER(disable_character_fragments, TRUE,
|
||||
BOOL_MEMBER(disable_character_fragments, true,
|
||||
"Do not include character fragments in the"
|
||||
" results of the classifier",
|
||||
this->params()),
|
||||
@ -158,10 +156,10 @@ Classify::Classify()
|
||||
"Exclude fragments that do not look like whole"
|
||||
" characters from training and adaption",
|
||||
this->params()),
|
||||
BOOL_MEMBER(classify_debug_character_fragments, FALSE,
|
||||
BOOL_MEMBER(classify_debug_character_fragments, false,
|
||||
"Bring up graphical debugging windows for fragments training",
|
||||
this->params()),
|
||||
BOOL_MEMBER(matcher_debug_separate_windows, FALSE,
|
||||
BOOL_MEMBER(matcher_debug_separate_windows, false,
|
||||
"Use two different windows for debugging the matching: "
|
||||
"One for the protos and one for the features.",
|
||||
this->params()),
|
||||
|
@ -424,9 +424,8 @@ class Classify : public CCStruct {
|
||||
// Set during training (in lang.config) to indicate whether the divisible
|
||||
// blobs chopper should be used in preference to chopping. Set to true for
|
||||
// southern Indic scripts.
|
||||
BOOL_VAR_H(prioritize_division, FALSE,
|
||||
BOOL_VAR_H(prioritize_division, false,
|
||||
"Prioritize blob division over chopping");
|
||||
INT_VAR_H(tessedit_single_match, FALSE, "Top choice only from CP");
|
||||
BOOL_VAR_H(classify_enable_learning, true, "Enable adaptive classifier");
|
||||
INT_VAR_H(classify_debug_level, 0, "Classify debug level");
|
||||
|
||||
@ -486,15 +485,15 @@ class Classify : public CCStruct {
|
||||
"Threshold for good protos during adaptive 0-255");
|
||||
INT_VAR_H(classify_adapt_feature_threshold, 230,
|
||||
"Threshold for good features during adaptive 0-255");
|
||||
BOOL_VAR_H(disable_character_fragments, TRUE,
|
||||
BOOL_VAR_H(disable_character_fragments, true,
|
||||
"Do not include character fragments in the"
|
||||
" results of the classifier");
|
||||
double_VAR_H(classify_character_fragments_garbage_certainty_threshold, -3.0,
|
||||
"Exclude fragments that do not match any whole character"
|
||||
" with at least this certainty");
|
||||
BOOL_VAR_H(classify_debug_character_fragments, FALSE,
|
||||
BOOL_VAR_H(classify_debug_character_fragments, false,
|
||||
"Bring up graphical debugging windows for fragments training");
|
||||
BOOL_VAR_H(matcher_debug_separate_windows, FALSE,
|
||||
BOOL_VAR_H(matcher_debug_separate_windows, false,
|
||||
"Use two different windows for debugging the matching: "
|
||||
"One for the protos and one for the features.");
|
||||
STRING_VAR_H(classify_learn_debug_str, "", "Class str to debug learning");
|
||||
|
@ -1,7 +1,6 @@
|
||||
disable_character_fragments T
|
||||
file_type .bl
|
||||
textord_fast_pitch_test T
|
||||
tessedit_single_match 0
|
||||
tessedit_zero_rejection T
|
||||
tessedit_minimal_rejection F
|
||||
tessedit_write_rep_codes F
|
||||
|
@ -1,7 +1,6 @@
|
||||
file_type .bl
|
||||
#tessedit_use_nn F
|
||||
textord_fast_pitch_test T
|
||||
tessedit_single_match 0
|
||||
tessedit_zero_rejection T
|
||||
tessedit_minimal_rejection F
|
||||
tessedit_write_rep_codes F
|
||||
|
@ -1,7 +1,6 @@
|
||||
disable_character_fragments T
|
||||
file_type .bl
|
||||
textord_fast_pitch_test T
|
||||
tessedit_single_match 0
|
||||
tessedit_zero_rejection T
|
||||
tessedit_minimal_rejection F
|
||||
tessedit_write_rep_codes F
|
||||
|
Loading…
Reference in New Issue
Block a user