Re: Question about deprecated NameFinderME constructors

2016-03-08 Thread Joern Kottmann
There is a custom xml element where it can load a user defined class for feature generation. So you would add an element like this: https://opennlp.apache.org/documentation/1.6.0/manual/opennlp.html#tools.namefind.training.featuregen I think we should remove the deprecated training methods so

Re: Question about deprecated NameFinderME constructors

2016-03-07 Thread Cohan Sujay Carlos
Dear Rodrigo, Thank you for the informative reply. I just wanted to say I feel there is a use-case that the new constructor still does not support. Let me explain with an example. Let's first take the example of brown-feature.xml, which is defined as ...

Re: Question about deprecated NameFinderME constructors

2016-03-07 Thread Rodrigo Agerri
Hi, You can do all those tasks by using the create method in the TokenNameFinderFactory: http://svn.apache.org/viewvc/opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/namefind/TokenNameFinderFactory.java?revision=1712553=markup#l100 For that you need to: 1. Provide the name of the

Question about deprecated NameFinderME constructors

2016-02-14 Thread Cohan Sujay Carlos
Hi, I noticed that in the OpenNLP SVM 'trunk', the formerly deprecated constructors for the class *NameFinderME*: *public NameFinderME(TokenNameFinderModel model, AdaptiveFeatureGenerator generator, int beamSize, SequenceValidator sequenceValidator);* and *public