Francisco Abad created UIMA-5964:
------------------------------------
Summary: null matchedText value in ConceptMapper when
OrderIndependentLookup is false.
Key: UIMA-5964
URL: https://issues.apache.org/jira/browse/UIMA-5964
Project: UIMA
Issue Type: Bug
Components: addons
Affects Versions: ConceptMapper-2.10.2
Reporter: Francisco Abad
Attachments: image-2019-01-17-09-30-51-818.png
I'm trying the concept mapper and I noted that the field relative to
ResultingAnnotationMatchedTextFeature in the generated annotations was always
null:
!image-2019-01-17-09-30-51-818.png!
I checked the source code and I figured out that this feature is loaded from a
"unsorted" property from DictionaryResource_impl class, which is only
initialized when the parameter "OrderIndependentLookup" is true. In this case,
the matched text field is not null. I think "unsorted" should be initialized
always to avoid this behavior.
Greetings,
Francisco Abad.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)