ctakes-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From james-mas...@apache.org
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 GMT
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);



Mime
View raw message