Return-Path: X-Original-To: apmail-ctakes-dev-archive@www.apache.org Delivered-To: apmail-ctakes-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AB8A410E43 for ; Thu, 22 Aug 2013 15:04:07 +0000 (UTC) Received: (qmail 71578 invoked by uid 500); 22 Aug 2013 15:04:07 -0000 Delivered-To: apmail-ctakes-dev-archive@ctakes.apache.org Received: (qmail 71483 invoked by uid 500); 22 Aug 2013 15:04:06 -0000 Mailing-List: contact dev-help@ctakes.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ctakes.apache.org Delivered-To: mailing list dev@ctakes.apache.org Received: (qmail 71475 invoked by uid 99); 22 Aug 2013 15:04:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Aug 2013 15:04:05 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [129.176.212.47] (HELO mail10.mayo.edu) (129.176.212.47) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Aug 2013 15:03:56 +0000 Received: from roedlp004a.mayo.edu (HELO mail10.mayo.edu) ([129.176.158.14]) by ironport10-dlp.mayo.edu with ESMTP; 22 Aug 2013 10:03:34 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AooFAAInFlKBsNQ1/2dsb2JhbABagwWBBsAIgRwWbQeCJAEBBTo4GQEIEQQBAQEVCTERHQgCBBOHfgMPlUiXSA1XgSmNbYMACoQMA5QNgXCBaYwxhSmDH4Ir Received: from mhro1a.mayo.edu ([129.176.212.53]) by ironport10.mayo.edu with ESMTP; 22 Aug 2013 10:03:33 -0500 Received: from MSGPEXCHA07A.mfad.mfroot.org (msgpexcha07a.mayo.edu [129.176.249.223]) by mhro1a.mayo.edu with ESMTP id BT-MMP-26679233 for dev@ctakes.apache.org; Thu, 22 Aug 2013 10:03:33 -0500 Received: from MSGPEXCEI25B.mfad.mfroot.org (129.176.249.140) by MSGPEXCHA07A.mfad.mfroot.org (129.176.249.223) with Microsoft SMTP Server (TLS) id 14.2.342.4; Thu, 22 Aug 2013 10:03:32 -0500 Received: from MSGPEXCHA28B.mfad.mfroot.org ([169.254.11.161]) by MSGPEXCEI25B.mfad.mfroot.org ([169.254.3.245]) with mapi id 14.02.0342.004; Thu, 22 Aug 2013 10:03:32 -0500 From: "Wu, Stephen T., Ph.D." To: "dev@ctakes.apache.org" Subject: Re: CEM Template Question Thread-Topic: CEM Template Question Thread-Index: AQHOmulPx/QsHE2eH0SG1tPZp+Yxq5mZFrWAgASDC4CAA8HwgA== Date: Thu, 22 Aug 2013 15:03:31 +0000 Message-ID: In-Reply-To: <924DE05C19409B438EB81DE683A942D910588E15@CHEXMBX1A.CHBOSTON.ORG> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.3.1.130117 x-originating-ip: [10.128.209.12] Old-x-esetresult: clean, is OK Old-x-esetid: 4CBF7B3EAE8F333416FC26 Content-Type: text/plain; charset="us-ascii" Content-ID: <564715B21756CB4B94631853D7248F12@exchange.mayo.edu> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-ESET-AS: SCORE=0 X-EsetResult: clean, is OK X-EsetId: 93C5663E305E3234C9863B X-CFilter-Loop: Reflected X-Virus-Checked: Checked by ClamAV on apache.org Yeah, Steve is right -- we did this to mirror the Knowtator annotation schema. Removing the relation between them would make it difficult to find and account for relation attributes. I think there's a pretty convincing argument for relations being somewhat "supporting" annotations. Coreference and all other relations would essentially help you fill in your attribute values (e.g., mention.setbodyLocation()). I think this ends up being cleaner overall, since an end user of the CAS then has the ability to look at Mentions without looking at Relations. So I think I'm a +1. There are only a few relation-valued attributes for each mention, so I expect changes would be fairly local within the relation-extractor project. What do you think about the refsem types -- e.g., should the attributes within DiseaseDisorder changed, similar to how we plan to change DiseaseDisorderMention? stephen On 8/19/13 7:40 PM, "Chen, Pei" wrote: >That's a good point. >From a pragmatic perspective, my vote would be to have the >XMention.getBodyLocation() return a AnatomicalSiteMention and similar for >Severity etc. >If the relation was negated (there was no relation), then I think the CEM >template filler can just not create the relation. >For the extremely rare cases where they need to differentiate the null vs >explicit negated case, they can still iterate though the >BinaryTextRelations because we didn't lose the data. > >--Pei >________________________________________ >From: Steven Bethard [steven.bethard@gmail.com] >Sent: Monday, August 19, 2013 2:12 PM >To: dev@ctakes.apache.org >Subject: Re: CEM Template Question > >On Fri, Aug 16, 2013 at 8:29 PM, Pei Chen wrote: >> 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. > >Yeah, I really didn't like this either, but this is what's in the >actual Knowtator data. The one argument I've heard for it is that the >LocationOfTextRelation could be negated, even when the >AnatomicalSiteMention was not. I believe the idea would be to >distinguish between: > >* The lesion was not on the left lung >* There was no lesion on the left lung > >where the former asserts that there was a lesion but negates the >location, and the latter asserts the lack of a lesion. To support this >kind of thing, either getBodyLocation() has to return a >LocationOfTextRelation with an appropriate polarity attribute, of >there has to be some other mechanism for specifying the polarity, etc. >of the body location relation. > >All that said, this was just got said to me once or twice. I have no >idea if the annotators even annotated this way or not. If they didn't, >I agree that the LocationOfTextRelation as the bodyLocation feels >super clunky and it would be great to fix that. > >Steve > >On Fri, Aug 16, 2013 at 8:29 PM, Pei Chen wrote: >> 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? >> >> --Pei