Hello Lluis. I'm working on an integration between KNIME and Freeling. I believe this one can be a powerful combination, and look forward to make them talk as smoothly as possible.
As such, I've been trying a couple of approaches on a first stage which I would like to comment. I will really appreciate your feedback:
1- use Freeling Analyze server (by calling the Analyze Client from KNIME)
This works fine, but I've notice significant performance differences when the analysis output level is set to "coref" (as opposed to "dep"), it's a 100x timing difference. Why that much?
It is good option as an inicial approach though.
2- again, use Analyze server, but from a Java socket client
I've got your code lines from GitHub (FreelingSocketClient.java). IMHO, there's a tiny detail that can be improved there, regarding zero-terminated-strings:
Code could be changed from:
in order to avoid unuseful warning messages.
That said, which of these two approaches would be more stable in terms of scalability?