You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@opennlp.apache.org by "Jim Piliouras (Updated) (JIRA)" <ji...@apache.org> on 2012/04/04 17:21:24 UTC
[jira] [Updated] (OPENNLP-494) Merging results from several
name-finders
[ https://issues.apache.org/jira/browse/OPENNLP-494?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jim Piliouras updated OPENNLP-494:
----------------------------------
Attachment: TokenNameFinderEvaluator.java
This is the patch i wrote...Let me knwo what you think! Jorn has already suggested to sort of do the same thing but on the name finder. IN other words create a super-namefinder that acts as a proxy to the regular ones and merges their results there...
> Merging results from several name-finders
> -----------------------------------------
>
> Key: OPENNLP-494
> URL: https://issues.apache.org/jira/browse/OPENNLP-494
> Project: OpenNLP
> Issue Type: New Feature
> Components: Name Finder
> Affects Versions: tools-1.5.3
> Environment: Ubuntu oneiric x64 Java 7 update 3
> Reporter: Jim Piliouras
> Labels: patch
> Fix For: tools-1.5.3
>
> Attachments: TokenNameFinderEvaluator.java
>
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> Made some small changes to the TokenNameFinderEvaluator class which hopefully allow merging of results from several name-finders. It just does that by calling the find method of all supplied name-finders. The only break is the fact that Java does not allow varargs anywhere but at the end of the argument list so i could not use "TokenNameFinder... namefinders" as the first parameter in the constructor - i had to pass an array instead. I think it's worth reversing the order of arguments but that is a break too...
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira