From a323472876cdf49623309f5c3760605d04a06f63 Mon Sep 17 00:00:00 2001 From: Jean-Francois Dockes Date: Tue, 24 Mar 2020 08:50:24 +0100 Subject: [PATCH] typo in textsplitko would prevent use of Mecab --- src/common/textsplitko.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/textsplitko.cpp b/src/common/textsplitko.cpp index 7d26e0a6..9721b8ee 100644 --- a/src/common/textsplitko.cpp +++ b/src/common/textsplitko.cpp @@ -52,7 +52,7 @@ static string o_taggername{"Okt"}; void TextSplit::koStaticConfInit(RclConfig *config, const string& tagger) { o_cmdpath = config->findFilter("kosplitter.py"); - if (tagger == "Okt" && tagger == "Mecab") { + if (tagger == "Okt" || tagger == "Mecab") { o_taggername = tagger; } else { LOGERR("TextSplit::koStaticConfInit: unknown tagger [" << tagger <<