You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by pk...@apache.org on 2013/09/05 14:16:30 UTC

svn commit: r1520290 - in /uima/sandbox/ruta/trunk/example-projects/TextRulerExample/descriptor: BasicTypeSystem.xml InternalTypeSystem.xml utils/Cutter.xml utils/ViewWriter.xml

Author: pkluegl
Date: Thu Sep  5 12:16:29 2013
New Revision: 1520290

URL: http://svn.apache.org/r1520290
Log:
UIMA-3241
- checked and updated textruler example project

Added:
    uima/sandbox/ruta/trunk/example-projects/TextRulerExample/descriptor/utils/Cutter.xml
    uima/sandbox/ruta/trunk/example-projects/TextRulerExample/descriptor/utils/ViewWriter.xml
Modified:
    uima/sandbox/ruta/trunk/example-projects/TextRulerExample/descriptor/BasicTypeSystem.xml
    uima/sandbox/ruta/trunk/example-projects/TextRulerExample/descriptor/InternalTypeSystem.xml

Modified: uima/sandbox/ruta/trunk/example-projects/TextRulerExample/descriptor/BasicTypeSystem.xml
URL: http://svn.apache.org/viewvc/uima/sandbox/ruta/trunk/example-projects/TextRulerExample/descriptor/BasicTypeSystem.xml?rev=1520290&r1=1520289&r2=1520290&view=diff
==============================================================================
--- uima/sandbox/ruta/trunk/example-projects/TextRulerExample/descriptor/BasicTypeSystem.xml (original)
+++ uima/sandbox/ruta/trunk/example-projects/TextRulerExample/descriptor/BasicTypeSystem.xml Thu Sep  5 12:16:29 2013
@@ -1,4 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
+
 <!--
   Licensed to the Apache Software Foundation (ASF) under one
   or more contributor license agreements.  See the NOTICE file
@@ -17,7 +18,6 @@
   specific language governing permissions and limitations
   under the License.
 -->
-
 <typeSystemDescription xmlns="http://uima.apache.org/resourceSpecifier">
   <name>BasicTypeSystem</name>
   <description/>
@@ -140,7 +140,7 @@
     <typeDescription>
       <name>org.apache.uima.ruta.type.Document</name>
       <description/>
-      <supertypeName>uima.tcas.DocumentAnnotation</supertypeName>
+      <supertypeName>uima.tcas.Annotation</supertypeName>
     </typeDescription>
     <typeDescription>
       <name>org.apache.uima.ruta.type.TokenSeed</name>

Modified: uima/sandbox/ruta/trunk/example-projects/TextRulerExample/descriptor/InternalTypeSystem.xml
URL: http://svn.apache.org/viewvc/uima/sandbox/ruta/trunk/example-projects/TextRulerExample/descriptor/InternalTypeSystem.xml?rev=1520290&r1=1520289&r2=1520290&view=diff
==============================================================================
--- uima/sandbox/ruta/trunk/example-projects/TextRulerExample/descriptor/InternalTypeSystem.xml (original)
+++ uima/sandbox/ruta/trunk/example-projects/TextRulerExample/descriptor/InternalTypeSystem.xml Thu Sep  5 12:16:29 2013
@@ -37,6 +37,11 @@
       </features>
     </typeDescription>
     <typeDescription>
+      <name>org.apache.uima.ruta.type.RutaOptional</name>
+      <description/>
+      <supertypeName>uima.tcas.Annotation</supertypeName>
+    </typeDescription>
+    <typeDescription>
       <name>org.apache.uima.ruta.type.RutaAnnotation</name>
       <description/>
       <supertypeName>uima.tcas.Annotation</supertypeName>

