Sounds interesting, I hope we will find the time to do that in OpenNLP
after the 1.5.3 release too. We already discussed this and I think had
consensus
on making the machine learning pluggable and then offer a few addons for
existing libraries.
Good to know that liblinear works well, as far as I know its written in
C/C++,
did you use the Java port of it, or did you wrote a JNI interface?
Jörn
On 03/22/2013 03:08 PM, Jason Baldridge wrote:
BTW, I've just recently finished integrating Liblinear into Nak (which is
an adaptation of the maxent portion of OpenNLP). I'm still rounding some
things out, but so far it is producing more accurate models that are
trained in less time and without using cutoffs. Here's the code:
https://github.com/scalanlp/nak
It is still mostly Java, but the liblinear adaptors are in Scala. I've kept
things such that liblinear retrofits to the interfaces that were in
opennlp.maxent, though given how well it is working, I'll be stripping
those out and going with liblinear for everything in upcoming versions.
Happy to answer any questions or help out with any of the above if it might
be useful!