Return-Path: X-Original-To: apmail-ctakes-commits-archive@www.apache.org Delivered-To: apmail-ctakes-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5825210523 for ; Thu, 20 Mar 2014 18:18:17 +0000 (UTC) Received: (qmail 27373 invoked by uid 500); 20 Mar 2014 18:18:16 -0000 Delivered-To: apmail-ctakes-commits-archive@ctakes.apache.org Received: (qmail 27331 invoked by uid 500); 20 Mar 2014 18:18:12 -0000 Mailing-List: contact commits-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 commits@ctakes.apache.org Received: (qmail 27322 invoked by uid 99); 20 Mar 2014 18:18:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Mar 2014 18:18:10 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Mar 2014 18:18:08 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 4AFC52388860; Thu, 20 Mar 2014 18:17:47 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1579699 - /ctakes/trunk/ctakes-template-filler/src/main/java/org/apache/ctakes/template/filler/ae/TemplateFillerAnnotator.java Date: Thu, 20 Mar 2014 18:17:47 -0000 To: commits@ctakes.apache.org From: james-masanz@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20140320181747.4AFC52388860@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: james-masanz Date: Thu Mar 20 18:17:46 2014 New Revision: 1579699 URL: http://svn.apache.org/r1579699 Log: first part of fix for CTAKES-288 Modified: ctakes/trunk/ctakes-template-filler/src/main/java/org/apache/ctakes/template/filler/ae/TemplateFillerAnnotator.java Modified: ctakes/trunk/ctakes-template-filler/src/main/java/org/apache/ctakes/template/filler/ae/TemplateFillerAnnotator.java URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-template-filler/src/main/java/org/apache/ctakes/template/filler/ae/TemplateFillerAnnotator.java?rev=1579699&r1=1579698&r2=1579699&view=diff ============================================================================== --- ctakes/trunk/ctakes-template-filler/src/main/java/org/apache/ctakes/template/filler/ae/TemplateFillerAnnotator.java (original) +++ ctakes/trunk/ctakes-template-filler/src/main/java/org/apache/ctakes/template/filler/ae/TemplateFillerAnnotator.java Thu Mar 20 18:17:46 2014 @@ -318,7 +318,7 @@ public class TemplateFillerAnnotator ext EventMention eventMention = (EventMention) ia; if (eventMention instanceof DiseaseDisorderMention) { DiseaseDisorderMention ddm = (DiseaseDisorderMention) eventMention; - logger.error("Need to implement attr for " + relation + " for DiseaseDisorderMention"); + ddm.setSeverity(degreeOfTextRelation); } else if (eventMention instanceof SignSymptomMention) { SignSymptomMention ssm = (SignSymptomMention) eventMention; ssm.setSeverity(degreeOfTextRelation);