typo in textsplitko would prevent use of Mecab
This commit is contained in:
parent
bbbfbb1404
commit
a323472876
@ -52,7 +52,7 @@ static string o_taggername{"Okt"};
|
|||||||
void TextSplit::koStaticConfInit(RclConfig *config, const string& tagger)
|
void TextSplit::koStaticConfInit(RclConfig *config, const string& tagger)
|
||||||
{
|
{
|
||||||
o_cmdpath = config->findFilter("kosplitter.py");
|
o_cmdpath = config->findFilter("kosplitter.py");
|
||||||
if (tagger == "Okt" && tagger == "Mecab") {
|
if (tagger == "Okt" || tagger == "Mecab") {
|
||||||
o_taggername = tagger;
|
o_taggername = tagger;
|
||||||
} else {
|
} else {
|
||||||
LOGERR("TextSplit::koStaticConfInit: unknown tagger [" << tagger <<
|
LOGERR("TextSplit::koStaticConfInit: unknown tagger [" << tagger <<
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user