ctakes-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s..@apache.org
Subject svn commit: r1503439 - /ctakes/trunk/ctakes-assertion/src/main/java/org/apache/ctakes/assertion/util/AssertionConst.java
Date Mon, 15 Jul 2013 19:53:00 GMT
Author: swu
Date: Mon Jul 15 19:53:00 2013
New Revision: 1503439

URL: http://svn.apache.org/r1503439
Log:
small update to assertion const

Modified:
    ctakes/trunk/ctakes-assertion/src/main/java/org/apache/ctakes/assertion/util/AssertionConst.java

Modified: ctakes/trunk/ctakes-assertion/src/main/java/org/apache/ctakes/assertion/util/AssertionConst.java
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-assertion/src/main/java/org/apache/ctakes/assertion/util/AssertionConst.java?rev=1503439&r1=1503438&r2=1503439&view=diff
==============================================================================
--- ctakes/trunk/ctakes-assertion/src/main/java/org/apache/ctakes/assertion/util/AssertionConst.java
(original)
+++ ctakes/trunk/ctakes-assertion/src/main/java/org/apache/ctakes/assertion/util/AssertionConst.java
Mon Jul 15 19:53:00 2013
@@ -126,4 +126,15 @@ public class AssertionConst {
 	public static String evalOutputDir =  DATA_DIR + "processing_output_aka_eval_output";
 	
 	public static String instanceGatheringOutputDir =  DATA_DIR + "q_output_instance_gathering";
+
+    // If you don't want to train/cross-validate everything, comment these out
+	public static ArrayList<String> allAnnotationTypes = new ArrayList<String>();
+	static { 
+		allAnnotationTypes.add("polarity");
+		allAnnotationTypes.add("conditional");
+		allAnnotationTypes.add("uncertainty");
+		allAnnotationTypes.add("subject");
+		allAnnotationTypes.add("generic");
+		allAnnotationTypes.add("historyOf");
+	}
 }



Mime
View raw message