mirror of
https://github.com/bab2min/Kiwi.git
synced 2026-06-17 01:54:27 +00:00
fixed compile errors at x86-32 system
This commit is contained in:
parent
4d155960bc
commit
1265c0cf54
1 changed files with 1 additions and 1 deletions
|
|
@ -367,7 +367,7 @@ public:
|
|||
JMultipleTokenResult analyze2(jni::JRef<JKiwi> _ref, jni::JIterator<std::u16string> texts, uint64_t topN, kiwi::Match matchOption, JMorphemeSet* blocklist, jni::JIterator<jni::JIterator<kiwi::PretokenizedSpan>> pretokenized) const
|
||||
{
|
||||
if (!texts) throw std::bad_optional_access{};
|
||||
return { _ref, std::move(texts), topN, matchOption, blocklist, std::move(pretokenized) };
|
||||
return { _ref, std::move(texts), (size_t)topN, matchOption, blocklist, std::move(pretokenized) };
|
||||
}
|
||||
|
||||
std::vector<Sentence> splitIntoSents(const std::u16string& text, kiwi::Match matchOption, bool returnTokens) const
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue