Hi,
I need to append a few names to the namefinder lexicon, as well as add a few more rules for named entity detection. Could anyone tell me where to feed in the rules It would be great if someone could tell me how the existing rules have been encoded with an example, as well as a list of the existing rules.
Regards,
Pavithra
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
The named-entity code isn't rule-based, but generates features which are given weights by a statistical model trained on a large number of examples. The feature generation is in opennlp.tools.namefind.DefaultContextGenerator and uses a number of supporting classes.
You can implement a new name finder using rules or what have you by implementing the opennlp.tools.namefind.TokenNameFinder interface.
Hope this helps...Tom
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I need to append a few names to the namefinder lexicon, as well as add a few more rules for named entity detection. Could anyone tell me where to feed in the rules It would be great if someone could tell me how the existing rules have been encoded with an example, as well as a list of the existing rules.
Regards,
Pavithra
Hi,
The named-entity code isn't rule-based, but generates features which are given weights by a statistical model trained on a large number of examples. The feature generation is in opennlp.tools.namefind.DefaultContextGenerator and uses a number of supporting classes.
You can implement a new name finder using rules or what have you by implementing the opennlp.tools.namefind.TokenNameFinder interface.
Hope this helps...Tom
How to create bin, nbin file? what is there in nbin file?