incubator-ctakes-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chen...@apache.org
Subject svn commit: r1397680 - /incubator/ctakes/trunk/ctakes-relation-extractor/src/test/java/org/apache/ctakes/relationextractor/ae/NamedEntityFeaturesExtractorTest.java
Date Fri, 12 Oct 2012 18:45:11 GMT
Author: chenpei
Date: Fri Oct 12 18:45:11 2012
New Revision: 1397680

URL: http://svn.apache.org/viewvc?rev=1397680&view=rev
Log:
Update unit tests.
Forgot to update the Relation extraction unit test (it still had an old desc path to the type
system.)

Modified:
    incubator/ctakes/trunk/ctakes-relation-extractor/src/test/java/org/apache/ctakes/relationextractor/ae/NamedEntityFeaturesExtractorTest.java

Modified: incubator/ctakes/trunk/ctakes-relation-extractor/src/test/java/org/apache/ctakes/relationextractor/ae/NamedEntityFeaturesExtractorTest.java
URL: http://svn.apache.org/viewvc/incubator/ctakes/trunk/ctakes-relation-extractor/src/test/java/org/apache/ctakes/relationextractor/ae/NamedEntityFeaturesExtractorTest.java?rev=1397680&r1=1397679&r2=1397680&view=diff
==============================================================================
--- incubator/ctakes/trunk/ctakes-relation-extractor/src/test/java/org/apache/ctakes/relationextractor/ae/NamedEntityFeaturesExtractorTest.java
(original)
+++ incubator/ctakes/trunk/ctakes-relation-extractor/src/test/java/org/apache/ctakes/relationextractor/ae/NamedEntityFeaturesExtractorTest.java
Fri Oct 12 18:45:11 2012
@@ -35,7 +35,7 @@ public class NamedEntityFeaturesExtracto
   @Test
   public void test() throws Exception {
     // create and populate a JCas with some EntityMention objects
-    JCas jCas = JCasFactory.createJCasFromPath("../ctakes-type-system/desc/common_type_system.xml");
+    JCas jCas = JCasFactory.createJCas("org.apache.ctakes.typesystem.types.TypeSystem");
     jCas.setDocumentText("aaa bbb ccc ddd");
     EntityMention e1 = new EntityMention(jCas, 0, 3);
     e1.setTypeID(42);



Mime
View raw message