You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@opennlp.apache.org by "Joern Kottmann (JIRA)" <ji...@apache.org> on 2012/09/11 15:09:08 UTC

[jira] [Updated] (OPENNLP-496) DictionaryNameFinder only deals with a single physical dictionary, thus a single type of entities

     [ https://issues.apache.org/jira/browse/OPENNLP-496?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joern Kottmann updated OPENNLP-496:
-----------------------------------

    Fix Version/s:     (was: tools-1.5.3)
    
> DictionaryNameFinder only deals with a single physical dictionary, thus a single type of entities
> -------------------------------------------------------------------------------------------------
>
>                 Key: OPENNLP-496
>                 URL: https://issues.apache.org/jira/browse/OPENNLP-496
>             Project: OpenNLP
>          Issue Type: Improvement
>          Components: Name Finder
>    Affects Versions: tools-1.5.3
>         Environment: Ubuntu x64 Java 7 update 3
>            Reporter: Jim Piliouras
>              Labels: patch
>         Attachments: OPENNLP-496-1.patch, OPENNLP-496-2.patch
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> The Dictionary itself should store the type of entities it includes - NOT the finder. All the code (global field, extra constructor,getter method) should go in the Dictionary class. This will allow passing several actual xml dictionaries to the finder and the fidner can assign the correct type depending on which dictionary gave the prediction. This is extremely simple to do , in fact all the code needed is almost identical to yesterday's patch (OPENNLP-495). Since opennlp-495 has already been commited i will provide new patches for the latest head revision. One of the patches will revert the DictioanryNameFinder to its original state without breaking anything.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira