You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ctakes.apache.org by "Masanz, James J." <Ma...@mayo.edu> on 2013/08/22 17:41:47 UTC

RE: [jira] [Commented] (CTAKES-226) CEM Templates- In the xxxMentions locations/severity store Annotation instead of the BinaryTextRelation

I was thinking more for demo purposes and for learning purposes than for debugging.
When giving a demo, if you ask for sample text from the audience, sometimes people ask why this or that was annotated and it takes some digging to find out why.
Similarly people just learning about cTAKES are sometimes wondering what is going on.


-----Original Message-----
From: notifications-return-814-Masanz.James=mayo.edu@ctakes.apache.org [mailto:notifications-return-814-Masanz.James=mayo.edu@ctakes.apache.org] On Behalf Of Pei Chen (JIRA)
Sent: Thursday, August 22, 2013 10:23 AM
To: notifications@ctakes.apache.org
Subject: [jira] [Commented] (CTAKES-226) CEM Templates- In the xxxMentions locations/severity store Annotation instead of the BinaryTextRelation


    [ https://issues.apache.org/jira/browse/CTAKES-226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13747590#comment-13747590 ] 

Pei Chen commented on CTAKES-226:
---------------------------------

James,
Along the same question as Stephen on how this (1,2) will be used (used for debugging purposes?)- 
Is this something that you would need stored in the CAS, or do you think if added a logger.debug() level output for the dictionary hit related items sufficient?

                
> 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