dice-group / gerbil

GERBIL - General Entity annotatoR Benchmark
GNU Affero General Public License v3.0
219 stars 57 forks source link

Examples of client webservers in Python and Lua #166

Open octavian-ganea opened 7 years ago

octavian-ganea commented 7 years ago

Hi. It would be really great if someone could show an example of client webservers written in Python and Lua (similar to this one in Java: https://github.com/AKSW/gerbil/tree/SpotWrapNifWS4Test) . This would allow deep learning users of Torch, Tensorflow and Theano to test their entity linking/disambiguation approaches on Gerbil. Currently this has to be done in a very inconvenient way where a Java client has to communicate locally with a separate Python/Lua client and has to serialize/serialize data. If someone is aware of a different approach, please share your ideas.

Thanks!

MichaelRoeder commented 7 years ago

I understand your question for an example in a different language than Java. Unfortunately, I can not program in Python and Lua (:thinking: even if this is an opportunity to learn it... :wink:).

I don't understand the way you are using a Java client in between. Why don't you directly work on the NIF format that is sent/received? I think there should be libraries for working with RDF and the NIF vocabulary is not very complicated :wink: