ctakes-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dlig...@apache.org
Subject svn commit: r1471111 - /ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/ae/baselines/BaselineEventTimeRelationAnnotator.java
Date Tue, 23 Apr 2013 19:39:06 GMT
Author: dligach
Date: Tue Apr 23 19:39:06 2013
New Revision: 1471111

URL: http://svn.apache.org/r1471111
Log:
Fixed a bug (changed the order of time and event as arguments of CONTAINS)

Modified:
    ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/ae/baselines/BaselineEventTimeRelationAnnotator.java

Modified: ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/ae/baselines/BaselineEventTimeRelationAnnotator.java
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/ae/baselines/BaselineEventTimeRelationAnnotator.java?rev=1471111&r1=1471110&r2=1471111&view=diff
==============================================================================
--- ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/ae/baselines/BaselineEventTimeRelationAnnotator.java
(original)
+++ ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/ae/baselines/BaselineEventTimeRelationAnnotator.java
Tue Apr 23 19:39:06 2013
@@ -60,7 +60,7 @@ public class BaselineEventTimeRelationAn
       // ignore subclasses like Procedure and Disease/Disorder
       if (event.getClass().equals(EventMention.class)) {
         for (TimeMention time : times) {
-          pairs.add(new IdentifiedAnnotationPair(event, time));
+          pairs.add(new IdentifiedAnnotationPair(time, event));
         }
       }
     }



Mime
View raw message