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/05/31 14:43:16 UTC

svn commit: r1860453 [3/3] - in /uima/ruta/trunk/example-projects: ExampleProject/descriptor/ ExampleProject/descriptor/uima/ruta/example/ Misc/descriptor/ Misc/descriptor/uima/ruta/example/ TextRulerExample/descriptor/ TextRulerExample/descriptor/uima...

Modified: uima/ruta/trunk/example-projects/TextRulerExample/descriptor/uima/ruta/example/FeaturesEngine.xml
URL: http://svn.apache.org/viewvc/uima/ruta/trunk/example-projects/TextRulerExample/descriptor/uima/ruta/example/FeaturesEngine.xml?rev=1860453&r1=1860452&r2=1860453&view=diff
==============================================================================
--- uima/ruta/trunk/example-projects/TextRulerExample/descriptor/uima/ruta/example/FeaturesEngine.xml (original)
+++ uima/ruta/trunk/example-projects/TextRulerExample/descriptor/uima/ruta/example/FeaturesEngine.xml Fri May 31 14:43:16 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,40 @@
                 </value>
             </nameValuePair>
             <nameValuePair>
+                <name>emptyIsInvisible</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 +354,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 +362,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 +392,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/ruta/trunk/example-projects/TextRulerExample/descriptor/uima/ruta/example/FeaturesTypeSystem.xml
URL: http://svn.apache.org/viewvc/uima/ruta/trunk/example-projects/TextRulerExample/descriptor/uima/ruta/example/FeaturesTypeSystem.xml?rev=1860453&r1=1860452&r2=1860453&view=diff
==============================================================================
--- uima/ruta/trunk/example-projects/TextRulerExample/descriptor/uima/ruta/example/FeaturesTypeSystem.xml (original)
+++ uima/ruta/trunk/example-projects/TextRulerExample/descriptor/uima/ruta/example/FeaturesTypeSystem.xml Fri May 31 14:43:16 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>