Pei Chen created CTAKES-226:
-------------------------------
Summary: CEM Templates- In the xxxMentions locations/severity
store Annotation instead of the BinaryTextRelation
Key: CTAKES-226
URL: https://issues.apache.org/jira/browse/CTAKES-226
Project: cTAKES
Issue Type: Improvement
Affects Versions: 3.1
Reporter: Pei Chen
Fix For: future enhancement
> Hi James/Steven,
> In the common type system/template fillers, do you recall why we
> stored the TextRelation instead of the resolved annotation?
>
> For example, in SignSymptomMention, getBodyLocation() returns
> LocationOfTextRelation.
> So in order to actually get the AnatomicalSiteMention, you would have
> to look inside LocationOfTextRelation arg1 or arg2.
>
> I think it be more intuitive and simpler for consumers of the CEM's to
> just store the AnatomicalSiteMention? Is there a use case I am
> missing where someone would want something different than the
> SignSymptomMention.getBodyLocation() other than the actual
> AnatomicalSiteMention?
Email Thread:
http://mail-archives.apache.org/mod_mbox/ctakes-dev/201308.mbox/%3C924DE05C19409B438EB81DE683A942D910588E15%40CHEXMBX1A.CHBOSTON.ORG%3E
--
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