mirror of
https://github.com/bab2min/Kiwi.git
synced 2026-06-17 01:54:27 +00:00
Remove support for TypoTransformer in build method and update related calls of KiwiJava
This commit is contained in:
parent
ab8f209690
commit
fc203ca652
2 changed files with 4 additions and 10 deletions
|
|
@ -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();
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue