word2vec icon indicating copy to clipboard operation
word2vec copied to clipboard

Java binding for the libword2vec?

Open gembin opened this issue 7 years ago • 4 comments
trafficstars

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?

gembin avatar Feb 27 '18 07:02 gembin

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

maxoodf avatar Feb 28 '18 07:02 maxoodf

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

gembin avatar Mar 01 '18 04:03 gembin

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.

maxoodf avatar Mar 01 '18 09:03 maxoodf

That's awesome!

gembin avatar Mar 01 '18 15:03 gembin