epfml / sent2vec

General purpose unsupervised sentence representations
Other
1.19k stars 256 forks source link

Java integration #79

Closed sslavian812 closed 4 years ago

sslavian812 commented 5 years ago

Hi, Is it possible to integrate sent2vec with a java application? Maybe you have a build/library of some sort? Some ideas?

Last time I had to wrap sent2vec in a separate python process communicating through stdin/stdout. Although it worked, this approach is not really scalable and resilient.

I'd be glad to work with you guys to add Java support, but will need your help.

mpagli commented 5 years ago

Hi,

Is it possible to integrate sent2vec with a java application?

No work has been done going in the direction of supporting java. I'm not sure what could be the easiest way to do that. Maybe you can write a python microservice using protobuf to serve embeddings?

guptaprkhr commented 4 years ago

Closing due to lack of activity on this thread!