Hello, you will need to do this for training, if you load the model OpenNLP will load this class for you. If it is not on the class path you will get an error indicating that.
Jörn On Fri, Dec 16, 2016 at 7:26 PM, Damiano Porta <damianopo...@gmail.com> wrote: > Jorn, ok so for this reason i must pass those custom generators ro train > and to use the model right ? everytime ? > > 2016-12-16 16:05 GMT+01:00 Joern Kottmann <kottm...@gmail.com>: > > > Hello, > > > > no, sadly this is not possible, you will have to provide a custom factory > > class which wires everything up for you. > > > > HTH, > > Jörn > > > > On Fri, Dec 16, 2016 at 2:34 PM, Damiano Porta <damianopo...@gmail.com> > > wrote: > > > > > Hello! > > > can i use/pass a list of custom feature generators into a doccat model > > via > > > XML? > > > Like NER models for example. > > > > > > Thanks > > > Damiano > > > > > >