ctakes-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dlig...@apache.org
Subject svn commit: r1577305 - /ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/ae/feature/duration/DurationEventEventFeatureExtractor.java
Date Thu, 13 Mar 2014 20:09:00 GMT
Author: dligach
Date: Thu Mar 13 20:08:59 2014
New Revision: 1577305

URL: http://svn.apache.org/r1577305
Log:
added some comments

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

Modified: ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/ae/feature/duration/DurationEventEventFeatureExtractor.java
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/ae/feature/duration/DurationEventEventFeatureExtractor.java?rev=1577305&r1=1577304&r2=1577305&view=diff
==============================================================================
--- ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/ae/feature/duration/DurationEventEventFeatureExtractor.java
(original)
+++ ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/ae/feature/duration/DurationEventEventFeatureExtractor.java
Thu Mar 13 20:08:59 2014
@@ -55,6 +55,7 @@ public class DurationEventEventFeatureEx
     
     Map<String, Float> arg1Distribution = textToDistribution.get(arg1text);
     if(arg1Distribution == null) {
+      // this shouldn't happen if relations with no durations for args filtered out
       features.add(new Feature("arg1_no_duration_info"));
       return features;
     } 
@@ -63,6 +64,7 @@ public class DurationEventEventFeatureEx
     
     Map<String, Float> arg2Distribution = textToDistribution.get(arg2text);
     if(arg2Distribution == null) {
+      // this shouldn't happen if relations with no durations for args filtered out
       features.add(new Feature("arg2_no_duration_info"));
       return features;
     }



Mime
View raw message