clerezza-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tomm...@apache.org
Subject svn commit: r915745 - in /incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils: ./ src/main/java/org/apache/clerezza/uima/utils/ src/main/java/org/apache/clerezza/uima/utils/exception/ src/main/res...
Date Wed, 24 Feb 2010 10:43:41 GMT
Author: tommaso
Date: Wed Feb 24 10:43:40 2010
New Revision: 915745

URL: http://svn.apache.org/viewvc?rev=915745&view=rev
Log:
[CLEREZZA-111] - little improvements

Added:
    incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/src/main/java/org/apache/clerezza/uima/utils/UIMAUtils.java
  (with props)
    incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/src/main/java/org/apache/clerezza/uima/utils/exception/
    incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/src/main/java/org/apache/clerezza/uima/utils/exception/ExecutionWithoutResultsException.java
  (with props)
    incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/src/main/java/org/apache/clerezza/uima/utils/exception/NotSingletonFeatureStructureException.java
  (with props)
    incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/src/main/resources/ExtServicesAE.xml
  (with props)
    incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/src/test/java/org/
    incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/src/test/java/org/apache/
    incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/src/test/java/org/apache/clerezza/
    incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/src/test/java/org/apache/clerezza/uima/
    incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/src/test/java/org/apache/clerezza/uima/utils/
    incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/src/test/java/org/apache/clerezza/uima/utils/AEProviderTest.java
  (with props)
    incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/src/test/java/org/apache/clerezza/uima/utils/UIMAExecutorTest.java
  (with props)
    incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/src/test/resources/ExtServicesAE.xml
  (with props)
Modified:
    incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/
  (props changed)
    incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/pom.xml
    incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/src/main/java/org/apache/clerezza/uima/utils/UIMAExecutor.java

Propchange: incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Wed Feb 24 10:43:40 2010
@@ -0,0 +1,4 @@
+.settings
+target
+.classpath
+.project

Modified: incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/pom.xml
URL: http://svn.apache.org/viewvc/incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/pom.xml?rev=915745&r1=915744&r2=915745&view=diff
==============================================================================
--- incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/pom.xml
(original)
+++ incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/pom.xml
Wed Feb 24 10:43:40 2010
@@ -12,4 +12,16 @@
 		<artifactId>org.apache.clerezza.uima</artifactId>
 		<version>0.1-incubating-SNAPSHOT</version>
 	</parent>
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.uima</groupId>
+      <artifactId>alchemy-annotator</artifactId>
+      <version>2.3.0-incubating</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.uima</groupId>
+      <artifactId>OpenCalaisAnnotator</artifactId>
+      <version>2.3.0-incubating</version>
+    </dependency>
+  </dependencies>
 </project>
\ No newline at end of file

Modified: incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/src/main/java/org/apache/clerezza/uima/utils/UIMAExecutor.java
URL: http://svn.apache.org/viewvc/incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/src/main/java/org/apache/clerezza/uima/utils/UIMAExecutor.java?rev=915745&r1=915744&r2=915745&view=diff
==============================================================================
--- incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/src/main/java/org/apache/clerezza/uima/utils/UIMAExecutor.java
(original)
+++ incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/src/main/java/org/apache/clerezza/uima/utils/UIMAExecutor.java
Wed Feb 24 10:43:40 2010
@@ -1,23 +1,34 @@
 package org.apache.clerezza.uima.utils;
 
-
+import org.apache.clerezza.uima.utils.exception.ExecutionWithoutResultsException;
 import org.apache.uima.analysis_engine.AnalysisEngine;
 import org.apache.uima.analysis_engine.AnalysisEngineProcessException;
 import org.apache.uima.jcas.JCas;
 import org.apache.uima.resource.ResourceInitializationException;
-import org.apache.uima.util.ProcessTrace;
-import org.apache.uima.util.ProcessTraceEvent;
 
 /**
  * Executes a UIMA pipeline
- *
+ * 
  * @author tommaso
- *
+ * 
  */
 public class UIMAExecutor {
 
   private transient final AEProvider aeProvider = new AEProvider();
 
+  private boolean withResults;
+
+  private JCas results;
+
+  public UIMAExecutor() {
+    withResults = false;
+  }
+
+  public UIMAExecutor withResults() {
+    this.withResults = true;
+    return this;
+  }
+
   public void analyzeDocument(String doc) throws AnalysisEngineProcessException {
     analyzeDocument(doc, aeProvider.getDefaultXMLPath());
   }
@@ -37,15 +48,28 @@
 
       // analyze a document
       jcas.setDocumentText(docText);
-      ProcessTrace pt = ae.process(jcas);
 
-      //TODO debug results
-     
-      jcas.reset();
+      ae.process(jcas);
+
+      if (withResults) {
+        setResults(jcas);
+      } else
+        jcas.reset();
     } catch (Exception e) {
       throw new AnalysisEngineProcessException(e);
     }
 
   }
 
+  public JCas getResults() {
+    if (!withResults)
+      throw new ExecutionWithoutResultsException();
+    return results;
+  }
+  
+  private void setResults(JCas jcas) {
+    this.results = jcas;
+
+  }
+
 }

Added: incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/src/main/java/org/apache/clerezza/uima/utils/UIMAUtils.java
URL: http://svn.apache.org/viewvc/incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/src/main/java/org/apache/clerezza/uima/utils/UIMAUtils.java?rev=915745&view=auto
==============================================================================
--- incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/src/main/java/org/apache/clerezza/uima/utils/UIMAUtils.java
(added)
+++ incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/src/main/java/org/apache/clerezza/uima/utils/UIMAUtils.java
Wed Feb 24 10:43:40 2010
@@ -0,0 +1,36 @@
+package org.apache.clerezza.uima.utils;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import org.apache.clerezza.uima.utils.exception.NotSingletonFeatureStructureException;
+import org.apache.uima.cas.FSIterator;
+import org.apache.uima.cas.FeatureStructure;
+import org.apache.uima.jcas.JCas;
+
+/**
+ * Utilities for managing UIMA data and features
+ * @author tommaso
+ *
+ */
+public class UIMAUtils {
+  
+  public static List<FeatureStructure> getAllFSofType(int type,JCas cas) {
+    List<FeatureStructure> featureStructures = new ArrayList<FeatureStructure>();
+    for (FSIterator<FeatureStructure> it = cas.getFSIndexRepository().getAllIndexedFS(cas.getCasType(type));
it.hasNext();) {
+      featureStructures.add(it.next());
+    }
+    return featureStructures;
+  }
+
+  public static FeatureStructure getSingletonFeatureStructure(int type, JCas cas) throws
NotSingletonFeatureStructureException {
+    FeatureStructure featureStructure = null;
+    for (FSIterator<FeatureStructure> it = cas.getFSIndexRepository().getAllIndexedFS(cas.getCasType(type));
it.hasNext();) {
+      featureStructure = it.next();
+      if (it.hasNext())
+        throw new NotSingletonFeatureStructureException();
+    }
+    return featureStructure;
+  }
+
+}

Propchange: incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/src/main/java/org/apache/clerezza/uima/utils/UIMAUtils.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/src/main/java/org/apache/clerezza/uima/utils/exception/ExecutionWithoutResultsException.java
URL: http://svn.apache.org/viewvc/incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/src/main/java/org/apache/clerezza/uima/utils/exception/ExecutionWithoutResultsException.java?rev=915745&view=auto
==============================================================================
--- incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/src/main/java/org/apache/clerezza/uima/utils/exception/ExecutionWithoutResultsException.java
(added)
+++ incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/src/main/java/org/apache/clerezza/uima/utils/exception/ExecutionWithoutResultsException.java
Wed Feb 24 10:43:40 2010
@@ -0,0 +1,14 @@
+package org.apache.clerezza.uima.utils.exception;
+
+public class ExecutionWithoutResultsException extends RuntimeException {
+
+  /**
+   * 
+   */
+  private static final long serialVersionUID = -3001462019532255319L;
+  
+  public ExecutionWithoutResultsException() {
+    super();
+  }
+
+}

Propchange: incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/src/main/java/org/apache/clerezza/uima/utils/exception/ExecutionWithoutResultsException.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/src/main/java/org/apache/clerezza/uima/utils/exception/NotSingletonFeatureStructureException.java
URL: http://svn.apache.org/viewvc/incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/src/main/java/org/apache/clerezza/uima/utils/exception/NotSingletonFeatureStructureException.java?rev=915745&view=auto
==============================================================================
--- incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/src/main/java/org/apache/clerezza/uima/utils/exception/NotSingletonFeatureStructureException.java
(added)
+++ incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/src/main/java/org/apache/clerezza/uima/utils/exception/NotSingletonFeatureStructureException.java
Wed Feb 24 10:43:40 2010
@@ -0,0 +1,14 @@
+package org.apache.clerezza.uima.utils.exception;
+
+public class NotSingletonFeatureStructureException extends Exception {
+
+  /**
+   * 
+   */
+  private static final long serialVersionUID = -5226914034672596670L;
+  
+  public NotSingletonFeatureStructureException() {
+    super();
+  }
+
+}

