diff --git a/src/wordrec/wordrec.cpp b/src/wordrec/wordrec.cpp index 30936121..158bc6ce 100644 --- a/src/wordrec/wordrec.cpp +++ b/src/wordrec/wordrec.cpp @@ -134,7 +134,8 @@ Wordrec::Wordrec() : BOOL_MEMBER(save_alt_choices, true, "Save alternative paths found during chopping" " and segmentation search", - params()) { + params()), + pass2_ok_split(0.0f) { prev_word_best_choice_ = nullptr; language_model_.reset(new LanguageModel(&get_fontinfo_table(), &(getDict())));