[
https://issues.apache.org/jira/browse/OPENNLP-496?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martin Wiesner closed OPENNLP-496.
----------------------------------
Resolution: Won't Fix
> 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
> Priority: Major
> Labels: patch
> Attachments: OPENNLP-496-1.patch, OPENNLP-496-2.patch,
> OPENNLP-496-3.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 was sent by Atlassian Jira
(v8.20.10#820010)