ctakes-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tm...@apache.org
Subject svn commit: r1477899 - /ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/eval/EvaluationOfAnnotationSpans_ImplBase.java
Date Wed, 01 May 2013 01:54:08 GMT
Author: tmill
Date: Wed May  1 01:54:07 2013
New Revision: 1477899

URL: http://svn.apache.org/r1477899
Log:
Added constructor that doesn't require treebank.

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

Modified: ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/eval/EvaluationOfAnnotationSpans_ImplBase.java
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/eval/EvaluationOfAnnotationSpans_ImplBase.java?rev=1477899&r1=1477898&r2=1477899&view=diff
==============================================================================
--- ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/eval/EvaluationOfAnnotationSpans_ImplBase.java
(original)
+++ ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/eval/EvaluationOfAnnotationSpans_ImplBase.java
Wed May  1 01:54:07 2013
@@ -78,7 +78,16 @@ public abstract class EvaluationOfAnnota
     this.annotationClass = annotationClass;
   }
   
-  protected abstract AnalysisEngineDescription getDataWriterDescription(File directory)
+  public EvaluationOfAnnotationSpans_ImplBase(
+		File baseDirectory,
+		File rawTextDirectory, 
+		File knowtatorXMLDirectory, 
+		File xmiDirectory,
+		Class<? extends Annotation> annotationClass) {
+	  this(baseDirectory,rawTextDirectory, knowtatorXMLDirectory, xmiDirectory, null, annotationClass);
+  }
+
+protected abstract AnalysisEngineDescription getDataWriterDescription(File directory)
       throws ResourceInitializationException;
 
   protected abstract void trainAndPackage(File directory) throws Exception;



Mime
View raw message