typo in textsplitko would prevent use of Mecab

This commit is contained in:
Jean-Francois Dockes
2020-03-24 08:50:24 +01:00
parent bbbfbb1404
commit a323472876
+1 -1
View File
@@ -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 <<