ctakes-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dlig...@apache.org
Subject svn commit: r1624315 - in /ctakes/sandbox/ctakes-wsd: pom.xml src/main/java/org/apache/ctakes/wsd/pipelines/Analyze.java
Date Thu, 11 Sep 2014 15:10:32 GMT
Author: dligach
Date: Thu Sep 11 15:10:31 2014
New Revision: 1624315

URL: http://svn.apache.org/r1624315
Log:
updated pom to latest ctakes snapshot; removed unused code from Analyze.java

Modified:
    ctakes/sandbox/ctakes-wsd/pom.xml
    ctakes/sandbox/ctakes-wsd/src/main/java/org/apache/ctakes/wsd/pipelines/Analyze.java

Modified: ctakes/sandbox/ctakes-wsd/pom.xml
URL: http://svn.apache.org/viewvc/ctakes/sandbox/ctakes-wsd/pom.xml?rev=1624315&r1=1624314&r2=1624315&view=diff
==============================================================================
--- ctakes/sandbox/ctakes-wsd/pom.xml (original)
+++ ctakes/sandbox/ctakes-wsd/pom.xml Thu Sep 11 15:10:31 2014
@@ -28,7 +28,7 @@
   <parent>
     <groupId>org.apache.ctakes</groupId>
     <artifactId>ctakes</artifactId>
-    <version>3.1.2-SNAPSHOT</version>
+    <version>3.2.1-SNAPSHOT</version>
   </parent>
   <dependencies>
     <dependency>

Modified: ctakes/sandbox/ctakes-wsd/src/main/java/org/apache/ctakes/wsd/pipelines/Analyze.java
URL: http://svn.apache.org/viewvc/ctakes/sandbox/ctakes-wsd/src/main/java/org/apache/ctakes/wsd/pipelines/Analyze.java?rev=1624315&r1=1624314&r2=1624315&view=diff
==============================================================================
--- ctakes/sandbox/ctakes-wsd/src/main/java/org/apache/ctakes/wsd/pipelines/Analyze.java (original)
+++ ctakes/sandbox/ctakes-wsd/src/main/java/org/apache/ctakes/wsd/pipelines/Analyze.java Thu
Sep 11 15:10:31 2014
@@ -14,7 +14,6 @@ import org.apache.ctakes.typesystem.type
 import org.apache.ctakes.typesystem.type.textsem.IdentifiedAnnotation;
 import org.apache.uima.analysis_engine.AnalysisEngine;
 import org.apache.uima.analysis_engine.AnalysisEngineProcessException;
-import org.apache.uima.cas.CASException;
 import org.apache.uima.cas.FeatureStructure;
 import org.apache.uima.collection.CollectionReader;
 import org.apache.uima.jcas.JCas;
@@ -73,13 +72,6 @@ public class Analyze {
     @Override
     public void process(JCas jCas) throws AnalysisEngineProcessException {
 
-      JCas goldView;                                                                    
                                      
-      try {                                                                             
                                      
-        goldView = jCas.getView(GOLD_VIEW_NAME);                                        
                                      
-      } catch (CASException e) {                                                        
                                      
-        throw new AnalysisEngineProcessException(e);                                    
                                      
-      }   
-
       for (EventMention mention : Lists.newArrayList(JCasUtil.select(jCas, EventMention.class)))
{
         // for some reason in gold begin offset for some mentions is a huge number
         if(mention.getBegin() > jCas.getDocumentText().length()) {



Mime
View raw message