tokenizers icon indicating copy to clipboard operation
tokenizers copied to clipboard

Any plan to binding to java?

Open ericxsun opened this issue 4 years ago • 3 comments

ericxsun avatar Apr 20 '20 08:04 ericxsun

I was curious about this, too. I might try to cobble together a PR to generate JNI bindings.

erip avatar Apr 22 '20 12:04 erip

We'd welcome a PR.

julien-c avatar Apr 22 '20 13:04 julien-c

There was a very early effort by @mfuntowicz on https://github.com/huggingface/tokenizers/tree/java-binding using Kotlin, maybe it can be a good starting point (or feel free to start from scratch again if you prefer!)

Pierrci avatar Apr 22 '20 14:04 Pierrci