Propchange: incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/src/main/java/org/apache/clerezza/uima/utils/exception/NotSingletonFeatureStructureException.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/src/main/resources/ExtServicesAE.xml
URL: http://svn.apache.org/viewvc/incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/src/main/resources/ExtServicesAE.xml?rev=915745&view=auto
==============================================================================
--- incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/src/main/resources/ExtServicesAE.xml
(added)
+++ incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/src/main/resources/ExtServicesAE.xml
Wed Feb 24 10:43:40 2010
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<analysisEngineDescription xmlns="http://uima.apache.org/resourceSpecifier">
+  <frameworkImplementation>org.apache.uima.java</frameworkImplementation>
+  <primitive>false</primitive>
+  <delegateAnalysisEngineSpecifiers>
+    <delegateAnalysisEngine key="TextKeywordExtractionAEDescriptor">
+      <import name="TextKeywordExtractionAEDescriptor"/>
+    </delegateAnalysisEngine>
+    <delegateAnalysisEngine key="OpenCalaisAnnotator">
+      <import name="OpenCalaisAnnotator"/>
+    </delegateAnalysisEngine>
+  </delegateAnalysisEngineSpecifiers>
+  <analysisEngineMetaData>
+    <name>ExtServicesAE</name>
+    <description/>
+    <version>1.0</version>
+    <vendor/>
+    <configurationParameters/>
+    <configurationParameterSettings/>
+    <flowConstraints>
+      <fixedFlow>
+        <node>OpenCalaisAnnotator</node>
+        <node>TextKeywordExtractionAEDescriptor</node>
+      </fixedFlow>
+    </flowConstraints>
+    <fsIndexCollection/>
+    <capabilities>
+      <capability>
+        <inputs/>
+        <outputs/>
+        <languagesSupported/>
+      </capability>
+    </capabilities>
+    <operationalProperties>
+      <modifiesCas>true</modifiesCas>
+      <multipleDeploymentAllowed>true</multipleDeploymentAllowed>
+      <outputsNewCASes>false</outputsNewCASes>
+    </operationalProperties>
+  </analysisEngineMetaData>
+  <resourceManagerConfiguration/>
+</analysisEngineDescription>

Propchange: incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/src/main/resources/ExtServicesAE.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/src/test/java/org/apache/clerezza/uima/utils/AEProviderTest.java
URL: http://svn.apache.org/viewvc/incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/src/test/java/org/apache/clerezza/uima/utils/AEProviderTest.java?rev=915745&view=auto
==============================================================================
--- incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/src/test/java/org/apache/clerezza/uima/utils/AEProviderTest.java
(added)
+++ incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/src/test/java/org/apache/clerezza/uima/utils/AEProviderTest.java
Wed Feb 24 10:43:40 2010
@@ -0,0 +1,65 @@
+package org.apache.clerezza.uima.utils;
+
+import static org.junit.Assert.assertTrue;
+import static org.junit.Assert.fail;
+
+import org.apache.uima.analysis_engine.AnalysisEngine;
+import org.junit.Before;
+import org.junit.Test;
+
+/**
+ * Testcase for {@link AEProvider}
+ * 
+ * @author tommaso
+ * 
+ */
+public class AEProviderTest {
+
+  private AEProvider aeProvider;
+
+  @Before
+  public void setUp() {
+    this.aeProvider = new AEProvider();
+  }
+
+  @Test
+  public void testDefaulXMLPath() {
+    try {
+      String xmlPath = this.aeProvider.getDefaultXMLPath();
+      assertTrue(xmlPath != null);
+      assertTrue(xmlPath.equals("ExtServicesAE.xml"));
+    } catch (Throwable e) {
+      fail(e.getLocalizedMessage());
+    }
+  }
+
+  @Test
+  public void testGetDefaultAENotNull() {
+    try {
+      AnalysisEngine ae = this.aeProvider.getDefaultAE();
+      assertTrue(ae != null);
+    } catch (Throwable e) {
+      fail(e.getLocalizedMessage());
+    }
+  }
+
+  @Test
+  public void testGetAEWithPathNotNull() {
+    try {
+      AnalysisEngine ae = this.aeProvider.getAE("ExtServicesAE.xml");
+      assertTrue(ae != null);
+    } catch (Throwable e) {
+      fail(e.getLocalizedMessage());
+    }
+  }
+
+  @Test
+  public void testGetAEWithWrongPath() {
+    try {
+      this.aeProvider.getAE("thisIsSomethingWeird");
+      fail();
+    } catch (Throwable e) {
+    }
+  }
+
+}

