maxoodf / word2vec

word2vec++ is a Distributed Representations of Words (word2vec) library and tools implementation, written in C++11 from the scratch
Apache License 2.0
132 stars 24 forks source link

Java binding for the libword2vec? #6

Open gembin opened 6 years ago

gembin commented 6 years ago

I've ever used https://github.com/jnr/jnr-ffi to create Java binding for a c shared library. Is it possible to create a Java binding for libword2vec?

maxoodf commented 6 years ago

Yes, I think it's possible even without a C wrapper. Look at JavaCPP examples.

gembin commented 6 years ago

Yes, I'm aware of JavaCPP, but never tried. BTW, any plan to provide a C API for libword2vec ? : -)

maxoodf commented 6 years ago

Yes, I thought about it, a C wrapper developing is quite simple, but it makes possible to use the library from Go, Java etc. As soon as I get some free time, I will implement it.

gembin commented 6 years ago

That's awesome!