diff --git a/src/ccutil/ccutil.cpp b/src/ccutil/ccutil.cpp index 32e82c75ed..79ea662365 100644 --- a/src/ccutil/ccutil.cpp +++ b/src/ccutil/ccutil.cpp @@ -15,15 +15,11 @@ namespace tesseract { CCUtil::CCUtil() : params_(), -#ifdef _WIN32 - STRING_INIT_MEMBER(tessedit_module_name, WINDLLNAME, - "Module colocated with tessdata dir", ¶ms_), -#endif INT_INIT_MEMBER(ambigs_debug_level, 0, "Debug level for unichar ambiguities", ¶ms_), - BOOL_MEMBER(use_definite_ambigs_for_classifier, 0, "Use definite" + BOOL_MEMBER(use_definite_ambigs_for_classifier, false, "Use definite" " ambiguities when running character classifier", ¶ms_), - BOOL_MEMBER(use_ambigs_for_adaption, 0, "Use ambigs for deciding" + BOOL_MEMBER(use_ambigs_for_adaption, false, "Use ambigs for deciding" " whether to adapt to a character", ¶ms_) { } diff --git a/src/ccutil/ccutil.h b/src/ccutil/ccutil.h index b095a645c5..5fe27c12f8 100644 --- a/src/ccutil/ccutil.h +++ b/src/ccutil/ccutil.h @@ -79,14 +79,10 @@ class CCUtil { // Member parameters. // These have to be declared and initialized after params_ member, since // params_ should be initialized before parameters are added to it. - #ifdef _WIN32 - STRING_VAR_H(tessedit_module_name, WINDLLNAME, - "Module colocated with tessdata dir"); - #endif INT_VAR_H(ambigs_debug_level, 0, "Debug level for unichar ambiguities"); - BOOL_VAR_H(use_definite_ambigs_for_classifier, 0, + BOOL_VAR_H(use_definite_ambigs_for_classifier, false, "Use definite ambiguities when running character classifier"); - BOOL_VAR_H(use_ambigs_for_adaption, 0, + BOOL_VAR_H(use_ambigs_for_adaption, false, "Use ambigs for deciding whether to adapt to a character"); };