mirror of
https://github.com/bab2min/Kiwi.git
synced 2026-06-17 01:54:27 +00:00
updated KiwiJava binding
This commit is contained in:
parent
2b4b707aa2
commit
48982474a6
4 changed files with 158 additions and 2 deletions
|
|
@ -546,7 +546,8 @@ JNIEXPORT jint JNICALL JNI_OnLoad(JavaVM* vm, void* reserved)
|
|||
|
||||
jni::define<JTypoTransformer>()
|
||||
.template ctor<>()
|
||||
.template method<&JTypoTransformer::addTypo>("_addTypo"),
|
||||
.template method<&JTypoTransformer::addTypo>("_addTypo")
|
||||
.template method<&JTypoTransformer::setContinualTypoCost>("_setContinualTypoCost"),
|
||||
|
||||
jni::define<JKiwiBuilder>()
|
||||
.template ctor<std::string, size_t, kiwi::BuildOption, bool>()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue