clerezza-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tomm...@apache.org
Subject svn commit: r1159977 - /incubator/clerezza/trunk/parent/uima/uima.utils/src/test/java/org/apache/clerezza/uima/annotator/DummyWikipediaEntityAnnotator.java
Date Sun, 21 Aug 2011 12:52:15 GMT
Author: tommaso
Date: Sun Aug 21 12:52:15 2011
New Revision: 1159977

URL: http://svn.apache.org/viewvc?rev=1159977&view=rev
Log:
[CLEREZZA-625] - using 'label' instead of 'name' in the test annotator

Modified:
    incubator/clerezza/trunk/parent/uima/uima.utils/src/test/java/org/apache/clerezza/uima/annotator/DummyWikipediaEntityAnnotator.java

Modified: incubator/clerezza/trunk/parent/uima/uima.utils/src/test/java/org/apache/clerezza/uima/annotator/DummyWikipediaEntityAnnotator.java
URL: http://svn.apache.org/viewvc/incubator/clerezza/trunk/parent/uima/uima.utils/src/test/java/org/apache/clerezza/uima/annotator/DummyWikipediaEntityAnnotator.java?rev=1159977&r1=1159976&r2=1159977&view=diff
==============================================================================
--- incubator/clerezza/trunk/parent/uima/uima.utils/src/test/java/org/apache/clerezza/uima/annotator/DummyWikipediaEntityAnnotator.java
(original)
+++ incubator/clerezza/trunk/parent/uima/uima.utils/src/test/java/org/apache/clerezza/uima/annotator/DummyWikipediaEntityAnnotator.java
Sun Aug 21 12:52:15 2011
@@ -33,7 +33,7 @@ public class DummyWikipediaEntityAnnotat
   public void process(JCas jcas) throws AnalysisEngineProcessException {
     WikipediaEntity wikipediaEntity = new WikipediaEntity(jcas);
     wikipediaEntity.setUri("http://en.wikipedia.org/wiki/STS-135");
-    wikipediaEntity.setName("STS-135");
+    wikipediaEntity.setLabel("STS-135");
     FSList stsAnnotationsList = findSTSAnnotations(jcas);
     wikipediaEntity.setReferences(stsAnnotationsList);
     wikipediaEntity.addToIndexes();



Mime
View raw message