On 05/29/2012 09:10 AM, Mandar Waghmode wrote:
To start with the code, I wanted to run it for a few lines with existing
models and set breakpoints in eclipse so I can see the stack and get
familiar with the code. But I am not sure how to run it for this purpose. I
have done a similar exercise for a c# port of openNLP called sharpNLP that
is available on codeplex and was able to see the basic flow and feature
creation. But this is an old port from 2006/2007 and openNLP has moved on
quite far from there.
Any documentation or general pointers that can steer me in the right
direction?
Have a look here:
http://opennlp.apache.org/documentation/1.5.2-incubating/manual/opennlp.html#tools.namefind.training.featuregen
The custom feature generator can be used for a user defined feature
generator. That
will be the easiest way for you to implement completely new or just
complement some parts
of the existing feature generation.
You should also have a look at some Feature Generator classes to get an
impression
on how they should be implemented.
Jörn