ctakes-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From james-mas...@apache.org
Subject svn commit: r1501555 - /ctakes/trunk/ctakes-assertion/src/main/java/org/apache/ctakes/assertion/train/ReadAndPreprocessForAttributeModels.java
Date Tue, 09 Jul 2013 21:19:41 GMT
Author: james-masanz
Date: Tue Jul  9 21:19:41 2013
New Revision: 1501555

URL: http://svn.apache.org/r1501555
Log:
send output to appropriate dirs for dev and test if there are dev and test input dirs, don't
put all output into same ("train") dir [fix 2 typos or copy/paste errors]

Modified:
    ctakes/trunk/ctakes-assertion/src/main/java/org/apache/ctakes/assertion/train/ReadAndPreprocessForAttributeModels.java

Modified: ctakes/trunk/ctakes-assertion/src/main/java/org/apache/ctakes/assertion/train/ReadAndPreprocessForAttributeModels.java
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-assertion/src/main/java/org/apache/ctakes/assertion/train/ReadAndPreprocessForAttributeModels.java?rev=1501555&r1=1501554&r2=1501555&view=diff
==============================================================================
--- ctakes/trunk/ctakes-assertion/src/main/java/org/apache/ctakes/assertion/train/ReadAndPreprocessForAttributeModels.java
(original)
+++ ctakes/trunk/ctakes-assertion/src/main/java/org/apache/ctakes/assertion/train/ReadAndPreprocessForAttributeModels.java
Tue Jul  9 21:19:41 2013
@@ -31,16 +31,16 @@ public class ReadAndPreprocessForAttribu
 			}
 			params.add("--train-dir"); 		params.add(froot);
 
-			// Some corpora (SHARP) may have predetermined dev/test splits. Check AssertionConst.
+			// Some corpora (SHARP) may have predetermined dev/test splits. Check {link: AssertionConst}.
 			if (AssertionConst.preprocessForDev.containsKey(source) ) {
-				String fdev = AssertionConst.preprocessRootDirectory.get(source);
+				String fdev = AssertionConst.preprocessForDev.get(source);
 				if (!(new File(fdev).exists())) {
 					(new File(fdev)).mkdir();
 				}
 				params.add("--dev-dir"); 	params.add(fdev);
 			}
 			if (AssertionConst.preprocessForTest.containsKey(source) ) {
-				String ftest = AssertionConst.preprocessRootDirectory.get(source);
+				String ftest = AssertionConst.preprocessForTest.get(source);
 				if (!(new File(ftest).exists())) {
 					(new File(ftest)).mkdir();
 				}



Mime
View raw message