ctakes-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dlig...@apache.org
Subject svn commit: r1583800 - /ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/duration/EventDurationDistribution.java
Date Tue, 01 Apr 2014 21:33:25 GMT
Author: dligach
Date: Tue Apr  1 21:33:24 2014
New Revision: 1583800

URL: http://svn.apache.org/r1583800
Log:
minor fixes

Modified:
    ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/duration/EventDurationDistribution.java

Modified: ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/duration/EventDurationDistribution.java
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/duration/EventDurationDistribution.java?rev=1583800&r1=1583799&r2=1583800&view=diff
==============================================================================
--- ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/duration/EventDurationDistribution.java
(original)
+++ ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/duration/EventDurationDistribution.java
Tue Apr  1 21:33:24 2014
@@ -130,7 +130,6 @@ public class EventDurationDistribution {
             while(matcher.find()) {
               String matchedTimeUnit = matcher.group(); // e.g. "wks"
               String normalizedTimeUnit = abbreviationToTimeUnit.get(matchedTimeUnit);
-              System.out.println(nearestTimeMention.getCoveredText() + ": " + normalizedTimeUnit);
               durationDistribution.add(normalizedTimeUnit);
             }            
           }
@@ -138,7 +137,7 @@ public class EventDurationDistribution {
       }
 
       if(durationDistribution.size() > 0) { 
-//        System.out.println(Utils.formatDistribution(mentionText, durationDistribution,
", ", false));
+        System.out.println(Utils.formatDistribution(mentionText, durationDistribution, ",
", false));
       } 
     }
     



Mime
View raw message