ctakes-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dlig...@apache.org
Subject svn commit: r1548166 - /ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/eval/Evaluation_ImplBase.java
Date Thu, 05 Dec 2013 15:30:48 GMT
Author: dligach
Date: Thu Dec  5 15:30:48 2013
New Revision: 1548166

URL: http://svn.apache.org/r1548166
Log:
updated the path to several resources (chunker, LookupDesc_Db.xml, OrangeBook)

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

Modified: ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/eval/Evaluation_ImplBase.java
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/eval/Evaluation_ImplBase.java?rev=1548166&r1=1548165&r2=1548166&view=diff
==============================================================================
--- ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/eval/Evaluation_ImplBase.java
(original)
+++ ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/eval/Evaluation_ImplBase.java
Thu Dec  5 15:30:48 2013
@@ -300,7 +300,7 @@ public abstract class Evaluation_ImplBas
     aggregateBuilder.add(AnalysisEngineFactory.createPrimitiveDescription(
         Chunker.class,
         Chunker.CHUNKER_MODEL_FILE_PARAM,
-        FileLocator.locateFile("org/apache/ctakes/chunker/models/chunk-model.claims-1.5.zip"),
+        FileLocator.locateFile("org/apache/ctakes/chunker/models/chunker-model.zip"),
         Chunker.CHUNKER_CREATOR_CLASS_PARAM,
         DefaultChunkCreator.class));
 
@@ -345,7 +345,7 @@ public abstract class Evaluation_ImplBas
         "LookupDescriptor",
         ExternalResourceFactory.createExternalResourceDescription(
             FileResourceImpl.class,
-            new File("target/unpacked/org/apache/ctakes/dictionary/lookup/LookupDesc_Db.xml").getAbsoluteFile()),
+            FileLocator.locateFile("org/apache/ctakes/dictionary/lookup/LookupDesc_Db.xml")),
         "DbConnection",
         ExternalResourceFactory.createExternalResourceDescription(
             JdbcConnectionResourceImpl.class,
@@ -371,7 +371,7 @@ public abstract class Evaluation_ImplBas
             "UseMemoryIndex",
             true,
             "IndexDirectory",
-            new File("target/unpacked/org/apache/ctakes/dictionary/lookup/OrangeBook").getAbsoluteFile())));
+            FileLocator.locateFile("org/apache/ctakes/dictionary/lookup/OrangeBook"))));
 
     // add lvg annotator
     String[] XeroxTreebankMap = {



Mime
View raw message