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 2019/11/18 12:19:33 UTC
svn commit: r1869967 [3/12] - in /uima/uv3/ruta-v3/trunk: ./
example-projects/ExampleProject/descriptor/
example-projects/ExampleProject/descriptor/uima/ruta/example/
example-projects/ExtensionsExample/ example-projects/GermanNovels/
example-projects/M...
Added: uima/uv3/ruta-v3/trunk/example-projects/TextRulerExample/descriptor/RutaInternalTypeSystem.xml
URL: http://svn.apache.org/viewvc/uima/uv3/ruta-v3/trunk/example-projects/TextRulerExample/descriptor/RutaInternalTypeSystem.xml?rev=1869967&view=auto
==============================================================================
--- uima/uv3/ruta-v3/trunk/example-projects/TextRulerExample/descriptor/RutaInternalTypeSystem.xml (added)
+++ uima/uv3/ruta-v3/trunk/example-projects/TextRulerExample/descriptor/RutaInternalTypeSystem.xml Mon Nov 18 12:19:31 2019
@@ -0,0 +1,385 @@
+<?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.
+-->
+<typeSystemDescription xmlns="http://uima.apache.org/resourceSpecifier">
+ <name>org.apache.uima.ruta.engine.RutaInternalTypeSystem</name>
+ <description/>
+ <version>1.0</version>
+ <vendor/>
+ <types>
+ <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>
+ <features>
+ <featureDescription>
+ <name>score</name>
+ <description/>
+ <rangeTypeName>uima.cas.Double</rangeTypeName>
+ </featureDescription>
+ <featureDescription>
+ <name>annotation</name>
+ <description/>
+ <rangeTypeName>uima.tcas.Annotation</rangeTypeName>
+ </featureDescription>
+ </features>
+ </typeDescription>
+ <typeDescription>
+ <name>org.apache.uima.ruta.type.DebugRuleApply</name>
+ <description/>
+ <supertypeName>org.apache.uima.ruta.type.DebugScriptApply</supertypeName>
+ <features>
+ <featureDescription>
+ <name>applied</name>
+ <description/>
+ <rangeTypeName>uima.cas.Integer</rangeTypeName>
+ </featureDescription>
+ <featureDescription>
+ <name>tried</name>
+ <description/>
+ <rangeTypeName>uima.cas.Integer</rangeTypeName>
+ </featureDescription>
+ <featureDescription>
+ <name>rules</name>
+ <description/>
+ <rangeTypeName>uima.cas.FSArray</rangeTypeName>
+ <elementType>org.apache.uima.ruta.type.DebugRuleMatch</elementType>
+ </featureDescription>
+ <featureDescription>
+ <name>id</name>
+ <description/>
+ <rangeTypeName>uima.cas.Integer</rangeTypeName>
+ </featureDescription>
+ <featureDescription>
+ <name>script</name>
+ <description/>
+ <rangeTypeName>uima.cas.String</rangeTypeName>
+ </featureDescription>
+ </features>
+ </typeDescription>
+ <typeDescription>
+ <name>org.apache.uima.ruta.type.DebugRuleMatch</name>
+ <description/>
+ <supertypeName>org.apache.uima.ruta.type.ProfiledAnnotation</supertypeName>
+ <features>
+ <featureDescription>
+ <name>elements</name>
+ <description/>
+ <rangeTypeName>uima.cas.FSArray</rangeTypeName>
+ <elementType>org.apache.uima.ruta.type.DebugRuleElementMatches</elementType>
+ </featureDescription>
+ <featureDescription>
+ <name>matched</name>
+ <description/>
+ <rangeTypeName>uima.cas.Boolean</rangeTypeName>
+ </featureDescription>
+ <featureDescription>
+ <name>delegates</name>
+ <description/>
+ <rangeTypeName>uima.cas.FSArray</rangeTypeName>
+ <elementType>org.apache.uima.ruta.type.DebugScriptApply</elementType>
+ </featureDescription>
+ </features>
+ </typeDescription>
+ <typeDescription>
+ <name>org.apache.uima.ruta.type.DebugScriptApply</name>
+ <description/>
+ <supertypeName>org.apache.uima.ruta.type.ProfiledAnnotation</supertypeName>
+ <features>
+ <featureDescription>
+ <name>element</name>
+ <description/>
+ <rangeTypeName>uima.cas.String</rangeTypeName>
+ </featureDescription>
+ <featureDescription>
+ <name>timestamp</name>
+ <description/>
+ <rangeTypeName>uima.cas.Long</rangeTypeName>
+ </featureDescription>
+ </features>
+ </typeDescription>
+ <typeDescription>
+ <name>org.apache.uima.ruta.type.DebugBlockApply</name>
+ <description/>
+ <supertypeName>org.apache.uima.ruta.type.DebugRuleApply</supertypeName>
+ <features>
+ <featureDescription>
+ <name>innerApply</name>
+ <description/>
+ <rangeTypeName>uima.cas.FSArray</rangeTypeName>
+ <elementType>org.apache.uima.ruta.type.DebugScriptApply</elementType>
+ </featureDescription>
+ </features>
+ </typeDescription>
+ <typeDescription>
+ <name>org.apache.uima.ruta.type.DebugRuleElementMatch</name>
+ <description/>
+ <supertypeName>org.apache.uima.ruta.type.ProfiledAnnotation</supertypeName>
+ <features>
+ <featureDescription>
+ <name>baseCondition</name>
+ <description/>
+ <rangeTypeName>org.apache.uima.ruta.type.DebugEvaluatedCondition</rangeTypeName>
+ </featureDescription>
+ <featureDescription>
+ <name>conditions</name>
+ <description/>
+ <rangeTypeName>uima.cas.FSArray</rangeTypeName>
+ <elementType>org.apache.uima.ruta.type.DebugEvaluatedCondition</elementType>
+ </featureDescription>
+ <featureDescription>
+ <name>elements</name>
+ <description/>
+ <rangeTypeName>uima.cas.FSArray</rangeTypeName>
+ <elementType>org.apache.uima.ruta.type.DebugRuleElementMatches</elementType>
+ <multipleReferencesAllowed>false</multipleReferencesAllowed>
+ </featureDescription>
+ <featureDescription>
+ <name>inlinedConditionBlocks</name>
+ <description/>
+ <rangeTypeName>uima.cas.FSArray</rangeTypeName>
+ <elementType>org.apache.uima.ruta.type.DebugInlinedBlock</elementType>
+ <multipleReferencesAllowed>false</multipleReferencesAllowed>
+ </featureDescription>
+ </features>
+ </typeDescription>
+ <typeDescription>
+ <name>org.apache.uima.ruta.type.DebugRuleElementMatches</name>
+ <description/>
+ <supertypeName>uima.cas.TOP</supertypeName>
+ <features>
+ <featureDescription>
+ <name>matches</name>
+ <description/>
+ <rangeTypeName>uima.cas.FSArray</rangeTypeName>
+ <elementType>org.apache.uima.ruta.type.DebugRuleElementMatch</elementType>
+ </featureDescription>
+ <featureDescription>
+ <name>element</name>
+ <description/>
+ <rangeTypeName>uima.cas.String</rangeTypeName>
+ </featureDescription>
+ <featureDescription>
+ <name>ruleAnchor</name>
+ <description/>
+ <rangeTypeName>uima.cas.Boolean</rangeTypeName>
+ </featureDescription>
+ <featureDescription>
+ <name>inlinedActionBlocks</name>
+ <description/>
+ <rangeTypeName>uima.cas.FSArray</rangeTypeName>
+ <elementType>org.apache.uima.ruta.type.DebugInlinedBlock</elementType>
+ <multipleReferencesAllowed>false</multipleReferencesAllowed>
+ </featureDescription>
+ </features>
+ </typeDescription>
+ <typeDescription>
+ <name>org.apache.uima.ruta.type.DebugInlinedBlock</name>
+ <description/>
+ <supertypeName>uima.cas.TOP</supertypeName>
+ <features>
+ <featureDescription>
+ <name>element</name>
+ <description/>
+ <rangeTypeName>uima.cas.String</rangeTypeName>
+ </featureDescription>
+ <featureDescription>
+ <name>asCondition</name>
+ <description/>
+ <rangeTypeName>uima.cas.Boolean</rangeTypeName>
+ </featureDescription>
+ <featureDescription>
+ <name>matched</name>
+ <description/>
+ <rangeTypeName>uima.cas.Boolean</rangeTypeName>
+ </featureDescription>
+ <featureDescription>
+ <name>inlinedRules</name>
+ <description/>
+ <rangeTypeName>uima.cas.FSArray</rangeTypeName>
+ <elementType>org.apache.uima.ruta.type.DebugScriptApply</elementType>
+ <multipleReferencesAllowed>false</multipleReferencesAllowed>
+ </featureDescription>
+ </features>
+ </typeDescription>
+ <typeDescription>
+ <name>org.apache.uima.ruta.type.RutaColoring</name>
+ <description/>
+ <supertypeName>uima.tcas.Annotation</supertypeName>
+ <features>
+ <featureDescription>
+ <name>bgColor</name>
+ <description/>
+ <rangeTypeName>uima.cas.String</rangeTypeName>
+ </featureDescription>
+ <featureDescription>
+ <name>targetType</name>
+ <description/>
+ <rangeTypeName>uima.cas.String</rangeTypeName>
+ </featureDescription>
+ <featureDescription>
+ <name>fgColor</name>
+ <description/>
+ <rangeTypeName>uima.cas.String</rangeTypeName>
+ </featureDescription>
+ <featureDescription>
+ <name>selected</name>
+ <description/>
+ <rangeTypeName>uima.cas.Boolean</rangeTypeName>
+ </featureDescription>
+ </features>
+ </typeDescription>
+ <typeDescription>
+ <name>org.apache.uima.ruta.type.DebugEvaluatedCondition</name>
+ <description/>
+ <supertypeName>uima.cas.TOP</supertypeName>
+ <features>
+ <featureDescription>
+ <name>element</name>
+ <description/>
+ <rangeTypeName>uima.cas.String</rangeTypeName>
+ </featureDescription>
+ <featureDescription>
+ <name>value</name>
+ <description/>
+ <rangeTypeName>uima.cas.Boolean</rangeTypeName>
+ </featureDescription>
+ <featureDescription>
+ <name>conditions</name>
+ <description/>
+ <rangeTypeName>uima.cas.FSArray</rangeTypeName>
+ <elementType>org.apache.uima.ruta.type.DebugEvaluatedCondition</elementType>
+ </featureDescription>
+ </features>
+ </typeDescription>
+ <typeDescription>
+ <name>org.apache.uima.ruta.type.DebugMatchedRuleMatch</name>
+ <description/>
+ <supertypeName>org.apache.uima.ruta.type.DebugRuleMatch</supertypeName>
+ </typeDescription>
+ <typeDescription>
+ <name>org.apache.uima.ruta.type.DebugFailedRuleMatch</name>
+ <description/>
+ <supertypeName>org.apache.uima.ruta.type.DebugRuleMatch</supertypeName>
+ </typeDescription>
+ <typeDescription>
+ <name>org.apache.uima.ruta.type.FalsePositive</name>
+ <description/>
+ <supertypeName>org.apache.uima.ruta.type.EvalAnnotation</supertypeName>
+ </typeDescription>
+ <typeDescription>
+ <name>org.apache.uima.ruta.type.EvalAnnotation</name>
+ <description/>
+ <supertypeName>uima.tcas.Annotation</supertypeName>
+ <features>
+ <featureDescription>
+ <name>original</name>
+ <description/>
+ <rangeTypeName>uima.tcas.Annotation</rangeTypeName>
+ </featureDescription>
+ </features>
+ </typeDescription>
+ <typeDescription>
+ <name>org.apache.uima.ruta.type.FalseNegative</name>
+ <description/>
+ <supertypeName>org.apache.uima.ruta.type.EvalAnnotation</supertypeName>
+ </typeDescription>
+ <typeDescription>
+ <name>org.apache.uima.ruta.type.ProfiledAnnotation</name>
+ <description/>
+ <supertypeName>uima.tcas.Annotation</supertypeName>
+ <features>
+ <featureDescription>
+ <name>time</name>
+ <description/>
+ <rangeTypeName>uima.cas.Long</rangeTypeName>
+ </featureDescription>
+ </features>
+ </typeDescription>
+ <typeDescription>
+ <name>org.apache.uima.ruta.type.RutaFrame</name>
+ <description/>
+ <supertypeName>uima.tcas.Annotation</supertypeName>
+ </typeDescription>
+ <typeDescription>
+ <name>org.apache.uima.ruta.type.Statistics</name>
+ <description/>
+ <supertypeName>uima.cas.TOP</supertypeName>
+ <features>
+ <featureDescription>
+ <name>name</name>
+ <description/>
+ <rangeTypeName>uima.cas.StringArray</rangeTypeName>
+ </featureDescription>
+ <featureDescription>
+ <name>total</name>
+ <description/>
+ <rangeTypeName>uima.cas.DoubleArray</rangeTypeName>
+ </featureDescription>
+ <featureDescription>
+ <name>amount</name>
+ <description/>
+ <rangeTypeName>uima.cas.IntegerArray</rangeTypeName>
+ </featureDescription>
+ <featureDescription>
+ <name>part</name>
+ <description/>
+ <rangeTypeName>uima.cas.DoubleArray</rangeTypeName>
+ </featureDescription>
+ </features>
+ </typeDescription>
+ <typeDescription>
+ <name>org.apache.uima.ruta.type.TruePositive</name>
+ <description/>
+ <supertypeName>org.apache.uima.ruta.type.EvalAnnotation</supertypeName>
+ </typeDescription>
+ <typeDescription>
+ <name>org.apache.uima.ruta.type.DebugCreatedBy</name>
+ <description/>
+ <supertypeName>uima.cas.TOP</supertypeName>
+ <features>
+ <featureDescription>
+ <name>rule</name>
+ <description/>
+ <rangeTypeName>uima.cas.String</rangeTypeName>
+ </featureDescription>
+ <featureDescription>
+ <name>annotation</name>
+ <description/>
+ <rangeTypeName>uima.tcas.Annotation</rangeTypeName>
+ </featureDescription>
+ <featureDescription>
+ <name>script</name>
+ <description/>
+ <rangeTypeName>uima.cas.String</rangeTypeName>
+ </featureDescription>
+ <featureDescription>
+ <name>id</name>
+ <description/>
+ <rangeTypeName>uima.cas.Integer</rangeTypeName>
+ </featureDescription>
+ </features>
+ </typeDescription>
+ </types>
+</typeSystemDescription>
Modified: uima/uv3/ruta-v3/trunk/example-projects/TextRulerExample/descriptor/uima/ruta/example/BaseEngine.xml
URL: http://svn.apache.org/viewvc/uima/uv3/ruta-v3/trunk/example-projects/TextRulerExample/descriptor/uima/ruta/example/BaseEngine.xml?rev=1869967&r1=1869966&r2=1869967&view=diff
==============================================================================
--- uima/uv3/ruta-v3/trunk/example-projects/TextRulerExample/descriptor/uima/ruta/example/BaseEngine.xml (original)
+++ uima/uv3/ruta-v3/trunk/example-projects/TextRulerExample/descriptor/uima/ruta/example/BaseEngine.xml Mon Nov 18 12:19:31 2019
@@ -1,11 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
-
<analysisEngineDescription xmlns="http://uima.apache.org/resourceSpecifier">
<frameworkImplementation>org.apache.uima.java</frameworkImplementation>
<primitive>true</primitive>
<annotatorImplementationName>org.apache.uima.ruta.engine.RutaEngine</annotatorImplementationName>
<analysisEngineMetaData>
- <name>BasicEngine</name>
+ <name>uima.ruta.example.BaseEngine</name>
<description/>
<version>1.0</version>
<vendor/>
@@ -181,9 +180,91 @@
<multiValued>false</multiValued>
<mandatory>false</mandatory>
</configurationParameter>
+ <configurationParameter>
+ <name>rulesScriptName</name>
+ <description/>
+ <type>String</type>
+ <multiValued>false</multiValued>
+ <mandatory>true</mandatory>
+ </configurationParameter>
+ <configurationParameter>
+ <name>dictRemoveWS</name>
+ <type>Boolean</type>
+ <multiValued>false</multiValued>
+ <mandatory>false</mandatory>
+ </configurationParameter>
+ <configurationParameter>
+ <name>reindexOnly</name>
+ <type>String</type>
+ <multiValued>true</multiValued>
+ <mandatory>false</mandatory>
+ </configurationParameter>
+ <configurationParameter>
+ <name>reindexOnlyMentionedTypes</name>
+ <type>Boolean</type>
+ <multiValued>false</multiValued>
+ <mandatory>false</mandatory>
+ </configurationParameter>
+ <configurationParameter>
+ <name>indexOnlyMentionedTypes</name>
+ <type>Boolean</type>
+ <multiValued>false</multiValued>
+ <mandatory>false</mandatory>
+ </configurationParameter>
+ <configurationParameter>
+ <name>indexAdditionally</name>
+ <type>String</type>
+ <multiValued>true</multiValued>
+ <mandatory>false</mandatory>
+ </configurationParameter>
+ <configurationParameter>
+ <name>emptyIsInvisible</name>
+ <type>Boolean</type>
+ <multiValued>false</multiValued>
+ <mandatory>false</mandatory>
+ </configurationParameter>
+ <configurationParameter>
+ <name>modifyDataPath</name>
+ <type>Boolean</type>
+ <multiValued>false</multiValued>
+ <mandatory>false</mandatory>
+ </configurationParameter>
+ <configurationParameter>
+ <name>csvSeparator</name>
+ <type>String</type>
+ <multiValued>false</multiValued>
+ <mandatory>false</mandatory>
+ </configurationParameter>
+ <configurationParameter>
+ <name>inferenceVisitors</name>
+ <description/>
+ <type>String</type>
+ <multiValued>true</multiValued>
+ <mandatory>false</mandatory>
+ </configurationParameter>
+ <configurationParameter>
+ <name>maxRuleMatches</name>
+ <description/>
+ <type>Integer</type>
+ <multiValued>false</multiValued>
+ <mandatory>false</mandatory>
+ </configurationParameter>
+ <configurationParameter>
+ <name>maxRuleElementMatches</name>
+ <description/>
+ <type>Integer</type>
+ <multiValued>false</multiValued>
+ <mandatory>false</mandatory>
+ </configurationParameter>
</configurationParameters>
<configurationParameterSettings>
<nameValuePair>
+ <name>rulesScriptName</name>
+ <value>
+ <string>Anonymous</string>
+ </value>
+ </nameValuePair>
+ <nameValuePair>
<name>debug</name>
<value>
<boolean>false</boolean>
@@ -232,16 +313,46 @@
</value>
</nameValuePair>
<nameValuePair>
+ <name>emptyIsInvisible</name>
+ <value>
+ <boolean>true</boolean>
+ </value>
+ </nameValuePair>
+ <nameValuePair>
+ <name>dictRemoveWS</name>
+ <value>
+ <boolean>true</boolean>
+ </value>
+ </nameValuePair>
+ <nameValuePair>
+ <name>inferenceVisitors</name>
+ <value>
+ <array/>
+ </value>
+ </nameValuePair>
+ <nameValuePair>
+ <name>maxRuleMatches</name>
+ <value>
+ <integer>2147483647</integer>
+ </value>
+ </nameValuePair>
+ <nameValuePair>
+ <name>maxRuleElementMatches</name>
+ <value>
+ <integer>2147483647</integer>
+ </value>
+ </nameValuePair>
+ <nameValuePair>
<name>mainScript</name>
<value>
- <string>Base</string>
+ <string>uima.ruta.example.Base</string>
</value>
</nameValuePair>
<nameValuePair>
<name>scriptPaths</name>
<value>
<array>
- <string>D:/work/ws-tutorial/TextRulerExample/script</string>
+ <string>C:/src/ws/ws-uima/ruta/example-projects/TextRulerExample/script</string>
</array>
</value>
</nameValuePair>
@@ -249,7 +360,7 @@
<name>descriptorPaths</name>
<value>
<array>
- <string>D:/work/ws-tutorial/TextRulerExample/descriptor</string>
+ <string>C:/src/ws/ws-uima/ruta/example-projects/TextRulerExample/descriptor</string>
</array>
</value>
</nameValuePair>
@@ -257,7 +368,7 @@
<name>resourcePaths</name>
<value>
<array>
- <string>D:\work\ws-tutorial\TextRulerExample\resources</string>
+ <string>C:/src/ws/ws-uima/ruta/example-projects/TextRulerExample/resources</string>
</array>
</value>
</nameValuePair>
@@ -283,27 +394,17 @@
<name>additionalExtensions</name>
<value>
<array>
- <string>org.apache.uima.ruta.example.extensions.ExampleConditionExtension</string>
- <string>org.apache.uima.ruta.example.extensions.ExampleActionExtension</string>
+ <string>org.apache.uima.ruta.action.MarkReloadExtension</string>
<string>org.apache.uima.ruta.string.bool.BooleanOperationsExtension</string>
- <string>org.apache.uima.ruta.example.extensions.ExampleBooleanFunctionExtension</string>
- <string>org.apache.uima.ruta.example.extensions.ExampleNumberFunctionExtension</string>
<string>org.apache.uima.ruta.string.StringOperationsExtension</string>
- <string>org.apache.uima.ruta.example.extensions.ExampleStringFunctionExtension</string>
- <string>org.apache.uima.ruta.example.extensions.ExampleTypeFunctionExtension</string>
+ <string>org.apache.uima.ruta.type.TypeFromStringFunctionExtension</string>
+ <string>org.apache.uima.ruta.block.DocumentBlockExtension</string>
<string>org.apache.uima.ruta.block.OnlyFirstBlockExtension</string>
<string>org.apache.uima.ruta.block.OnlyOnceBlockExtension</string>
<string>org.apache.uima.ruta.block.fst.FSTBlockExtension</string>
- <string>org.apache.uima.ruta.example.extensions.ExampleBlockExtension</string>
</array>
</value>
</nameValuePair>
- <nameValuePair>
- <name>additionalEngineLoaders</name>
- <value>
- <array/>
- </value>
- </nameValuePair>
</configurationParameterSettings>
<typeSystemDescription>
<imports>
Modified: uima/uv3/ruta-v3/trunk/example-projects/TextRulerExample/descriptor/uima/ruta/example/BaseTypeSystem.xml
URL: http://svn.apache.org/viewvc/uima/uv3/ruta-v3/trunk/example-projects/TextRulerExample/descriptor/uima/ruta/example/BaseTypeSystem.xml?rev=1869967&r1=1869966&r2=1869967&view=diff
==============================================================================
--- uima/uv3/ruta-v3/trunk/example-projects/TextRulerExample/descriptor/uima/ruta/example/BaseTypeSystem.xml (original)
+++ uima/uv3/ruta-v3/trunk/example-projects/TextRulerExample/descriptor/uima/ruta/example/BaseTypeSystem.xml Mon Nov 18 12:19:31 2019
@@ -1,9 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
-
<typeSystemDescription xmlns="http://uima.apache.org/resourceSpecifier">
- <name>BaseTypeSystem</name>
+ <name>uima.ruta.example.BaseTypeSystem</name>
<imports>
- <import location="..\..\..\BasicTypeSystem.xml"/>
- <import location="..\..\..\types\Bibtex.xml"/>
+ <import location="../../../BasicTypeSystem.xml"/>
+ <import location="../../../types/Bibtex.xml"/>
</imports>
</typeSystemDescription>
Modified: uima/uv3/ruta-v3/trunk/example-projects/TextRulerExample/descriptor/uima/ruta/example/FeaturesEngine.xml
URL: http://svn.apache.org/viewvc/uima/uv3/ruta-v3/trunk/example-projects/TextRulerExample/descriptor/uima/ruta/example/FeaturesEngine.xml?rev=1869967&r1=1869966&r2=1869967&view=diff
==============================================================================
--- uima/uv3/ruta-v3/trunk/example-projects/TextRulerExample/descriptor/uima/ruta/example/FeaturesEngine.xml (original)
+++ uima/uv3/ruta-v3/trunk/example-projects/TextRulerExample/descriptor/uima/ruta/example/FeaturesEngine.xml Mon Nov 18 12:19:31 2019
@@ -1,11 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
-
<analysisEngineDescription xmlns="http://uima.apache.org/resourceSpecifier">
<frameworkImplementation>org.apache.uima.java</frameworkImplementation>
<primitive>true</primitive>
<annotatorImplementationName>org.apache.uima.ruta.engine.RutaEngine</annotatorImplementationName>
<analysisEngineMetaData>
- <name>BasicEngine</name>
+ <name>uima.ruta.example.FeaturesEngine</name>
<description/>
<version>1.0</version>
<vendor/>
@@ -181,9 +180,91 @@
<multiValued>false</multiValued>
<mandatory>false</mandatory>
</configurationParameter>
+ <configurationParameter>
+ <name>rulesScriptName</name>
+ <description/>
+ <type>String</type>
+ <multiValued>false</multiValued>
+ <mandatory>true</mandatory>
+ </configurationParameter>
+ <configurationParameter>
+ <name>dictRemoveWS</name>
+ <type>Boolean</type>
+ <multiValued>false</multiValued>
+ <mandatory>false</mandatory>
+ </configurationParameter>
+ <configurationParameter>
+ <name>reindexOnly</name>
+ <type>String</type>
+ <multiValued>true</multiValued>
+ <mandatory>false</mandatory>
+ </configurationParameter>
+ <configurationParameter>
+ <name>reindexOnlyMentionedTypes</name>
+ <type>Boolean</type>
+ <multiValued>false</multiValued>
+ <mandatory>false</mandatory>
+ </configurationParameter>
+ <configurationParameter>
+ <name>indexOnlyMentionedTypes</name>
+ <type>Boolean</type>
+ <multiValued>false</multiValued>
+ <mandatory>false</mandatory>
+ </configurationParameter>
+ <configurationParameter>
+ <name>indexAdditionally</name>
+ <type>String</type>
+ <multiValued>true</multiValued>
+ <mandatory>false</mandatory>
+ </configurationParameter>
+ <configurationParameter>
+ <name>emptyIsInvisible</name>
+ <type>Boolean</type>
+ <multiValued>false</multiValued>
+ <mandatory>false</mandatory>
+ </configurationParameter>
+ <configurationParameter>
+ <name>modifyDataPath</name>
+ <type>Boolean</type>
+ <multiValued>false</multiValued>
+ <mandatory>false</mandatory>
+ </configurationParameter>
+ <configurationParameter>
+ <name>csvSeparator</name>
+ <type>String</type>
+ <multiValued>false</multiValued>
+ <mandatory>false</mandatory>
+ </configurationParameter>
+ <configurationParameter>
+ <name>inferenceVisitors</name>
+ <description/>
+ <type>String</type>
+ <multiValued>true</multiValued>
+ <mandatory>false</mandatory>
+ </configurationParameter>
+ <configurationParameter>
+ <name>maxRuleMatches</name>
+ <description/>
+ <type>Integer</type>
+ <multiValued>false</multiValued>
+ <mandatory>false</mandatory>
+ </configurationParameter>
+ <configurationParameter>
+ <name>maxRuleElementMatches</name>
+ <description/>
+ <type>Integer</type>
+ <multiValued>false</multiValued>
+ <mandatory>false</mandatory>
+ </configurationParameter>
</configurationParameters>
<configurationParameterSettings>
<nameValuePair>
+ <name>rulesScriptName</name>
+ <value>
+ <string>Anonymous</string>
+ </value>
+ </nameValuePair>
+ <nameValuePair>
<name>debug</name>
<value>
<boolean>false</boolean>
@@ -232,16 +313,46 @@
</value>
</nameValuePair>
<nameValuePair>
+ <name>emptyIsInvisible</name>
+ <value>
+ <boolean>true</boolean>
+ </value>
+ </nameValuePair>
+ <nameValuePair>
+ <name>dictRemoveWS</name>
+ <value>
+ <boolean>true</boolean>
+ </value>
+ </nameValuePair>
+ <nameValuePair>
+ <name>inferenceVisitors</name>
+ <value>
+ <array/>
+ </value>
+ </nameValuePair>
+ <nameValuePair>
+ <name>maxRuleMatches</name>
+ <value>
+ <integer>2147483647</integer>
+ </value>
+ </nameValuePair>
+ <nameValuePair>
+ <name>maxRuleElementMatches</name>
+ <value>
+ <integer>2147483647</integer>
+ </value>
+ </nameValuePair>
+ <nameValuePair>
<name>mainScript</name>
<value>
- <string>Features</string>
+ <string>uima.ruta.example.Features</string>
</value>
</nameValuePair>
<nameValuePair>
<name>scriptPaths</name>
<value>
<array>
- <string>D:/work/ws-tutorial/TextRulerExample/script</string>
+ <string>C:/src/ws/ws-uima/ruta/example-projects/TextRulerExample/script</string>
</array>
</value>
</nameValuePair>
@@ -249,7 +360,7 @@
<name>descriptorPaths</name>
<value>
<array>
- <string>D:/work/ws-tutorial/TextRulerExample/descriptor</string>
+ <string>C:/src/ws/ws-uima/ruta/example-projects/TextRulerExample/descriptor</string>
</array>
</value>
</nameValuePair>
@@ -257,7 +368,7 @@
<name>resourcePaths</name>
<value>
<array>
- <string>D:\work\ws-tutorial\TextRulerExample\resources</string>
+ <string>C:/src/ws/ws-uima/ruta/example-projects/TextRulerExample/resources</string>
</array>
</value>
</nameValuePair>
@@ -287,27 +398,17 @@
<name>additionalExtensions</name>
<value>
<array>
- <string>org.apache.uima.ruta.example.extensions.ExampleConditionExtension</string>
- <string>org.apache.uima.ruta.example.extensions.ExampleActionExtension</string>
+ <string>org.apache.uima.ruta.action.MarkReloadExtension</string>
<string>org.apache.uima.ruta.string.bool.BooleanOperationsExtension</string>
- <string>org.apache.uima.ruta.example.extensions.ExampleBooleanFunctionExtension</string>
- <string>org.apache.uima.ruta.example.extensions.ExampleNumberFunctionExtension</string>
<string>org.apache.uima.ruta.string.StringOperationsExtension</string>
- <string>org.apache.uima.ruta.example.extensions.ExampleStringFunctionExtension</string>
- <string>org.apache.uima.ruta.example.extensions.ExampleTypeFunctionExtension</string>
+ <string>org.apache.uima.ruta.type.TypeFromStringFunctionExtension</string>
+ <string>org.apache.uima.ruta.block.DocumentBlockExtension</string>
<string>org.apache.uima.ruta.block.OnlyFirstBlockExtension</string>
<string>org.apache.uima.ruta.block.OnlyOnceBlockExtension</string>
<string>org.apache.uima.ruta.block.fst.FSTBlockExtension</string>
- <string>org.apache.uima.ruta.example.extensions.ExampleBlockExtension</string>
</array>
</value>
</nameValuePair>
- <nameValuePair>
- <name>additionalEngineLoaders</name>
- <value>
- <array/>
- </value>
- </nameValuePair>
</configurationParameterSettings>
<typeSystemDescription>
<imports>
Modified: uima/uv3/ruta-v3/trunk/example-projects/TextRulerExample/descriptor/uima/ruta/example/FeaturesTypeSystem.xml
URL: http://svn.apache.org/viewvc/uima/uv3/ruta-v3/trunk/example-projects/TextRulerExample/descriptor/uima/ruta/example/FeaturesTypeSystem.xml?rev=1869967&r1=1869966&r2=1869967&view=diff
==============================================================================
--- uima/uv3/ruta-v3/trunk/example-projects/TextRulerExample/descriptor/uima/ruta/example/FeaturesTypeSystem.xml (original)
+++ uima/uv3/ruta-v3/trunk/example-projects/TextRulerExample/descriptor/uima/ruta/example/FeaturesTypeSystem.xml Mon Nov 18 12:19:31 2019
@@ -1,30 +1,29 @@
<?xml version="1.0" encoding="UTF-8"?>
-
<typeSystemDescription xmlns="http://uima.apache.org/resourceSpecifier">
- <name>FeaturesTypeSystem</name>
+ <name>uima.ruta.example.FeaturesTypeSystem</name>
<imports>
- <import location="..\..\..\BasicTypeSystem.xml"/>
- <import location="..\..\..\utils\PlainTextTypeSystem.xml"/>
+ <import location="../../../BasicTypeSystem.xml"/>
+ <import location="../../../utils/PlainTextTypeSystem.xml"/>
<import location="BaseTypeSystem.xml"/>
</imports>
<types>
<typeDescription>
- <name>uima.ruta.example.Features.EnglishStopWord</name>
+ <name>uima.ruta.example.Features.NumColon</name>
<description>Type defined in uima.ruta.example.Features</description>
<supertypeName>uima.tcas.Annotation</supertypeName>
</typeDescription>
<typeDescription>
- <name>uima.ruta.example.Features.FirstName</name>
+ <name>uima.ruta.example.Features.FirstToken</name>
<description>Type defined in uima.ruta.example.Features</description>
<supertypeName>uima.tcas.Annotation</supertypeName>
</typeDescription>
<typeDescription>
- <name>uima.ruta.example.Features.RParen</name>
+ <name>uima.ruta.example.Features.EditorMarker</name>
<description>Type defined in uima.ruta.example.Features</description>
<supertypeName>uima.tcas.Annotation</supertypeName>
</typeDescription>
<typeDescription>
- <name>uima.ruta.example.Features.EditorMarker</name>
+ <name>uima.ruta.example.Features.YearInd</name>
<description>Type defined in uima.ruta.example.Features</description>
<supertypeName>uima.tcas.Annotation</supertypeName>
</typeDescription>
@@ -34,107 +33,107 @@
<supertypeName>uima.tcas.Annotation</supertypeName>
</typeDescription>
<typeDescription>
- <name>uima.ruta.example.Features.Quote</name>
+ <name>uima.ruta.example.Features.FirstName</name>
<description>Type defined in uima.ruta.example.Features</description>
<supertypeName>uima.tcas.Annotation</supertypeName>
</typeDescription>
<typeDescription>
- <name>uima.ruta.example.Features.NameLinker</name>
+ <name>uima.ruta.example.Features.SingleChar</name>
<description>Type defined in uima.ruta.example.Features</description>
<supertypeName>uima.tcas.Annotation</supertypeName>
</typeDescription>
<typeDescription>
- <name>uima.ruta.example.Features.FirstNameInitial</name>
+ <name>uima.ruta.example.Features.NumComma</name>
<description>Type defined in uima.ruta.example.Features</description>
<supertypeName>uima.tcas.Annotation</supertypeName>
</typeDescription>
<typeDescription>
- <name>uima.ruta.example.Features.QuotedStuff</name>
+ <name>uima.ruta.example.Features.Reference</name>
<description>Type defined in uima.ruta.example.Features</description>
<supertypeName>uima.tcas.Annotation</supertypeName>
</typeDescription>
<typeDescription>
- <name>uima.ruta.example.Features.LastToken</name>
+ <name>uima.ruta.example.Features.EnglishStopWord</name>
<description>Type defined in uima.ruta.example.Features</description>
<supertypeName>uima.tcas.Annotation</supertypeName>
</typeDescription>
<typeDescription>
- <name>uima.ruta.example.Features.CommaSep</name>
+ <name>uima.ruta.example.Features.FirstNameInd</name>
<description>Type defined in uima.ruta.example.Features</description>
<supertypeName>uima.tcas.Annotation</supertypeName>
</typeDescription>
<typeDescription>
- <name>uima.ruta.example.Features.FirstToken</name>
+ <name>uima.ruta.example.Features.LParen</name>
<description>Type defined in uima.ruta.example.Features</description>
<supertypeName>uima.tcas.Annotation</supertypeName>
</typeDescription>
<typeDescription>
- <name>uima.ruta.example.Features.SingleChar</name>
+ <name>uima.ruta.example.Features.PublisherInd</name>
<description>Type defined in uima.ruta.example.Features</description>
<supertypeName>uima.tcas.Annotation</supertypeName>
</typeDescription>
<typeDescription>
- <name>uima.ruta.example.Features.PublisherInd</name>
+ <name>uima.ruta.example.Features.FirstNameInitial</name>
<description>Type defined in uima.ruta.example.Features</description>
<supertypeName>uima.tcas.Annotation</supertypeName>
</typeDescription>
<typeDescription>
- <name>uima.ruta.example.Features.InInd</name>
+ <name>uima.ruta.example.Features.ColonSep</name>
<description>Type defined in uima.ruta.example.Features</description>
<supertypeName>uima.tcas.Annotation</supertypeName>
</typeDescription>
<typeDescription>
- <name>uima.ruta.example.Features.YearInd</name>
+ <name>uima.ruta.example.Features.PeriodSep</name>
<description>Type defined in uima.ruta.example.Features</description>
<supertypeName>uima.tcas.Annotation</supertypeName>
</typeDescription>
<typeDescription>
- <name>uima.ruta.example.Features.FirstNameInd</name>
+ <name>uima.ruta.example.Features.QuotedStuff</name>
<description>Type defined in uima.ruta.example.Features</description>
<supertypeName>uima.tcas.Annotation</supertypeName>
</typeDescription>
<typeDescription>
- <name>uima.ruta.example.Features.ColonSep</name>
+ <name>uima.ruta.example.Features.RParen</name>
<description>Type defined in uima.ruta.example.Features</description>
<supertypeName>uima.tcas.Annotation</supertypeName>
</typeDescription>
<typeDescription>
- <name>uima.ruta.example.Features.LParen</name>
+ <name>uima.ruta.example.Features.NameLinker</name>
<description>Type defined in uima.ruta.example.Features</description>
<supertypeName>uima.tcas.Annotation</supertypeName>
</typeDescription>
<typeDescription>
- <name>uima.ruta.example.Features.Month</name>
+ <name>uima.ruta.example.Features.NumPeriod</name>
<description>Type defined in uima.ruta.example.Features</description>
<supertypeName>uima.tcas.Annotation</supertypeName>
</typeDescription>
<typeDescription>
- <name>uima.ruta.example.Features.Reference</name>
+ <name>uima.ruta.example.Features.LastToken</name>
<description>Type defined in uima.ruta.example.Features</description>
<supertypeName>uima.tcas.Annotation</supertypeName>
</typeDescription>
<typeDescription>
- <name>uima.ruta.example.Features.NumComma</name>
+ <name>uima.ruta.example.Features.Quote</name>
<description>Type defined in uima.ruta.example.Features</description>
<supertypeName>uima.tcas.Annotation</supertypeName>
</typeDescription>
<typeDescription>
- <name>uima.ruta.example.Features.NumPeriod</name>
+ <name>uima.ruta.example.Features.Month</name>
<description>Type defined in uima.ruta.example.Features</description>
<supertypeName>uima.tcas.Annotation</supertypeName>
</typeDescription>
<typeDescription>
- <name>uima.ruta.example.Features.PagesMarker</name>
+ <name>uima.ruta.example.Features.CommaSep</name>
<description>Type defined in uima.ruta.example.Features</description>
<supertypeName>uima.tcas.Annotation</supertypeName>
</typeDescription>
<typeDescription>
- <name>uima.ruta.example.Features.PeriodSep</name>
+ <name>uima.ruta.example.Features.InInd</name>
<description>Type defined in uima.ruta.example.Features</description>
<supertypeName>uima.tcas.Annotation</supertypeName>
</typeDescription>
<typeDescription>
- <name>uima.ruta.example.Features.NumColon</name>
+ <name>uima.ruta.example.Features.PagesMarker</name>
<description>Type defined in uima.ruta.example.Features</description>
<supertypeName>uima.tcas.Annotation</supertypeName>
</typeDescription>
Added: uima/uv3/ruta-v3/trunk/example-projects/TextRulerExample/descriptor/uima/ruta/example/KEPEngine.xml
URL: http://svn.apache.org/viewvc/uima/uv3/ruta-v3/trunk/example-projects/TextRulerExample/descriptor/uima/ruta/example/KEPEngine.xml?rev=1869967&view=auto
==============================================================================
--- uima/uv3/ruta-v3/trunk/example-projects/TextRulerExample/descriptor/uima/ruta/example/KEPEngine.xml (added)
+++ uima/uv3/ruta-v3/trunk/example-projects/TextRulerExample/descriptor/uima/ruta/example/KEPEngine.xml Mon Nov 18 12:19:31 2019
@@ -0,0 +1,497 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<analysisEngineDescription xmlns="http://uima.apache.org/resourceSpecifier">
+ <frameworkImplementation>org.apache.uima.java</frameworkImplementation>
+ <primitive>true</primitive>
+ <annotatorImplementationName>org.apache.uima.ruta.engine.RutaEngine</annotatorImplementationName>
+ <analysisEngineMetaData>
+ <name>uima.ruta.example.KEPEngine</name>
+ <description/>
+ <version>1.0</version>
+ <vendor/>
+ <configurationParameters searchStrategy="language_fallback">
+ <configurationParameter>
+ <name>seeders</name>
+ <type>String</type>
+ <multiValued>true</multiValued>
+ <mandatory>false</mandatory>
+ </configurationParameter>
+ <configurationParameter>
+ <name>debug</name>
+ <type>Boolean</type>
+ <multiValued>false</multiValued>
+ <mandatory>false</mandatory>
+ </configurationParameter>
+ <configurationParameter>
+ <name>additionalScripts</name>
+ <type>String</type>
+ <multiValued>true</multiValued>
+ <mandatory>false</mandatory>
+ </configurationParameter>
+ <configurationParameter>
+ <name>profile</name>
+ <type>Boolean</type>
+ <multiValued>false</multiValued>
+ <mandatory>false</mandatory>
+ </configurationParameter>
+ <configurationParameter>
+ <name>debugWithMatches</name>
+ <type>Boolean</type>
+ <multiValued>false</multiValued>
+ <mandatory>false</mandatory>
+ </configurationParameter>
+ <configurationParameter>
+ <name>statistics</name>
+ <type>Boolean</type>
+ <multiValued>false</multiValued>
+ <mandatory>false</mandatory>
+ </configurationParameter>
+ <configurationParameter>
+ <name>additionalEngines</name>
+ <type>String</type>
+ <multiValued>true</multiValued>
+ <mandatory>false</mandatory>
+ </configurationParameter>
+ <configurationParameter>
+ <name>additionalExtensions</name>
+ <type>String</type>
+ <multiValued>true</multiValued>
+ <mandatory>false</mandatory>
+ </configurationParameter>
+ <configurationParameter>
+ <name>debugOnlyFor</name>
+ <type>String</type>
+ <multiValued>true</multiValued>
+ <mandatory>false</mandatory>
+ </configurationParameter>
+ <configurationParameter>
+ <name>scriptEncoding</name>
+ <type>String</type>
+ <multiValued>false</multiValued>
+ <mandatory>false</mandatory>
+ </configurationParameter>
+ <configurationParameter>
+ <name>additionalEngineLoaders</name>
+ <type>String</type>
+ <multiValued>true</multiValued>
+ <mandatory>false</mandatory>
+ </configurationParameter>
+ <configurationParameter>
+ <name>resourcePaths</name>
+ <type>String</type>
+ <multiValued>true</multiValued>
+ <mandatory>false</mandatory>
+ </configurationParameter>
+ <configurationParameter>
+ <name>defaultFilteredTypes</name>
+ <type>String</type>
+ <multiValued>true</multiValued>
+ <mandatory>false</mandatory>
+ </configurationParameter>
+ <configurationParameter>
+ <name>mainScript</name>
+ <type>String</type>
+ <multiValued>false</multiValued>
+ <mandatory>false</mandatory>
+ </configurationParameter>
+ <configurationParameter>
+ <name>scriptPaths</name>
+ <type>String</type>
+ <multiValued>true</multiValued>
+ <mandatory>false</mandatory>
+ </configurationParameter>
+ <configurationParameter>
+ <name>descriptorPaths</name>
+ <type>String</type>
+ <multiValued>true</multiValued>
+ <mandatory>false</mandatory>
+ </configurationParameter>
+ <configurationParameter>
+ <name>removeBasics</name>
+ <type>Boolean</type>
+ <multiValued>false</multiValued>
+ <mandatory>false</mandatory>
+ </configurationParameter>
+ <configurationParameter>
+ <name>dynamicAnchoring</name>
+ <description>Activates dynamic anchoring (possible speed up).</description>
+ <type>Boolean</type>
+ <multiValued>false</multiValued>
+ <mandatory>false</mandatory>
+ </configurationParameter>
+ <configurationParameter>
+ <name>greedyRuleElement</name>
+ <description>Activates greedy anchoring for rule elements.</description>
+ <type>Boolean</type>
+ <multiValued>false</multiValued>
+ <mandatory>false</mandatory>
+ </configurationParameter>
+ <configurationParameter>
+ <name>greedyRule</name>
+ <description>Activates greedy anchoring for complete rules.</description>
+ <type>Boolean</type>
+ <multiValued>false</multiValued>
+ <mandatory>false</mandatory>
+ </configurationParameter>
+ <configurationParameter>
+ <name>lowMemoryProfile</name>
+ <type>Boolean</type>
+ <multiValued>false</multiValued>
+ <mandatory>false</mandatory>
+ </configurationParameter>
+ <configurationParameter>
+ <name>createdBy</name>
+ <type>Boolean</type>
+ <multiValued>false</multiValued>
+ <mandatory>false</mandatory>
+ </configurationParameter>
+ <configurationParameter>
+ <name>simpleGreedyForComposed</name>
+ <type>Boolean</type>
+ <multiValued>false</multiValued>
+ <mandatory>false</mandatory>
+ </configurationParameter>
+ <configurationParameter>
+ <name>additionalUimafitEngines</name>
+ <type>String</type>
+ <multiValued>true</multiValued>
+ <mandatory>false</mandatory>
+ </configurationParameter>
+ <configurationParameter>
+ <name>strictImports</name>
+ <type>Boolean</type>
+ <multiValued>false</multiValued>
+ <mandatory>false</mandatory>
+ </configurationParameter>
+ <configurationParameter>
+ <name>varNames</name>
+ <type>String</type>
+ <multiValued>true</multiValued>
+ <mandatory>false</mandatory>
+ </configurationParameter>
+ <configurationParameter>
+ <name>varValues</name>
+ <type>String</type>
+ <multiValued>true</multiValued>
+ <mandatory>false</mandatory>
+ </configurationParameter>
+ <configurationParameter>
+ <name>rules</name>
+ <type>String</type>
+ <multiValued>false</multiValued>
+ <mandatory>false</mandatory>
+ </configurationParameter>
+ <configurationParameter>
+ <name>rulesScriptName</name>
+ <description/>
+ <type>String</type>
+ <multiValued>false</multiValued>
+ <mandatory>true</mandatory>
+ </configurationParameter>
+ <configurationParameter>
+ <name>dictRemoveWS</name>
+ <type>Boolean</type>
+ <multiValued>false</multiValued>
+ <mandatory>false</mandatory>
+ </configurationParameter>
+ <configurationParameter>
+ <name>reindexOnly</name>
+ <type>String</type>
+ <multiValued>true</multiValued>
+ <mandatory>false</mandatory>
+ </configurationParameter>
+ <configurationParameter>
+ <name>reindexOnlyMentionedTypes</name>
+ <type>Boolean</type>
+ <multiValued>false</multiValued>
+ <mandatory>false</mandatory>
+ </configurationParameter>
+ <configurationParameter>
+ <name>indexOnlyMentionedTypes</name>
+ <type>Boolean</type>
+ <multiValued>false</multiValued>
+ <mandatory>false</mandatory>
+ </configurationParameter>
+ <configurationParameter>
+ <name>indexAdditionally</name>
+ <type>String</type>
+ <multiValued>true</multiValued>
+ <mandatory>false</mandatory>
+ </configurationParameter>
+ <configurationParameter>
+ <name>emptyIsInvisible</name>
+ <type>Boolean</type>
+ <multiValued>false</multiValued>
+ <mandatory>false</mandatory>
+ </configurationParameter>
+ <configurationParameter>
+ <name>modifyDataPath</name>
+ <type>Boolean</type>
+ <multiValued>false</multiValued>
+ <mandatory>false</mandatory>
+ </configurationParameter>
+ <configurationParameter>
+ <name>csvSeparator</name>
+ <type>String</type>
+ <multiValued>false</multiValued>
+ <mandatory>false</mandatory>
+ </configurationParameter>
+ <configurationParameter>
+ <name>inferenceVisitors</name>
+ <description/>
+ <type>String</type>
+ <multiValued>true</multiValued>
+ <mandatory>false</mandatory>
+ </configurationParameter>
+ <configurationParameter>
+ <name>maxRuleMatches</name>
+ <description/>
+ <type>Integer</type>
+ <multiValued>false</multiValued>
+ <mandatory>false</mandatory>
+ </configurationParameter>
+ <configurationParameter>
+ <name>maxRuleElementMatches</name>
+ <description/>
+ <type>Integer</type>
+ <multiValued>false</multiValued>
+ <mandatory>false</mandatory>
+ </configurationParameter>
+ </configurationParameters>
+ <configurationParameterSettings>
+ <nameValuePair>
+ <name>rulesScriptName</name>
+ <value>
+ <string>Anonymous</string>
+ </value>
+ </nameValuePair>
+ <nameValuePair>
+ <name>debug</name>
+ <value>
+ <boolean>false</boolean>
+ </value>
+ </nameValuePair>
+ <nameValuePair>
+ <name>profile</name>
+ <value>
+ <boolean>false</boolean>
+ </value>
+ </nameValuePair>
+ <nameValuePair>
+ <name>debugWithMatches</name>
+ <value>
+ <boolean>true</boolean>
+ </value>
+ </nameValuePair>
+ <nameValuePair>
+ <name>defaultFilteredTypes</name>
+ <value>
+ <array>
+ <string>org.apache.uima.ruta.type.SPACE</string>
+ <string>org.apache.uima.ruta.type.BREAK</string>
+ <string>org.apache.uima.ruta.type.MARKUP</string>
+ </array>
+ </value>
+ </nameValuePair>
+ <nameValuePair>
+ <name>removeBasics</name>
+ <value>
+ <boolean>false</boolean>
+ </value>
+ </nameValuePair>
+ <nameValuePair>
+ <name>seeders</name>
+ <value>
+ <array>
+ <string>org.apache.uima.ruta.seed.DefaultSeeder</string>
+ </array>
+ </value>
+ </nameValuePair>
+ <nameValuePair>
+ <name>createdBy</name>
+ <value>
+ <boolean>false</boolean>
+ </value>
+ </nameValuePair>
+ <nameValuePair>
+ <name>emptyIsInvisible</name>
+ <value>
+ <boolean>true</boolean>
+ </value>
+ </nameValuePair>
+ <nameValuePair>
+ <name>dictRemoveWS</name>
+ <value>
+ <boolean>true</boolean>
+ </value>
+ </nameValuePair>
+ <nameValuePair>
+ <name>inferenceVisitors</name>
+ <value>
+ <array/>
+ </value>
+ </nameValuePair>
+ <nameValuePair>
+ <name>maxRuleMatches</name>
+ <value>
+ <integer>2147483647</integer>
+ </value>
+ </nameValuePair>
+ <nameValuePair>
+ <name>maxRuleElementMatches</name>
+ <value>
+ <integer>2147483647</integer>
+ </value>
+ </nameValuePair>
+ <nameValuePair>
+ <name>mainScript</name>
+ <value>
+ <string>uima.ruta.example.KEP</string>
+ </value>
+ </nameValuePair>
+ <nameValuePair>
+ <name>scriptPaths</name>
+ <value>
+ <array>
+ <string>C:/src/ws/ws-uima/ruta/example-projects/TextRulerExample/script</string>
+ </array>
+ </value>
+ </nameValuePair>
+ <nameValuePair>
+ <name>descriptorPaths</name>
+ <value>
+ <array>
+ <string>C:/src/ws/ws-uima/ruta/example-projects/TextRulerExample/descriptor</string>
+ </array>
+ </value>
+ </nameValuePair>
+ <nameValuePair>
+ <name>resourcePaths</name>
+ <value>
+ <array>
+ <string>C:/src/ws/ws-uima/ruta/example-projects/TextRulerExample/resources</string>
+ </array>
+ </value>
+ </nameValuePair>
+ <nameValuePair>
+ <name>additionalScripts</name>
+ <value>
+ <array>
+ <string>uima.ruta.example.Features</string>
+ </array>
+ </value>
+ </nameValuePair>
+ <nameValuePair>
+ <name>additionalEngines</name>
+ <value>
+ <array/>
+ </value>
+ </nameValuePair>
+ <nameValuePair>
+ <name>additionalUimafitEngines</name>
+ <value>
+ <array/>
+ </value>
+ </nameValuePair>
+ <nameValuePair>
+ <name>additionalExtensions</name>
+ <value>
+ <array>
+ <string>org.apache.uima.ruta.action.MarkReloadExtension</string>
+ <string>org.apache.uima.ruta.string.bool.BooleanOperationsExtension</string>
+ <string>org.apache.uima.ruta.string.StringOperationsExtension</string>
+ <string>org.apache.uima.ruta.type.TypeFromStringFunctionExtension</string>
+ <string>org.apache.uima.ruta.block.DocumentBlockExtension</string>
+ <string>org.apache.uima.ruta.block.OnlyFirstBlockExtension</string>
+ <string>org.apache.uima.ruta.block.OnlyOnceBlockExtension</string>
+ <string>org.apache.uima.ruta.block.fst.FSTBlockExtension</string>
+ </array>
+ </value>
+ </nameValuePair>
+ </configurationParameterSettings>
+ <typeSystemDescription>
+ <imports>
+ <import location="KEPTypeSystem.xml"/>
+ </imports>
+ </typeSystemDescription>
+ <typePriorities>
+ <priorityList>
+ <type>org.apache.uima.ruta.type.RutaFrame</type>
+ <type>uima.tcas.Annotation</type>
+ <type>org.apache.uima.ruta.type.RutaBasic</type>
+ </priorityList>
+ </typePriorities>
+ <fsIndexCollection/>
+ <capabilities>
+ <capability>
+ <inputs/>
+ <outputs/>
+ <languagesSupported/>
+ </capability>
+ <capability>
+ <inputs>
+ <type>uima.ruta.example.KEP.AuthorSTART</type>
+ <type>uima.ruta.example.KEP.AuthorEND</type>
+ <type>uima.ruta.example.KEP.DateSTART</type>
+ <type>uima.ruta.example.KEP.DateEND</type>
+ <type>uima.ruta.example.KEP.PagesSTART</type>
+ <type>uima.ruta.example.KEP.PagesEND</type>
+ <type>uima.ruta.example.KEP.PublisherSTART</type>
+ <type>uima.ruta.example.KEP.PublisherEND</type>
+ <type>uima.ruta.example.KEP.InstitutionSTART</type>
+ <type>uima.ruta.example.KEP.InstitutionEND</type>
+ <type>uima.ruta.example.KEP.VolumeSTART</type>
+ <type>uima.ruta.example.KEP.VolumeEND</type>
+ <type>uima.ruta.example.KEP.EditorSTART</type>
+ <type>uima.ruta.example.KEP.EditorEND</type>
+ <type>uima.ruta.example.KEP.TitleSTART</type>
+ <type>uima.ruta.example.KEP.TitleEND</type>
+ <type>uima.ruta.example.KEP.BooktitleSTART</type>
+ <type>uima.ruta.example.KEP.BooktitleEND</type>
+ <type>uima.ruta.example.KEP.NoteSTART</type>
+ <type>uima.ruta.example.KEP.NoteEND</type>
+ <type>uima.ruta.example.KEP.JournalSTART</type>
+ <type>uima.ruta.example.KEP.JournalEND</type>
+ <type>uima.ruta.example.KEP.LocationSTART</type>
+ <type>uima.ruta.example.KEP.LocationEND</type>
+ <type>uima.ruta.example.KEP.TechSTART</type>
+ <type>uima.ruta.example.KEP.TechEND</type>
+ </inputs>
+ <outputs>
+ <type>uima.ruta.example.KEP.AuthorSTART</type>
+ <type>uima.ruta.example.KEP.AuthorEND</type>
+ <type>uima.ruta.example.KEP.DateSTART</type>
+ <type>uima.ruta.example.KEP.DateEND</type>
+ <type>uima.ruta.example.KEP.PagesSTART</type>
+ <type>uima.ruta.example.KEP.PagesEND</type>
+ <type>uima.ruta.example.KEP.PublisherSTART</type>
+ <type>uima.ruta.example.KEP.PublisherEND</type>
+ <type>uima.ruta.example.KEP.InstitutionSTART</type>
+ <type>uima.ruta.example.KEP.InstitutionEND</type>
+ <type>uima.ruta.example.KEP.VolumeSTART</type>
+ <type>uima.ruta.example.KEP.VolumeEND</type>
+ <type>uima.ruta.example.KEP.EditorSTART</type>
+ <type>uima.ruta.example.KEP.EditorEND</type>
+ <type>uima.ruta.example.KEP.TitleSTART</type>
+ <type>uima.ruta.example.KEP.TitleEND</type>
+ <type>uima.ruta.example.KEP.BooktitleSTART</type>
+ <type>uima.ruta.example.KEP.BooktitleEND</type>
+ <type>uima.ruta.example.KEP.NoteSTART</type>
+ <type>uima.ruta.example.KEP.NoteEND</type>
+ <type>uima.ruta.example.KEP.JournalSTART</type>
+ <type>uima.ruta.example.KEP.JournalEND</type>
+ <type>uima.ruta.example.KEP.LocationSTART</type>
+ <type>uima.ruta.example.KEP.LocationEND</type>
+ <type>uima.ruta.example.KEP.TechSTART</type>
+ <type>uima.ruta.example.KEP.TechEND</type>
+ </outputs>
+ <languagesSupported/>
+ </capability>
+ </capabilities>
+ <operationalProperties>
+ <modifiesCas>true</modifiesCas>
+ <multipleDeploymentAllowed>true</multipleDeploymentAllowed>
+ <outputsNewCASes>true</outputsNewCASes>
+ </operationalProperties>
+ </analysisEngineMetaData>
+ <resourceManagerConfiguration/>
+</analysisEngineDescription>
Added: uima/uv3/ruta-v3/trunk/example-projects/TextRulerExample/descriptor/uima/ruta/example/KEPTypeSystem.xml
URL: http://svn.apache.org/viewvc/uima/uv3/ruta-v3/trunk/example-projects/TextRulerExample/descriptor/uima/ruta/example/KEPTypeSystem.xml?rev=1869967&view=auto
==============================================================================
--- uima/uv3/ruta-v3/trunk/example-projects/TextRulerExample/descriptor/uima/ruta/example/KEPTypeSystem.xml (added)
+++ uima/uv3/ruta-v3/trunk/example-projects/TextRulerExample/descriptor/uima/ruta/example/KEPTypeSystem.xml Mon Nov 18 12:19:31 2019
@@ -0,0 +1,140 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<typeSystemDescription xmlns="http://uima.apache.org/resourceSpecifier">
+ <name>uima.ruta.example.KEPTypeSystem</name>
+ <imports>
+ <import location="../../../BasicTypeSystem.xml"/>
+ <import location="FeaturesTypeSystem.xml"/>
+ </imports>
+ <types>
+ <typeDescription>
+ <name>uima.ruta.example.KEP.LocationSTART</name>
+ <description>Type defined in uima.ruta.example.KEP</description>
+ <supertypeName>uima.tcas.Annotation</supertypeName>
+ </typeDescription>
+ <typeDescription>
+ <name>uima.ruta.example.KEP.DateSTART</name>
+ <description>Type defined in uima.ruta.example.KEP</description>
+ <supertypeName>uima.tcas.Annotation</supertypeName>
+ </typeDescription>
+ <typeDescription>
+ <name>uima.ruta.example.KEP.InstitutionSTART</name>
+ <description>Type defined in uima.ruta.example.KEP</description>
+ <supertypeName>uima.tcas.Annotation</supertypeName>
+ </typeDescription>
+ <typeDescription>
+ <name>uima.ruta.example.KEP.NoteSTART</name>
+ <description>Type defined in uima.ruta.example.KEP</description>
+ <supertypeName>uima.tcas.Annotation</supertypeName>
+ </typeDescription>
+ <typeDescription>
+ <name>uima.ruta.example.KEP.LocationEND</name>
+ <description>Type defined in uima.ruta.example.KEP</description>
+ <supertypeName>uima.tcas.Annotation</supertypeName>
+ </typeDescription>
+ <typeDescription>
+ <name>uima.ruta.example.KEP.PagesSTART</name>
+ <description>Type defined in uima.ruta.example.KEP</description>
+ <supertypeName>uima.tcas.Annotation</supertypeName>
+ </typeDescription>
+ <typeDescription>
+ <name>uima.ruta.example.KEP.VolumeSTART</name>
+ <description>Type defined in uima.ruta.example.KEP</description>
+ <supertypeName>uima.tcas.Annotation</supertypeName>
+ </typeDescription>
+ <typeDescription>
+ <name>uima.ruta.example.KEP.JournalSTART</name>
+ <description>Type defined in uima.ruta.example.KEP</description>
+ <supertypeName>uima.tcas.Annotation</supertypeName>
+ </typeDescription>
+ <typeDescription>
+ <name>uima.ruta.example.KEP.AuthorEND</name>
+ <description>Type defined in uima.ruta.example.KEP</description>
+ <supertypeName>uima.tcas.Annotation</supertypeName>
+ </typeDescription>
+ <typeDescription>
+ <name>uima.ruta.example.KEP.TechSTART</name>
+ <description>Type defined in uima.ruta.example.KEP</description>
+ <supertypeName>uima.tcas.Annotation</supertypeName>
+ </typeDescription>
+ <typeDescription>
+ <name>uima.ruta.example.KEP.InstitutionEND</name>
+ <description>Type defined in uima.ruta.example.KEP</description>
+ <supertypeName>uima.tcas.Annotation</supertypeName>
+ </typeDescription>
+ <typeDescription>
+ <name>uima.ruta.example.KEP.TitleSTART</name>
+ <description>Type defined in uima.ruta.example.KEP</description>
+ <supertypeName>uima.tcas.Annotation</supertypeName>
+ </typeDescription>
+ <typeDescription>
+ <name>uima.ruta.example.KEP.NoteEND</name>
+ <description>Type defined in uima.ruta.example.KEP</description>
+ <supertypeName>uima.tcas.Annotation</supertypeName>
+ </typeDescription>
+ <typeDescription>
+ <name>uima.ruta.example.KEP.AuthorSTART</name>
+ <description>Type defined in uima.ruta.example.KEP</description>
+ <supertypeName>uima.tcas.Annotation</supertypeName>
+ </typeDescription>
+ <typeDescription>
+ <name>uima.ruta.example.KEP.TechEND</name>
+ <description>Type defined in uima.ruta.example.KEP</description>
+ <supertypeName>uima.tcas.Annotation</supertypeName>
+ </typeDescription>
+ <typeDescription>
+ <name>uima.ruta.example.KEP.BooktitleSTART</name>
+ <description>Type defined in uima.ruta.example.KEP</description>
+ <supertypeName>uima.tcas.Annotation</supertypeName>
+ </typeDescription>
+ <typeDescription>
+ <name>uima.ruta.example.KEP.DateEND</name>
+ <description>Type defined in uima.ruta.example.KEP</description>
+ <supertypeName>uima.tcas.Annotation</supertypeName>
+ </typeDescription>
+ <typeDescription>
+ <name>uima.ruta.example.KEP.PublisherSTART</name>
+ <description>Type defined in uima.ruta.example.KEP</description>
+ <supertypeName>uima.tcas.Annotation</supertypeName>
+ </typeDescription>
+ <typeDescription>
+ <name>uima.ruta.example.KEP.TitleEND</name>
+ <description>Type defined in uima.ruta.example.KEP</description>
+ <supertypeName>uima.tcas.Annotation</supertypeName>
+ </typeDescription>
+ <typeDescription>
+ <name>uima.ruta.example.KEP.EditorSTART</name>
+ <description>Type defined in uima.ruta.example.KEP</description>
+ <supertypeName>uima.tcas.Annotation</supertypeName>
+ </typeDescription>
+ <typeDescription>
+ <name>uima.ruta.example.KEP.PublisherEND</name>
+ <description>Type defined in uima.ruta.example.KEP</description>
+ <supertypeName>uima.tcas.Annotation</supertypeName>
+ </typeDescription>
+ <typeDescription>
+ <name>uima.ruta.example.KEP.VolumeEND</name>
+ <description>Type defined in uima.ruta.example.KEP</description>
+ <supertypeName>uima.tcas.Annotation</supertypeName>
+ </typeDescription>
+ <typeDescription>
+ <name>uima.ruta.example.KEP.BooktitleEND</name>
+ <description>Type defined in uima.ruta.example.KEP</description>
+ <supertypeName>uima.tcas.Annotation</supertypeName>
+ </typeDescription>
+ <typeDescription>
+ <name>uima.ruta.example.KEP.JournalEND</name>
+ <description>Type defined in uima.ruta.example.KEP</description>
+ <supertypeName>uima.tcas.Annotation</supertypeName>
+ </typeDescription>
+ <typeDescription>
+ <name>uima.ruta.example.KEP.EditorEND</name>
+ <description>Type defined in uima.ruta.example.KEP</description>
+ <supertypeName>uima.tcas.Annotation</supertypeName>
+ </typeDescription>
+ <typeDescription>
+ <name>uima.ruta.example.KEP.PagesEND</name>
+ <description>Type defined in uima.ruta.example.KEP</description>
+ <supertypeName>uima.tcas.Annotation</supertypeName>
+ </typeDescription>
+ </types>
+</typeSystemDescription>