Added: uima/sandbox/ruta/trunk/example-projects/TextRulerExample/descriptor/utils/Cutter.xml
URL: http://svn.apache.org/viewvc/uima/sandbox/ruta/trunk/example-projects/TextRulerExample/descriptor/utils/Cutter.xml?rev=1520290&view=auto
==============================================================================
--- uima/sandbox/ruta/trunk/example-projects/TextRulerExample/descriptor/utils/Cutter.xml (added)
+++ uima/sandbox/ruta/trunk/example-projects/TextRulerExample/descriptor/utils/Cutter.xml Thu Sep  5 12:16:29 2013
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+  
+  http://www.apache.org/licenses/LICENSE-2.0
+  
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+
+<analysisEngineDescription xmlns="http://uima.apache.org/resourceSpecifier">
+  <frameworkImplementation>org.apache.uima.java</frameworkImplementation>
+  <primitive>true</primitive>
+  <annotatorImplementationName>org.apache.uima.ruta.engine.RutaCutter</annotatorImplementationName>
+  <analysisEngineMetaData>
+    <name>XMLConverter</name>
+    <description/>
+    <version>1.0</version>
+    <vendor/>
+    <configurationParameters>
+      <configurationParameter>
+        <name>outputView</name>
+        <type>String</type>
+        <multiValued>false</multiValued>
+        <mandatory>false</mandatory>
+      </configurationParameter>
+      <configurationParameter>
+        <name>inputView</name>
+        <type>String</type>
+        <multiValued>false</multiValued>
+        <mandatory>false</mandatory>
+      </configurationParameter>
+      <configurationParameter>
+        <name>keep</name>
+        <type>String</type>
+        <multiValued>false</multiValued>
+        <mandatory>false</mandatory>
+      </configurationParameter>
+    </configurationParameters>
+    <configurationParameterSettings/>
+    <typeSystemDescription/>
+    <typePriorities/>
+    <fsIndexCollection/>
+    <capabilities>
+      <capability>
+        <inputs/>
+        <outputs/>
+        <languagesSupported/>
+      </capability>
+    </capabilities>
+    <operationalProperties>
+      <modifiesCas>true</modifiesCas>
+      <multipleDeploymentAllowed>true</multipleDeploymentAllowed>
+      <outputsNewCASes>false</outputsNewCASes>
+    </operationalProperties>
+  </analysisEngineMetaData>
+  <resourceManagerConfiguration/>
+</analysisEngineDescription>

Added: uima/sandbox/ruta/trunk/example-projects/TextRulerExample/descriptor/utils/ViewWriter.xml
URL: http://svn.apache.org/viewvc/uima/sandbox/ruta/trunk/example-projects/TextRulerExample/descriptor/utils/ViewWriter.xml?rev=1520290&view=auto
==============================================================================
--- uima/sandbox/ruta/trunk/example-projects/TextRulerExample/descriptor/utils/ViewWriter.xml (added)
+++ uima/sandbox/ruta/trunk/example-projects/TextRulerExample/descriptor/utils/ViewWriter.xml Thu Sep  5 12:16:29 2013
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+  
+  http://www.apache.org/licenses/LICENSE-2.0
+  
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+
+<analysisEngineDescription xmlns="http://uima.apache.org/resourceSpecifier">
+  <frameworkImplementation>org.apache.uima.java</frameworkImplementation>
+  <primitive>true</primitive>
+  <annotatorImplementationName>org.apache.uima.ruta.engine.ViewWriter</annotatorImplementationName>
+  <analysisEngineMetaData>
+    <name>XMLConverter</name>
+    <description/>
+    <version>1.0</version>
+    <vendor/>
+    <configurationParameters>
+      <configurationParameter>
+        <name>outputView</name>
+        <type>String</type>
+        <multiValued>false</multiValued>
+        <mandatory>false</mandatory>
+      </configurationParameter>
+      <configurationParameter>
+        <name>inputView</name>
+        <type>String</type>
+        <multiValued>false</multiValued>
+        <mandatory>false</mandatory>
+      </configurationParameter>
+      <configurationParameter>
+        <name>output</name>
+        <type>String</type>
+        <multiValued>false</multiValued>
+        <mandatory>false</mandatory>
+      </configurationParameter>
+    </configurationParameters>
+    <configurationParameterSettings/>
+    <typeSystemDescription/>
+    <typePriorities/>
+    <fsIndexCollection/>
+    <capabilities>
+      <capability>
+        <inputs/>
+        <outputs/>
+        <languagesSupported/>
+      </capability>
+    </capabilities>
+    <operationalProperties>
+      <modifiesCas>true</modifiesCas>
+      <multipleDeploymentAllowed>true</multipleDeploymentAllowed>
+      <outputsNewCASes>true</outputsNewCASes>
+    </operationalProperties>
+  </analysisEngineMetaData>
+  <resourceManagerConfiguration/>
+</analysisEngineDescription>