Propchange: incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/src/test/java/org/apache/clerezza/uima/utils/AEProviderTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/src/test/java/org/apache/clerezza/uima/utils/UIMAExecutorTest.java
URL: http://svn.apache.org/viewvc/incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/src/test/java/org/apache/clerezza/uima/utils/UIMAExecutorTest.java?rev=915745&view=auto
==============================================================================
--- incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/src/test/java/org/apache/clerezza/uima/utils/UIMAExecutorTest.java
(added)
+++ incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/src/test/java/org/apache/clerezza/uima/utils/UIMAExecutorTest.java
Wed Feb 24 10:43:40 2010
@@ -0,0 +1,35 @@
+package org.apache.clerezza.uima.utils;
+
+import static org.junit.Assert.assertTrue;
+import static org.junit.Assert.fail;
+
+import org.junit.Test;
+
+/**
+ * Testcase for {@link UIMAExecutor}
+ * @author tommaso
+ *
+ */
+public class UIMAExecutorTest {
+
+  @Test
+  public void testDefaultConstructor() {
+    try {
+      UIMAExecutor uimaExecutor = new UIMAExecutor();
+      assertTrue(uimaExecutor != null);
+    } catch (Throwable e) {
+      fail(e.getLocalizedMessage());
+    }
+  }
+  
+  @Test
+  public void testWithResultsConstructor() {
+    try {
+      UIMAExecutor uimaExecutor = new UIMAExecutor().withResults();
+      assertTrue(uimaExecutor != null);
+    } catch (Throwable e) {
+      fail(e.getLocalizedMessage());
+    }
+  }
+
+}

Propchange: incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/src/test/java/org/apache/clerezza/uima/utils/UIMAExecutorTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/src/test/resources/ExtServicesAE.xml
URL: http://svn.apache.org/viewvc/incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/src/test/resources/ExtServicesAE.xml?rev=915745&view=auto
==============================================================================
--- incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/src/test/resources/ExtServicesAE.xml
(added)
+++ incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/src/test/resources/ExtServicesAE.xml
Wed Feb 24 10:43:40 2010
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<analysisEngineDescription xmlns="http://uima.apache.org/resourceSpecifier">
+  <frameworkImplementation>org.apache.uima.java</frameworkImplementation>
+  <primitive>false</primitive>
+  <delegateAnalysisEngineSpecifiers>
+    <delegateAnalysisEngine key="TextKeywordExtractionAEDescriptor">
+      <import name="TextKeywordExtractionAEDescriptor"/>
+    </delegateAnalysisEngine>
+    <delegateAnalysisEngine key="OpenCalaisAnnotator">
+      <import name="OpenCalaisAnnotator"/>
+    </delegateAnalysisEngine>
+  </delegateAnalysisEngineSpecifiers>
+  <analysisEngineMetaData>
+    <name>ExtServicesAE</name>
+    <description/>
+    <version>1.0</version>
+    <vendor/>
+    <configurationParameters/>
+    <configurationParameterSettings/>
+    <flowConstraints>
+      <fixedFlow>
+        <node>OpenCalaisAnnotator</node>
+        <node>TextKeywordExtractionAEDescriptor</node>
+      </fixedFlow>
+    </flowConstraints>
+    <fsIndexCollection/>
+    <capabilities>
+      <capability>
+        <inputs/>
+        <outputs/>
+        <languagesSupported/>
+      </capability>
+    </capabilities>
+    <operationalProperties>
+      <modifiesCas>true</modifiesCas>
+      <multipleDeploymentAllowed>true</multipleDeploymentAllowed>
+      <outputsNewCASes>false</outputsNewCASes>
+    </operationalProperties>
+  </analysisEngineMetaData>
+  <resourceManagerConfiguration/>
+</analysisEngineDescription>

Propchange: incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/src/test/resources/ExtServicesAE.xml
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message