Cool, As I said, I have issue 717 solved by adding a getter for the featureGenerator in the TokenNameFactory and using that getter to parametrized correctly the creation of the TokenNameFinderModel after training.
But maybe another solution is possible, of course. R On Mon, Oct 6, 2014 at 4:46 PM, Jörn Kottmann <[email protected]> wrote: > On 10/06/2014 02:04 PM, Rodrigo Agerri wrote: >> >> All these problems are solved as per this issue: >> >> https://issues.apache.org/jira/browse/OPENNLP-717 >> >> Only one issue remains: The requirement to add -factory parameter for >> the -featuregen parameter to work and its backing-off to default >> features without warning if the -factory param is not used. > > > I will have a look at the code to see what went wrong in OPENNLP-717, I > suspect that > bug was introduced through some recent changes when we added the factory > support for > the name finder. > > Jörn
