ctakes-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c...@apache.org
Subject svn commit: r1753402 - /ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/eval/EvaluationOfTemporalRelations_ImplBase.java
Date Tue, 19 Jul 2016 17:03:11 GMT
Author: clin
Date: Tue Jul 19 17:03:10 2016
New Revision: 1753402

URL: http://svn.apache.org/viewvc?rev=1753402&view=rev
Log:
relax the rule for removing non-contains relations

Modified:
    ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/eval/EvaluationOfTemporalRelations_ImplBase.java

Modified: ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/eval/EvaluationOfTemporalRelations_ImplBase.java
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/eval/EvaluationOfTemporalRelations_ImplBase.java?rev=1753402&r1=1753401&r2=1753402&view=diff
==============================================================================
--- ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/eval/EvaluationOfTemporalRelations_ImplBase.java
(original)
+++ ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/eval/EvaluationOfTemporalRelations_ImplBase.java
Tue Jul 19 17:03:10 2016
@@ -130,7 +130,7 @@ Evaluation_ImplBase<AnnotationStatistics
 					BinaryTextRelation.class))) {
 				RelationArgument arg1 = relation.getArg1();
 				RelationArgument arg2 = relation.getArg2();
-				if (arg1.getArgument()instanceof EventMention && arg2.getArgument()instanceof
EventMention && !relation.getCategory().startsWith("CONTAINS")) {
+				if (!relation.getCategory().startsWith("CONTAINS")) {
 					relation.getArg1().removeFromIndexes();
 					relation.getArg2().removeFromIndexes();
 					relation.removeFromIndexes();



Mime
View raw message