opennlp-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörn Kottmann <>
Subject Re: question about adding new type in NameFinder
Date Mon, 02 Apr 2012 10:49:28 GMT
On 04/02/2012 12:44 PM, Anthony Wong wrote:
>  From the NameFinderME class and existing models, I noticed that I can train
> person, location, date, etc.  What if I want to create my own type, say,
> personality?  Do I basically create the corresponding
> en-ner-personality.train and en-ner-personality.bin and run the same code
> shown in the documentation under Training API (Under NameFinder Training)?

Exactly. I suggest to use some kind of annotation tool to label your data.
You might need at least a few thousand sentences to train a model which
starts to work on new data.


View raw message