File tree 2 files changed +4
-12
lines changed
2 files changed +4
-12
lines changed Original file line number Diff line number Diff line change 15
15
namespace tesseract {
16
16
CCUtil::CCUtil () :
17
17
params_ (),
18
- #ifdef _WIN32
19
- STRING_INIT_MEMBER (tessedit_module_name, WINDLLNAME,
20
- " Module colocated with tessdata dir" , ¶ms_),
21
- #endif
22
18
INT_INIT_MEMBER (ambigs_debug_level, 0 , " Debug level for unichar ambiguities" ,
23
19
¶ms_),
24
- BOOL_MEMBER (use_definite_ambigs_for_classifier, 0 , " Use definite"
20
+ BOOL_MEMBER (use_definite_ambigs_for_classifier, false , " Use definite"
25
21
" ambiguities when running character classifier" , ¶ms_),
26
- BOOL_MEMBER (use_ambigs_for_adaption, 0 , " Use ambigs for deciding"
22
+ BOOL_MEMBER (use_ambigs_for_adaption, false , " Use ambigs for deciding"
27
23
" whether to adapt to a character" , ¶ms_) {
28
24
}
29
25
Original file line number Diff line number Diff line change @@ -79,14 +79,10 @@ class CCUtil {
79
79
// Member parameters.
80
80
// These have to be declared and initialized after params_ member, since
81
81
// params_ should be initialized before parameters are added to it.
82
- #ifdef _WIN32
83
- STRING_VAR_H (tessedit_module_name, WINDLLNAME,
84
- " Module colocated with tessdata dir" );
85
- #endif
86
82
INT_VAR_H (ambigs_debug_level, 0 , " Debug level for unichar ambiguities" );
87
- BOOL_VAR_H (use_definite_ambigs_for_classifier, 0 ,
83
+ BOOL_VAR_H (use_definite_ambigs_for_classifier, false ,
88
84
" Use definite ambiguities when running character classifier" );
89
- BOOL_VAR_H (use_ambigs_for_adaption, 0 ,
85
+ BOOL_VAR_H (use_ambigs_for_adaption, false ,
90
86
" Use ambigs for deciding whether to adapt to a character" );
91
87
};
92
88
You can’t perform that action at this time.
0 commit comments