ctakes-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chen...@apache.org
Subject svn commit: r1637257 - in /ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal: eval/EvaluationOfSelfEventTimeRelations.java pipelines/FullTemporalExtractionPipeline.java
Date Thu, 06 Nov 2014 23:06:50 GMT
Author: chenpei
Date: Thu Nov  6 23:06:50 2014
New Revision: 1637257

URL: http://svn.apache.org/r1637257
Log:
CTAKES-329 - Fix for references when renamed the factory method name createEngineDescription
-> createAnnotatorDescription (All the other ones were called createAnnotatorDescription
so kept it consistent.)

Modified:
    ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/eval/EvaluationOfSelfEventTimeRelations.java
    ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/pipelines/FullTemporalExtractionPipeline.java

Modified: ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/eval/EvaluationOfSelfEventTimeRelations.java
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/eval/EvaluationOfSelfEventTimeRelations.java?rev=1637257&r1=1637256&r2=1637257&view=diff
==============================================================================
--- ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/eval/EvaluationOfSelfEventTimeRelations.java
(original)
+++ ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/eval/EvaluationOfSelfEventTimeRelations.java
Thu Nov  6 23:06:50 2014
@@ -370,7 +370,7 @@ EvaluationOfTemporalRelations_ImplBase{
 				GOLD_VIEW_NAME);
 
 		aggregateBuilder.add(AnalysisEngineFactory.createEngineDescription(RemoveRelations.class));
-		aggregateBuilder.add(EventTimeRelationAnnotator.createEngineDescription(new File(directory,"event-time")));
+		aggregateBuilder.add(EventTimeRelationAnnotator.createAnnotatorDescription(new File(directory,"event-time")));
 
 		if(this.i2b2Output != null){
 			aggregateBuilder.add(AnalysisEngineFactory.createEngineDescription(WriteI2B2XML.class,
WriteI2B2XML.PARAM_OUTPUT_DIR, this.i2b2Output), "TimexView", CAS.NAME_DEFAULT_SOFA);

Modified: ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/pipelines/FullTemporalExtractionPipeline.java
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/pipelines/FullTemporalExtractionPipeline.java?rev=1637257&r1=1637256&r2=1637257&view=diff
==============================================================================
--- ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/pipelines/FullTemporalExtractionPipeline.java
(original)
+++ ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/pipelines/FullTemporalExtractionPipeline.java
Thu Nov  6 23:06:50 2014
@@ -102,7 +102,7 @@ public class FullTemporalExtractionPipel
     aggregateBuilder.add(AnalysisEngineFactory.createEngineDescription(CopyPropertiesToTemporalEventAnnotator.class));
     aggregateBuilder.add(DocTimeRelAnnotator.createAnnotatorDescription(options.getDoctimerelModelDirectory()
+ File.separator + "model.jar"));
     aggregateBuilder.add(BackwardsTimeAnnotator.createAnnotatorDescription(options.getTimeModelDirectory()
+ File.separator + "model.jar"));
-    aggregateBuilder.add(EventTimeRelationAnnotator.createEngineDescription(options.getEventTimeRelationModelDirectory()
+ File.separator + "model.jar"));
+    aggregateBuilder.add(EventTimeRelationAnnotator.createAnnotatorDescription(options.getEventTimeRelationModelDirectory()
+ File.separator + "model.jar"));
     if(options.getEventEventRelationModelDirectory()!=null){
       aggregateBuilder.add(EventEventRelationAnnotator.createAnnotatorDescription(options.getEventEventRelationModelDirectory()
+ File.separator + "model.jar"));
     }



Mime
View raw message