Remove support for TypoTransformer in build method and update related calls of KiwiJava

This commit is contained in:
bab2min 2026-03-14 16:17:45 +09:00
commit fc203ca652
2 changed files with 4 additions and 10 deletions

View file

@ -720,16 +720,10 @@ public:
return KiwiBuilder::addPreAnalyzedWord(form, morphs, positions, score);
}
JKiwi build(JTypoTransformer* typos, float typoCostThreshold) const
JKiwi build(JTypoTransformer*, float) const
{
if (typos)
{
return KiwiBuilder::build(*typos, typoCostThreshold);
}
else
{
return KiwiBuilder::build();
}
// build 시에 TypoTransformer를 사용하는 옵션은 이제 더 이상 지원되지 않음. 향후 제거 예정.
return KiwiBuilder::build();
}
};