ctakes-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stevenbeth...@apache.org
Subject svn commit: r1424218 - /incubator/ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/ae/THYMEKnowtatorXMLReader.java
Date Wed, 19 Dec 2012 23:17:17 GMT
Author: stevenbethard
Date: Wed Dec 19 23:17:17 2012
New Revision: 1424218

URL: http://svn.apache.org/viewvc?rev=1424218&view=rev
Log:
Fixes THYMEKnowtatorXMLReader to match new naming of annotation directories.

Modified:
    incubator/ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/ae/THYMEKnowtatorXMLReader.java

Modified: incubator/ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/ae/THYMEKnowtatorXMLReader.java
URL: http://svn.apache.org/viewvc/incubator/ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/ae/THYMEKnowtatorXMLReader.java?rev=1424218&r1=1424217&r2=1424218&view=diff
==============================================================================
--- incubator/ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/ae/THYMEKnowtatorXMLReader.java
(original)
+++ incubator/ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/ae/THYMEKnowtatorXMLReader.java
Wed Dec 19 23:17:17 2012
@@ -61,7 +61,7 @@ public class THYMEKnowtatorXMLReader ext
     if (!matcher.matches()) {
       throw new IllegalArgumentException("Unrecognized subdirectory naming: " + subDir);
     }
-    subDir = String.format("Set%02d", Integer.parseInt(matcher.group(1)));
+    subDir = String.format("gold_docset%02d_xml", Integer.parseInt(matcher.group(1)));
     String fileName = file.getName() + ".knowtator.xml";
     return new File(new File(this.knowtatorXMLDirectory, subDir), fileName).toURI();
   }



Mime
View raw message