incubator-ctakes-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stevenbeth...@apache.org
Subject svn commit: r1399425 - /incubator/ctakes/trunk/ctakes-relation-extractor/src/test/java/org/apache/ctakes/relationextractor/ae/NamedEntityFeaturesExtractorTest.java
Date Wed, 17 Oct 2012 20:44:43 GMT
Author: stevenbethard
Date: Wed Oct 17 20:44:42 2012
New Revision: 1399425

URL: http://svn.apache.org/viewvc?rev=1399425&view=rev
Log:
Removes parameter to createJCas, which is no longer necessary since ctakes-type-system declares
a uimaFIT types.txt

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=1399425&r1=1399424&r2=1399425&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
Wed Oct 17 20:44:42 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.createJCas("org.apache.ctakes.typesystem.types.TypeSystem");
+    JCas jCas = JCasFactory.createJCas();
     jCas.setDocumentText("aaa bbb ccc ddd");
     EntityMention e1 = new EntityMention(jCas, 0, 3);
     e1.setTypeID(42);



Mime
View raw message