Hi Jorn, I read the document http://opennlp.apache.org/documentation/manual/opennlp.html#tools.namefind.recognition.cmdline. But i felt i needed more information to put it in code.
I got to know that we need to train the model. But could not get it. Can you please explain it. so that i could start implementing it. Thanks, Vivek Thanks, Vivek On Tue, Jun 24, 2014 at 3:28 PM, Jörn Kottmann <[email protected]> wrote: > On 06/24/2014 09:44 AM, Vivekanand Ittigi wrote: > >> Hi, >> >> If i use a query like this in command line >> >> ./opennlp TokenNameFinder en-ner-person.bin <input.txt> <output.txt> >> >> I'll get person names printed in output.txt but I want to write own models >> such that i should print my own entities. >> >> E.g. >> >> 1. what is the risk value on icm2500. >> 2. Delivery of prd_234 will be arrived late. >> 3. Watson is handling router_34. >> >> If i pass these lines, it should parse and extract product_entities. >> icm2500, prd_234, router_34... etc these are all Products( we can save >> this >> information in a file and we can use it as look up kind of for models or >> openNLP). >> >> Can anyone please tel me how to do this ? >> >> > You need to train your own model. To do that you have to collect some of > the texts > and annotate them with the entities you wish to detect. > > Have a look at the documentation about the name finder. It explains how to > the training > works. > > HTH, > Jörn >
