Modified: uima/uv3/ruta-v3/trunk/example-projects/ExampleProject/descriptor/uima/ruta/example/YearEngine.xml URL: http://svn.apache.org/viewvc/uima/uv3/ruta-v3/trunk/example-projects/ExampleProject/descriptor/uima/ruta/example/YearEngine.xml?rev=1869967&r1=1869966&r2=1869967&view=diff ============================================================================== --- uima/uv3/ruta-v3/trunk/example-projects/ExampleProject/descriptor/uima/ruta/example/YearEngine.xml (original) +++ uima/uv3/ruta-v3/trunk/example-projects/ExampleProject/descriptor/uima/ruta/example/YearEngine.xml Mon Nov 18 12:19:31 2019 @@ -198,9 +198,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> @@ -249,6 +331,36 @@ </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.Year</string> @@ -258,7 +370,7 @@ <name>scriptPaths</name> <value> <array> - <string>C:/work/ws/ws-uima-ruta-plain/ruta-trunk/example-projects/ExampleProject/script</string> + <string>C:/src/ws/ws-uima/ruta/example-projects/ExampleProject/script</string> </array> </value> </nameValuePair> @@ -266,7 +378,7 @@ <name>descriptorPaths</name> <value> <array> - <string>C:/work/ws/ws-uima-ruta-plain/ruta-trunk/example-projects/ExampleProject/descriptor</string> + <string>C:/src/ws/ws-uima/ruta/example-projects/ExampleProject/descriptor</string> </array> </value> </nameValuePair> @@ -274,7 +386,7 @@ <name>resourcePaths</name> <value> <array> - <string>C:/work/ws/ws-uima-ruta-plain/ruta-trunk/example-projects/ExampleProject/resources</string> + <string>C:/src/ws/ws-uima/ruta/example-projects/ExampleProject/resources</string> </array> </value> </nameValuePair> @@ -304,6 +416,7 @@ <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>
Modified: uima/uv3/ruta-v3/trunk/example-projects/Misc/descriptor/BasicEngine.xml URL: http://svn.apache.org/viewvc/uima/uv3/ruta-v3/trunk/example-projects/Misc/descriptor/BasicEngine.xml?rev=1869967&r1=1869966&r2=1869967&view=diff ============================================================================== --- uima/uv3/ruta-v3/trunk/example-projects/Misc/descriptor/BasicEngine.xml (original) +++ uima/uv3/ruta-v3/trunk/example-projects/Misc/descriptor/BasicEngine.xml Mon Nov 18 12:19:31 2019 @@ -22,7 +22,7 @@ <primitive>true</primitive> <annotatorImplementationName>org.apache.uima.ruta.engine.RutaEngine</annotatorImplementationName> <analysisEngineMetaData> - <name>BasicEngine</name> + <name>org.apache.uima.ruta.engine.BasicEngine</name> <description/> <version>1.0</version> <vendor/> @@ -198,9 +198,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> @@ -248,10 +330,40 @@ <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> </configurationParameterSettings> <typeSystemDescription> <imports> - <import location="BasicTypeSystem.xml"/> + <import name="org.apache.uima.ruta.engine.BasicTypeSystem"/> </imports> </typeSystemDescription> <typePriorities> Modified: uima/uv3/ruta-v3/trunk/example-projects/Misc/descriptor/BasicTypeSystem.xml URL: http://svn.apache.org/viewvc/uima/uv3/ruta-v3/trunk/example-projects/Misc/descriptor/BasicTypeSystem.xml?rev=1869967&r1=1869966&r2=1869967&view=diff ============================================================================== --- uima/uv3/ruta-v3/trunk/example-projects/Misc/descriptor/BasicTypeSystem.xml (original) +++ uima/uv3/ruta-v3/trunk/example-projects/Misc/descriptor/BasicTypeSystem.xml Mon Nov 18 12:19:31 2019 @@ -1,5 +1,4 @@ <?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 @@ -19,128 +18,13 @@ under the License. --> <typeSystemDescription xmlns="http://uima.apache.org/resourceSpecifier"> - <name>BasicTypeSystem</name> + <name>org.apache.uima.ruta.engine.BasicTypeSystem</name> <description/> <version>1.0</version> <vendor/> <imports> - <import location="InternalTypeSystem.xml"/> + <import location="RutaInternalTypeSystem.xml"/> + <import location="RutaBasicTypeSystem.xml"/> + <import location="DefaultSeederTypeSystem.xml"/> </imports> - <types> - <typeDescription> - <name>org.apache.uima.ruta.type.ALL</name> - <description/> - <supertypeName>org.apache.uima.ruta.type.TokenSeed</supertypeName> - </typeDescription> - <typeDescription> - <name>org.apache.uima.ruta.type.ANY</name> - <description/> - <supertypeName>org.apache.uima.ruta.type.ALL</supertypeName> - </typeDescription> - <typeDescription> - <name>org.apache.uima.ruta.type.MARKUP</name> - <description/> - <supertypeName>org.apache.uima.ruta.type.ALL</supertypeName> - </typeDescription> - <typeDescription> - <name>org.apache.uima.ruta.type.CW</name> - <description/> - <supertypeName>org.apache.uima.ruta.type.W</supertypeName> - </typeDescription> - <typeDescription> - <name>org.apache.uima.ruta.type.W</name> - <description/> - <supertypeName>org.apache.uima.ruta.type.ANY</supertypeName> - </typeDescription> - <typeDescription> - <name>org.apache.uima.ruta.type.SW</name> - <description/> - <supertypeName>org.apache.uima.ruta.type.W</supertypeName> - </typeDescription> - <typeDescription> - <name>org.apache.uima.ruta.type.PM</name> - <description/> - <supertypeName>org.apache.uima.ruta.type.ANY</supertypeName> - </typeDescription> - <typeDescription> - <name>org.apache.uima.ruta.type.CAP</name> - <description/> - <supertypeName>org.apache.uima.ruta.type.W</supertypeName> - </typeDescription> - <typeDescription> - <name>org.apache.uima.ruta.type.COLON</name> - <description/> - <supertypeName>org.apache.uima.ruta.type.PM</supertypeName> - </typeDescription> - <typeDescription> - <name>org.apache.uima.ruta.type.PERIOD</name> - <description/> - <supertypeName>org.apache.uima.ruta.type.SENTENCEEND</supertypeName> - </typeDescription> - <typeDescription> - <name>org.apache.uima.ruta.type.SENTENCEEND</name> - <description/> - <supertypeName>org.apache.uima.ruta.type.PM</supertypeName> - </typeDescription> - <typeDescription> - <name>org.apache.uima.ruta.type.QUESTION</name> - <description/> - <supertypeName>org.apache.uima.ruta.type.SENTENCEEND</supertypeName> - </typeDescription> - <typeDescription> - <name>org.apache.uima.ruta.type.COMMA</name> - <description/> - <supertypeName>org.apache.uima.ruta.type.PM</supertypeName> - </typeDescription> - <typeDescription> - <name>org.apache.uima.ruta.type.EXCLAMATION</name> - <description/> - <supertypeName>org.apache.uima.ruta.type.SENTENCEEND</supertypeName> - </typeDescription> - <typeDescription> - <name>org.apache.uima.ruta.type.SEMICOLON</name> - <description/> - <supertypeName>org.apache.uima.ruta.type.PM</supertypeName> - </typeDescription> - <typeDescription> - <name>org.apache.uima.ruta.type.WS</name> - <description/> - <supertypeName>org.apache.uima.ruta.type.ANY</supertypeName> - </typeDescription> - <typeDescription> - <name>org.apache.uima.ruta.type.NUM</name> - <description/> - <supertypeName>org.apache.uima.ruta.type.ANY</supertypeName> - </typeDescription> - <typeDescription> - <name>org.apache.uima.ruta.type.SPECIAL</name> - <description/> - <supertypeName>org.apache.uima.ruta.type.ANY</supertypeName> - </typeDescription> - <typeDescription> - <name>org.apache.uima.ruta.type.NBSP</name> - <description/> - <supertypeName>org.apache.uima.ruta.type.SPACE</supertypeName> - </typeDescription> - <typeDescription> - <name>org.apache.uima.ruta.type.AMP</name> - <description/> - <supertypeName>org.apache.uima.ruta.type.ANY</supertypeName> - </typeDescription> - <typeDescription> - <name>org.apache.uima.ruta.type.SPACE</name> - <description/> - <supertypeName>org.apache.uima.ruta.type.WS</supertypeName> - </typeDescription> - <typeDescription> - <name>org.apache.uima.ruta.type.BREAK</name> - <description/> - <supertypeName>org.apache.uima.ruta.type.WS</supertypeName> - </typeDescription> - <typeDescription> - <name>org.apache.uima.ruta.type.TokenSeed</name> - <description/> - <supertypeName>uima.tcas.Annotation</supertypeName> - </typeDescription> - </types> -</typeSystemDescription> + </typeSystemDescription> Added: uima/uv3/ruta-v3/trunk/example-projects/Misc/descriptor/DefaultSeederTypeSystem.xml URL: http://svn.apache.org/viewvc/uima/uv3/ruta-v3/trunk/example-projects/Misc/descriptor/DefaultSeederTypeSystem.xml?rev=1869967&view=auto ============================================================================== --- uima/uv3/ruta-v3/trunk/example-projects/Misc/descriptor/DefaultSeederTypeSystem.xml (added) +++ uima/uv3/ruta-v3/trunk/example-projects/Misc/descriptor/DefaultSeederTypeSystem.xml Mon Nov 18 12:19:31 2019 @@ -0,0 +1,142 @@ +<?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.DefaultSeederTypeSystem</name> + <description/> + <version>1.0</version> + <vendor/> + <types> + <typeDescription> + <name>org.apache.uima.ruta.type.ALL</name> + <description/> + <supertypeName>org.apache.uima.ruta.type.TokenSeed</supertypeName> + </typeDescription> + <typeDescription> + <name>org.apache.uima.ruta.type.ANY</name> + <description/> + <supertypeName>org.apache.uima.ruta.type.ALL</supertypeName> + </typeDescription> + <typeDescription> + <name>org.apache.uima.ruta.type.MARKUP</name> + <description/> + <supertypeName>org.apache.uima.ruta.type.ALL</supertypeName> + </typeDescription> + <typeDescription> + <name>org.apache.uima.ruta.type.CW</name> + <description/> + <supertypeName>org.apache.uima.ruta.type.W</supertypeName> + </typeDescription> + <typeDescription> + <name>org.apache.uima.ruta.type.W</name> + <description/> + <supertypeName>org.apache.uima.ruta.type.ANY</supertypeName> + </typeDescription> + <typeDescription> + <name>org.apache.uima.ruta.type.SW</name> + <description/> + <supertypeName>org.apache.uima.ruta.type.W</supertypeName> + </typeDescription> + <typeDescription> + <name>org.apache.uima.ruta.type.PM</name> + <description/> + <supertypeName>org.apache.uima.ruta.type.ANY</supertypeName> + </typeDescription> + <typeDescription> + <name>org.apache.uima.ruta.type.CAP</name> + <description/> + <supertypeName>org.apache.uima.ruta.type.W</supertypeName> + </typeDescription> + <typeDescription> + <name>org.apache.uima.ruta.type.COLON</name> + <description/> + <supertypeName>org.apache.uima.ruta.type.PM</supertypeName> + </typeDescription> + <typeDescription> + <name>org.apache.uima.ruta.type.PERIOD</name> + <description/> + <supertypeName>org.apache.uima.ruta.type.SENTENCEEND</supertypeName> + </typeDescription> + <typeDescription> + <name>org.apache.uima.ruta.type.SENTENCEEND</name> + <description/> + <supertypeName>org.apache.uima.ruta.type.PM</supertypeName> + </typeDescription> + <typeDescription> + <name>org.apache.uima.ruta.type.QUESTION</name> + <description/> + <supertypeName>org.apache.uima.ruta.type.SENTENCEEND</supertypeName> + </typeDescription> + <typeDescription> + <name>org.apache.uima.ruta.type.COMMA</name> + <description/> + <supertypeName>org.apache.uima.ruta.type.PM</supertypeName> + </typeDescription> + <typeDescription> + <name>org.apache.uima.ruta.type.EXCLAMATION</name> + <description/> + <supertypeName>org.apache.uima.ruta.type.SENTENCEEND</supertypeName> + </typeDescription> + <typeDescription> + <name>org.apache.uima.ruta.type.SEMICOLON</name> + <description/> + <supertypeName>org.apache.uima.ruta.type.PM</supertypeName> + </typeDescription> + <typeDescription> + <name>org.apache.uima.ruta.type.WS</name> + <description/> + <supertypeName>org.apache.uima.ruta.type.ANY</supertypeName> + </typeDescription> + <typeDescription> + <name>org.apache.uima.ruta.type.NUM</name> + <description/> + <supertypeName>org.apache.uima.ruta.type.ANY</supertypeName> + </typeDescription> + <typeDescription> + <name>org.apache.uima.ruta.type.SPECIAL</name> + <description/> + <supertypeName>org.apache.uima.ruta.type.ANY</supertypeName> + </typeDescription> + <typeDescription> + <name>org.apache.uima.ruta.type.NBSP</name> + <description/> + <supertypeName>org.apache.uima.ruta.type.SPACE</supertypeName> + </typeDescription> + <typeDescription> + <name>org.apache.uima.ruta.type.AMP</name> + <description/> + <supertypeName>org.apache.uima.ruta.type.ANY</supertypeName> + </typeDescription> + <typeDescription> + <name>org.apache.uima.ruta.type.SPACE</name> + <description/> + <supertypeName>org.apache.uima.ruta.type.WS</supertypeName> + </typeDescription> + <typeDescription> + <name>org.apache.uima.ruta.type.BREAK</name> + <description/> + <supertypeName>org.apache.uima.ruta.type.WS</supertypeName> + </typeDescription> + <typeDescription> + <name>org.apache.uima.ruta.type.TokenSeed</name> + <description/> + <supertypeName>uima.tcas.Annotation</supertypeName> + </typeDescription> + </types> +</typeSystemDescription> Added: uima/uv3/ruta-v3/trunk/example-projects/Misc/descriptor/RutaBasicTypeSystem.xml URL: http://svn.apache.org/viewvc/uima/uv3/ruta-v3/trunk/example-projects/Misc/descriptor/RutaBasicTypeSystem.xml?rev=1869967&view=auto ============================================================================== --- uima/uv3/ruta-v3/trunk/example-projects/Misc/descriptor/RutaBasicTypeSystem.xml (added) +++ uima/uv3/ruta-v3/trunk/example-projects/Misc/descriptor/RutaBasicTypeSystem.xml Mon Nov 18 12:19:31 2019 @@ -0,0 +1,39 @@ +<?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.RutaBasicTypeSystem</name> + <description/> + <version>1.0</version> + <vendor/> + <types> + <typeDescription> + <name>org.apache.uima.ruta.type.RutaBasic</name> + <description/> + <supertypeName>uima.tcas.Annotation</supertypeName> + <features> + <featureDescription> + <name>replacement</name> + <description/> + <rangeTypeName>uima.cas.String</rangeTypeName> + </featureDescription> + </features> + </typeDescription> + </types> +</typeSystemDescription> Added: uima/uv3/ruta-v3/trunk/example-projects/Misc/descriptor/RutaInternalTypeSystem.xml URL: http://svn.apache.org/viewvc/uima/uv3/ruta-v3/trunk/example-projects/Misc/descriptor/RutaInternalTypeSystem.xml?rev=1869967&view=auto ============================================================================== --- uima/uv3/ruta-v3/trunk/example-projects/Misc/descriptor/RutaInternalTypeSystem.xml (added) +++ uima/uv3/ruta-v3/trunk/example-projects/Misc/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/Misc/descriptor/uima/ruta/example/HtmlConverterEngine.xml URL: http://svn.apache.org/viewvc/uima/uv3/ruta-v3/trunk/example-projects/Misc/descriptor/uima/ruta/example/HtmlConverterEngine.xml?rev=1869967&r1=1869966&r2=1869967&view=diff ============================================================================== --- uima/uv3/ruta-v3/trunk/example-projects/Misc/descriptor/uima/ruta/example/HtmlConverterEngine.xml (original) +++ uima/uv3/ruta-v3/trunk/example-projects/Misc/descriptor/uima/ruta/example/HtmlConverterEngine.xml Mon Nov 18 12:19:31 2019 @@ -180,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> @@ -231,6 +313,36 @@ </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.HtmlConverter</string> @@ -240,7 +352,7 @@ <name>scriptPaths</name> <value> <array> - <string>C:/work/ws/ws-uima-ruta-plain/ruta-trunk/example-projects/Misc/script</string> + <string>C:/src/ws/ws-uima/ruta/example-projects/Misc/script</string> </array> </value> </nameValuePair> @@ -248,7 +360,7 @@ <name>descriptorPaths</name> <value> <array> - <string>C:/work/ws/ws-uima-ruta-plain/ruta-trunk/example-projects/Misc/descriptor</string> + <string>C:/src/ws/ws-uima/ruta/example-projects/Misc/descriptor</string> </array> </value> </nameValuePair> @@ -256,7 +368,7 @@ <name>resourcePaths</name> <value> <array> - <string>C:/work/ws/ws-uima-ruta-plain/ruta-trunk/example-projects/Misc/resources</string> + <string>C:/src/ws/ws-uima/ruta/example-projects/Misc/resources</string> </array> </value> </nameValuePair> @@ -286,20 +398,17 @@ <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> - <nameValuePair> - <name>additionalEngineLoaders</name> - <value> - <array/> - </value> - </nameValuePair> </configurationParameterSettings> <typeSystemDescription> <imports> Modified: uima/uv3/ruta-v3/trunk/example-projects/Misc/descriptor/uima/ruta/example/SorterEngine.xml URL: http://svn.apache.org/viewvc/uima/uv3/ruta-v3/trunk/example-projects/Misc/descriptor/uima/ruta/example/SorterEngine.xml?rev=1869967&r1=1869966&r2=1869967&view=diff ============================================================================== --- uima/uv3/ruta-v3/trunk/example-projects/Misc/descriptor/uima/ruta/example/SorterEngine.xml (original) +++ uima/uv3/ruta-v3/trunk/example-projects/Misc/descriptor/uima/ruta/example/SorterEngine.xml Mon Nov 18 12:19:31 2019 @@ -180,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> @@ -231,6 +313,36 @@ </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.Sorter</string> @@ -240,7 +352,7 @@ <name>scriptPaths</name> <value> <array> - <string>C:/work/ws/ws-uima-ruta-plain/ruta-trunk/example-projects/Misc/script</string> + <string>C:/src/ws/ws-uima/ruta/example-projects/Misc/script</string> </array> </value> </nameValuePair> @@ -248,7 +360,7 @@ <name>descriptorPaths</name> <value> <array> - <string>C:/work/ws/ws-uima-ruta-plain/ruta-trunk/example-projects/Misc/descriptor</string> + <string>C:/src/ws/ws-uima/ruta/example-projects/Misc/descriptor</string> </array> </value> </nameValuePair> @@ -256,7 +368,7 @@ <name>resourcePaths</name> <value> <array> - <string>C:/work/ws/ws-uima-ruta-plain/ruta-trunk/example-projects/Misc/resources</string> + <string>C:/src/ws/ws-uima/ruta/example-projects/Misc/resources</string> </array> </value> </nameValuePair> @@ -284,20 +396,17 @@ <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> - <nameValuePair> - <name>additionalEngineLoaders</name> - <value> - <array/> - </value> - </nameValuePair> </configurationParameterSettings> <typeSystemDescription> <imports> Modified: uima/uv3/ruta-v3/trunk/example-projects/Misc/descriptor/uima/ruta/example/TEIConverterEngine.xml URL: http://svn.apache.org/viewvc/uima/uv3/ruta-v3/trunk/example-projects/Misc/descriptor/uima/ruta/example/TEIConverterEngine.xml?rev=1869967&r1=1869966&r2=1869967&view=diff ============================================================================== --- uima/uv3/ruta-v3/trunk/example-projects/Misc/descriptor/uima/ruta/example/TEIConverterEngine.xml (original) +++ uima/uv3/ruta-v3/trunk/example-projects/Misc/descriptor/uima/ruta/example/TEIConverterEngine.xml Mon Nov 18 12:19:31 2019 @@ -180,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> @@ -231,6 +313,36 @@ </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.TEIConverter</string> @@ -240,7 +352,7 @@ <name>scriptPaths</name> <value> <array> - <string>C:/work/ws/ws-uima-ruta-plain/ruta-trunk/example-projects/Misc/script</string> + <string>C:/src/ws/ws-uima/ruta/example-projects/Misc/script</string> </array> </value> </nameValuePair> @@ -248,7 +360,7 @@ <name>descriptorPaths</name> <value> <array> - <string>C:/work/ws/ws-uima-ruta-plain/ruta-trunk/example-projects/Misc/descriptor</string> + <string>C:/src/ws/ws-uima/ruta/example-projects/Misc/descriptor</string> </array> </value> </nameValuePair> @@ -256,7 +368,7 @@ <name>resourcePaths</name> <value> <array> - <string>C:/work/ws/ws-uima-ruta-plain/ruta-trunk/example-projects/Misc/resources</string> + <string>C:/src/ws/ws-uima/ruta/example-projects/Misc/resources</string> </array> </value> </nameValuePair> @@ -286,20 +398,17 @@ <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> - <nameValuePair> - <name>additionalEngineLoaders</name> - <value> - <array/> - </value> - </nameValuePair> </configurationParameterSettings> <typeSystemDescription> <imports> Modified: uima/uv3/ruta-v3/trunk/example-projects/TextRulerExample/descriptor/BasicEngine.xml URL: http://svn.apache.org/viewvc/uima/uv3/ruta-v3/trunk/example-projects/TextRulerExample/descriptor/BasicEngine.xml?rev=1869967&r1=1869966&r2=1869967&view=diff ============================================================================== --- uima/uv3/ruta-v3/trunk/example-projects/TextRulerExample/descriptor/BasicEngine.xml (original) +++ uima/uv3/ruta-v3/trunk/example-projects/TextRulerExample/descriptor/BasicEngine.xml Mon Nov 18 12:19:31 2019 @@ -22,7 +22,7 @@ <primitive>true</primitive> <annotatorImplementationName>org.apache.uima.ruta.engine.RutaEngine</annotatorImplementationName> <analysisEngineMetaData> - <name>BasicEngine</name> + <name>org.apache.uima.ruta.engine.BasicEngine</name> <description/> <version>1.0</version> <vendor/> @@ -198,9 +198,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> @@ -248,10 +330,40 @@ <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> </configurationParameterSettings> <typeSystemDescription> <imports> - <import location="BasicTypeSystem.xml"/> + <import name="org.apache.uima.ruta.engine.BasicTypeSystem"/> </imports> </typeSystemDescription> <typePriorities> Modified: uima/uv3/ruta-v3/trunk/example-projects/TextRulerExample/descriptor/BasicTypeSystem.xml URL: http://svn.apache.org/viewvc/uima/uv3/ruta-v3/trunk/example-projects/TextRulerExample/descriptor/BasicTypeSystem.xml?rev=1869967&r1=1869966&r2=1869967&view=diff ============================================================================== --- uima/uv3/ruta-v3/trunk/example-projects/TextRulerExample/descriptor/BasicTypeSystem.xml (original) +++ uima/uv3/ruta-v3/trunk/example-projects/TextRulerExample/descriptor/BasicTypeSystem.xml Mon Nov 18 12:19:31 2019 @@ -1,5 +1,4 @@ <?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 @@ -19,128 +18,13 @@ under the License. --> <typeSystemDescription xmlns="http://uima.apache.org/resourceSpecifier"> - <name>BasicTypeSystem</name> + <name>org.apache.uima.ruta.engine.BasicTypeSystem</name> <description/> <version>1.0</version> <vendor/> <imports> - <import location="InternalTypeSystem.xml"/> + <import location="RutaInternalTypeSystem.xml"/> + <import location="RutaBasicTypeSystem.xml"/> + <import location="DefaultSeederTypeSystem.xml"/> </imports> - <types> - <typeDescription> - <name>org.apache.uima.ruta.type.ALL</name> - <description/> - <supertypeName>org.apache.uima.ruta.type.TokenSeed</supertypeName> - </typeDescription> - <typeDescription> - <name>org.apache.uima.ruta.type.ANY</name> - <description/> - <supertypeName>org.apache.uima.ruta.type.ALL</supertypeName> - </typeDescription> - <typeDescription> - <name>org.apache.uima.ruta.type.MARKUP</name> - <description/> - <supertypeName>org.apache.uima.ruta.type.ALL</supertypeName> - </typeDescription> - <typeDescription> - <name>org.apache.uima.ruta.type.CW</name> - <description/> - <supertypeName>org.apache.uima.ruta.type.W</supertypeName> - </typeDescription> - <typeDescription> - <name>org.apache.uima.ruta.type.W</name> - <description/> - <supertypeName>org.apache.uima.ruta.type.ANY</supertypeName> - </typeDescription> - <typeDescription> - <name>org.apache.uima.ruta.type.SW</name> - <description/> - <supertypeName>org.apache.uima.ruta.type.W</supertypeName> - </typeDescription> - <typeDescription> - <name>org.apache.uima.ruta.type.PM</name> - <description/> - <supertypeName>org.apache.uima.ruta.type.ANY</supertypeName> - </typeDescription> - <typeDescription> - <name>org.apache.uima.ruta.type.CAP</name> - <description/> - <supertypeName>org.apache.uima.ruta.type.W</supertypeName> - </typeDescription> - <typeDescription> - <name>org.apache.uima.ruta.type.COLON</name> - <description/> - <supertypeName>org.apache.uima.ruta.type.PM</supertypeName> - </typeDescription> - <typeDescription> - <name>org.apache.uima.ruta.type.PERIOD</name> - <description/> - <supertypeName>org.apache.uima.ruta.type.SENTENCEEND</supertypeName> - </typeDescription> - <typeDescription> - <name>org.apache.uima.ruta.type.SENTENCEEND</name> - <description/> - <supertypeName>org.apache.uima.ruta.type.PM</supertypeName> - </typeDescription> - <typeDescription> - <name>org.apache.uima.ruta.type.QUESTION</name> - <description/> - <supertypeName>org.apache.uima.ruta.type.SENTENCEEND</supertypeName> - </typeDescription> - <typeDescription> - <name>org.apache.uima.ruta.type.COMMA</name> - <description/> - <supertypeName>org.apache.uima.ruta.type.PM</supertypeName> - </typeDescription> - <typeDescription> - <name>org.apache.uima.ruta.type.EXCLAMATION</name> - <description/> - <supertypeName>org.apache.uima.ruta.type.SENTENCEEND</supertypeName> - </typeDescription> - <typeDescription> - <name>org.apache.uima.ruta.type.SEMICOLON</name> - <description/> - <supertypeName>org.apache.uima.ruta.type.PM</supertypeName> - </typeDescription> - <typeDescription> - <name>org.apache.uima.ruta.type.WS</name> - <description/> - <supertypeName>org.apache.uima.ruta.type.ANY</supertypeName> - </typeDescription> - <typeDescription> - <name>org.apache.uima.ruta.type.NUM</name> - <description/> - <supertypeName>org.apache.uima.ruta.type.ANY</supertypeName> - </typeDescription> - <typeDescription> - <name>org.apache.uima.ruta.type.SPECIAL</name> - <description/> - <supertypeName>org.apache.uima.ruta.type.ANY</supertypeName> - </typeDescription> - <typeDescription> - <name>org.apache.uima.ruta.type.NBSP</name> - <description/> - <supertypeName>org.apache.uima.ruta.type.SPACE</supertypeName> - </typeDescription> - <typeDescription> - <name>org.apache.uima.ruta.type.AMP</name> - <description/> - <supertypeName>org.apache.uima.ruta.type.ANY</supertypeName> - </typeDescription> - <typeDescription> - <name>org.apache.uima.ruta.type.SPACE</name> - <description/> - <supertypeName>org.apache.uima.ruta.type.WS</supertypeName> - </typeDescription> - <typeDescription> - <name>org.apache.uima.ruta.type.BREAK</name> - <description/> - <supertypeName>org.apache.uima.ruta.type.WS</supertypeName> - </typeDescription> - <typeDescription> - <name>org.apache.uima.ruta.type.TokenSeed</name> - <description/> - <supertypeName>uima.tcas.Annotation</supertypeName> - </typeDescription> - </types> -</typeSystemDescription> + </typeSystemDescription> Added: uima/uv3/ruta-v3/trunk/example-projects/TextRulerExample/descriptor/DefaultSeederTypeSystem.xml URL: http://svn.apache.org/viewvc/uima/uv3/ruta-v3/trunk/example-projects/TextRulerExample/descriptor/DefaultSeederTypeSystem.xml?rev=1869967&view=auto ============================================================================== --- uima/uv3/ruta-v3/trunk/example-projects/TextRulerExample/descriptor/DefaultSeederTypeSystem.xml (added) +++ uima/uv3/ruta-v3/trunk/example-projects/TextRulerExample/descriptor/DefaultSeederTypeSystem.xml Mon Nov 18 12:19:31 2019 @@ -0,0 +1,142 @@ +<?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.DefaultSeederTypeSystem</name> + <description/> + <version>1.0</version> + <vendor/> + <types> + <typeDescription> + <name>org.apache.uima.ruta.type.ALL</name> + <description/> + <supertypeName>org.apache.uima.ruta.type.TokenSeed</supertypeName> + </typeDescription> + <typeDescription> + <name>org.apache.uima.ruta.type.ANY</name> + <description/> + <supertypeName>org.apache.uima.ruta.type.ALL</supertypeName> + </typeDescription> + <typeDescription> + <name>org.apache.uima.ruta.type.MARKUP</name> + <description/> + <supertypeName>org.apache.uima.ruta.type.ALL</supertypeName> + </typeDescription> + <typeDescription> + <name>org.apache.uima.ruta.type.CW</name> + <description/> + <supertypeName>org.apache.uima.ruta.type.W</supertypeName> + </typeDescription> + <typeDescription> + <name>org.apache.uima.ruta.type.W</name> + <description/> + <supertypeName>org.apache.uima.ruta.type.ANY</supertypeName> + </typeDescription> + <typeDescription> + <name>org.apache.uima.ruta.type.SW</name> + <description/> + <supertypeName>org.apache.uima.ruta.type.W</supertypeName> + </typeDescription> + <typeDescription> + <name>org.apache.uima.ruta.type.PM</name> + <description/> + <supertypeName>org.apache.uima.ruta.type.ANY</supertypeName> + </typeDescription> + <typeDescription> + <name>org.apache.uima.ruta.type.CAP</name> + <description/> + <supertypeName>org.apache.uima.ruta.type.W</supertypeName> + </typeDescription> + <typeDescription> + <name>org.apache.uima.ruta.type.COLON</name> + <description/> + <supertypeName>org.apache.uima.ruta.type.PM</supertypeName> + </typeDescription> + <typeDescription> + <name>org.apache.uima.ruta.type.PERIOD</name> + <description/> + <supertypeName>org.apache.uima.ruta.type.SENTENCEEND</supertypeName> + </typeDescription> + <typeDescription> + <name>org.apache.uima.ruta.type.SENTENCEEND</name> + <description/> + <supertypeName>org.apache.uima.ruta.type.PM</supertypeName> + </typeDescription> + <typeDescription> + <name>org.apache.uima.ruta.type.QUESTION</name> + <description/> + <supertypeName>org.apache.uima.ruta.type.SENTENCEEND</supertypeName> + </typeDescription> + <typeDescription> + <name>org.apache.uima.ruta.type.COMMA</name> + <description/> + <supertypeName>org.apache.uima.ruta.type.PM</supertypeName> + </typeDescription> + <typeDescription> + <name>org.apache.uima.ruta.type.EXCLAMATION</name> + <description/> + <supertypeName>org.apache.uima.ruta.type.SENTENCEEND</supertypeName> + </typeDescription> + <typeDescription> + <name>org.apache.uima.ruta.type.SEMICOLON</name> + <description/> + <supertypeName>org.apache.uima.ruta.type.PM</supertypeName> + </typeDescription> + <typeDescription> + <name>org.apache.uima.ruta.type.WS</name> + <description/> + <supertypeName>org.apache.uima.ruta.type.ANY</supertypeName> + </typeDescription> + <typeDescription> + <name>org.apache.uima.ruta.type.NUM</name> + <description/> + <supertypeName>org.apache.uima.ruta.type.ANY</supertypeName> + </typeDescription> + <typeDescription> + <name>org.apache.uima.ruta.type.SPECIAL</name> + <description/> + <supertypeName>org.apache.uima.ruta.type.ANY</supertypeName> + </typeDescription> + <typeDescription> + <name>org.apache.uima.ruta.type.NBSP</name> + <description/> + <supertypeName>org.apache.uima.ruta.type.SPACE</supertypeName> + </typeDescription> + <typeDescription> + <name>org.apache.uima.ruta.type.AMP</name> + <description/> + <supertypeName>org.apache.uima.ruta.type.ANY</supertypeName> + </typeDescription> + <typeDescription> + <name>org.apache.uima.ruta.type.SPACE</name> + <description/> + <supertypeName>org.apache.uima.ruta.type.WS</supertypeName> + </typeDescription> + <typeDescription> + <name>org.apache.uima.ruta.type.BREAK</name> + <description/> + <supertypeName>org.apache.uima.ruta.type.WS</supertypeName> + </typeDescription> + <typeDescription> + <name>org.apache.uima.ruta.type.TokenSeed</name> + <description/> + <supertypeName>uima.tcas.Annotation</supertypeName> + </typeDescription> + </types> +</typeSystemDescription> Added: uima/uv3/ruta-v3/trunk/example-projects/TextRulerExample/descriptor/RutaBasicTypeSystem.xml URL: http://svn.apache.org/viewvc/uima/uv3/ruta-v3/trunk/example-projects/TextRulerExample/descriptor/RutaBasicTypeSystem.xml?rev=1869967&view=auto ============================================================================== --- uima/uv3/ruta-v3/trunk/example-projects/TextRulerExample/descriptor/RutaBasicTypeSystem.xml (added) +++ uima/uv3/ruta-v3/trunk/example-projects/TextRulerExample/descriptor/RutaBasicTypeSystem.xml Mon Nov 18 12:19:31 2019 @@ -0,0 +1,39 @@ +<?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.RutaBasicTypeSystem</name> + <description/> + <version>1.0</version> + <vendor/> + <types> + <typeDescription> + <name>org.apache.uima.ruta.type.RutaBasic</name> + <description/> + <supertypeName>uima.tcas.Annotation</supertypeName> + <features> + <featureDescription> + <name>replacement</name> + <description/> + <rangeTypeName>uima.cas.String</rangeTypeName> + </featureDescription> + </features> + </typeDescription> + </types> +</typeSystemDescription>
