ctakes-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dlig...@apache.org
Subject svn commit: r1555878 - /ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/ae/feature/duration/DurationTimeUnitFeatureExtractor.java
Date Mon, 06 Jan 2014 16:03:28 GMT
Author: dligach
Date: Mon Jan  6 16:03:27 2014
New Revision: 1555878

URL: http://svn.apache.org/r1555878
Log:
assume gold only has relations that have duration data

Modified:
    ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/ae/feature/duration/DurationTimeUnitFeatureExtractor.java

Modified: ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/ae/feature/duration/DurationTimeUnitFeatureExtractor.java
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/ae/feature/duration/DurationTimeUnitFeatureExtractor.java?rev=1555878&r1=1555877&r2=1555878&view=diff
==============================================================================
--- ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/ae/feature/duration/DurationTimeUnitFeatureExtractor.java
(original)
+++ ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/ae/feature/duration/DurationTimeUnitFeatureExtractor.java
Mon Jan  6 16:03:27 2014
@@ -56,7 +56,7 @@ public class DurationTimeUnitFeatureExtr
   @Override
   public List<Feature> extract(JCas jCas, IdentifiedAnnotation arg1, IdentifiedAnnotation
arg2)
       throws AnalysisEngineProcessException {
-
+    
     List<Feature> features = new ArrayList<Feature>();
     
     String eventText = arg1.getCoveredText().toLowerCase(); // arg1 is an event
@@ -71,7 +71,6 @@ public class DurationTimeUnitFeatureExtr
       return features;
     }
 
-    System.out.println("event text: " + eventText );
     Map<String, Float> eventDistribution = textToDistribution.get(eventText);
     float eventExpectedDuration = DurationExpectationFeatureExtractor.expectedDuration(eventDistribution);
 



Mime
View raw message