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 2015/04/25 17:24:29 UTC
svn commit: r1676027 [1/3] - in /uima/ruta/trunk/example-projects:
ExampleProject/ ExampleProject/descriptor/
ExampleProject/descriptor/uima/ruta/example/
ExampleProject/descriptor/utils/ ExtensionsExample/
ExtensionsExample/descriptor/ ExtensionsExamp...
Author: pkluegl
Date: Sat Apr 25 15:24:27 2015
New Revision: 1676027
URL: http://svn.apache.org/r1676027
Log:
UIMA-4287
- updated example projects (descriptors and buildpath)
Added:
uima/ruta/trunk/example-projects/TextRulerExample/descriptor/uima/
uima/ruta/trunk/example-projects/TextRulerExample/descriptor/uima/ruta/
uima/ruta/trunk/example-projects/TextRulerExample/descriptor/uima/ruta/example/
uima/ruta/trunk/example-projects/TextRulerExample/descriptor/uima/ruta/example/BaseEngine.xml
uima/ruta/trunk/example-projects/TextRulerExample/descriptor/uima/ruta/example/BaseTypeSystem.xml
uima/ruta/trunk/example-projects/TextRulerExample/descriptor/uima/ruta/example/FeaturesEngine.xml
uima/ruta/trunk/example-projects/TextRulerExample/descriptor/uima/ruta/example/FeaturesTypeSystem.xml
Modified:
uima/ruta/trunk/example-projects/ExampleProject/.buildpath
uima/ruta/trunk/example-projects/ExampleProject/descriptor/BasicEngine.xml
uima/ruta/trunk/example-projects/ExampleProject/descriptor/BasicTypeSystem.xml
uima/ruta/trunk/example-projects/ExampleProject/descriptor/uima/ruta/example/AuthorEngine.xml
uima/ruta/trunk/example-projects/ExampleProject/descriptor/uima/ruta/example/AuthorTypeSystem.xml
uima/ruta/trunk/example-projects/ExampleProject/descriptor/uima/ruta/example/MainEngine.xml
uima/ruta/trunk/example-projects/ExampleProject/descriptor/uima/ruta/example/MainTypeSystem.xml
uima/ruta/trunk/example-projects/ExampleProject/descriptor/uima/ruta/example/TitleEngine.xml
uima/ruta/trunk/example-projects/ExampleProject/descriptor/uima/ruta/example/TitleTypeSystem.xml
uima/ruta/trunk/example-projects/ExampleProject/descriptor/uima/ruta/example/YearEngine.xml
uima/ruta/trunk/example-projects/ExampleProject/descriptor/uima/ruta/example/YearTypeSystem.xml
uima/ruta/trunk/example-projects/ExampleProject/descriptor/utils/HtmlConverter.xml
uima/ruta/trunk/example-projects/ExampleProject/descriptor/utils/HtmlTypeSystem.xml
uima/ruta/trunk/example-projects/ExampleProject/descriptor/utils/PlainTextTypeSystem.xml
uima/ruta/trunk/example-projects/ExtensionsExample/.buildpath
uima/ruta/trunk/example-projects/ExtensionsExample/descriptor/BasicEngine.xml
uima/ruta/trunk/example-projects/ExtensionsExample/descriptor/BasicTypeSystem.xml
uima/ruta/trunk/example-projects/ExtensionsExample/descriptor/uima/ruta/example/ExampleActionEngine.xml
uima/ruta/trunk/example-projects/ExtensionsExample/descriptor/uima/ruta/example/ExampleActionTypeSystem.xml
uima/ruta/trunk/example-projects/ExtensionsExample/descriptor/uima/ruta/example/ExampleBlockEngine.xml
uima/ruta/trunk/example-projects/ExtensionsExample/descriptor/uima/ruta/example/ExampleBlockTypeSystem.xml
uima/ruta/trunk/example-projects/ExtensionsExample/descriptor/uima/ruta/example/ExampleBooleanFunctionEngine.xml
uima/ruta/trunk/example-projects/ExtensionsExample/descriptor/uima/ruta/example/ExampleBooleanFunctionTypeSystem.xml
uima/ruta/trunk/example-projects/ExtensionsExample/descriptor/uima/ruta/example/ExampleConditionEngine.xml
uima/ruta/trunk/example-projects/ExtensionsExample/descriptor/uima/ruta/example/ExampleConditionTypeSystem.xml
uima/ruta/trunk/example-projects/ExtensionsExample/descriptor/uima/ruta/example/ExampleNumberFunctionEngine.xml
uima/ruta/trunk/example-projects/ExtensionsExample/descriptor/uima/ruta/example/ExampleNumberFunctionTypeSystem.xml
uima/ruta/trunk/example-projects/ExtensionsExample/descriptor/uima/ruta/example/ExampleStringFunctionEngine.xml
uima/ruta/trunk/example-projects/ExtensionsExample/descriptor/uima/ruta/example/ExampleStringFunctionTypeSystem.xml
uima/ruta/trunk/example-projects/ExtensionsExample/descriptor/uima/ruta/example/ExampleTypeFunctionEngine.xml
uima/ruta/trunk/example-projects/ExtensionsExample/descriptor/uima/ruta/example/ExampleTypeFunctionTypeSystem.xml
uima/ruta/trunk/example-projects/ExtensionsExample/descriptor/utils/HtmlConverter.xml
uima/ruta/trunk/example-projects/ExtensionsExample/descriptor/utils/HtmlTypeSystem.xml
uima/ruta/trunk/example-projects/ExtensionsExample/descriptor/utils/PlainTextTypeSystem.xml
uima/ruta/trunk/example-projects/GermanNovels/.buildpath
uima/ruta/trunk/example-projects/GermanNovels/descriptor/BasicEngine.xml
uima/ruta/trunk/example-projects/GermanNovels/descriptor/BasicTypeSystem.xml
uima/ruta/trunk/example-projects/GermanNovels/descriptor/utils/HtmlConverter.xml
uima/ruta/trunk/example-projects/GermanNovels/descriptor/utils/HtmlTypeSystem.xml
uima/ruta/trunk/example-projects/GermanNovels/descriptor/utils/PlainTextTypeSystem.xml
uima/ruta/trunk/example-projects/Misc/.buildpath
uima/ruta/trunk/example-projects/Misc/descriptor/BasicEngine.xml
uima/ruta/trunk/example-projects/Misc/descriptor/BasicTypeSystem.xml
uima/ruta/trunk/example-projects/Misc/descriptor/uima/ruta/example/HtmlConverterEngine.xml
uima/ruta/trunk/example-projects/Misc/descriptor/uima/ruta/example/HtmlConverterTypeSystem.xml
uima/ruta/trunk/example-projects/Misc/descriptor/uima/ruta/example/SorterEngine.xml
uima/ruta/trunk/example-projects/Misc/descriptor/uima/ruta/example/SorterTypeSystem.xml
uima/ruta/trunk/example-projects/Misc/descriptor/uima/ruta/example/TEIConverterEngine.xml
uima/ruta/trunk/example-projects/Misc/descriptor/uima/ruta/example/TEIConverterTypeSystem.xml
uima/ruta/trunk/example-projects/Misc/descriptor/utils/HtmlConverter.xml
uima/ruta/trunk/example-projects/Misc/descriptor/utils/HtmlTypeSystem.xml
uima/ruta/trunk/example-projects/Misc/descriptor/utils/PlainTextTypeSystem.xml
uima/ruta/trunk/example-projects/TextRulerExample/.buildpath
uima/ruta/trunk/example-projects/TextRulerExample/descriptor/BasicEngine.xml
uima/ruta/trunk/example-projects/TextRulerExample/descriptor/BasicTypeSystem.xml
uima/ruta/trunk/example-projects/TextRulerExample/descriptor/utils/HtmlConverter.xml
uima/ruta/trunk/example-projects/TextRulerExample/descriptor/utils/HtmlTypeSystem.xml
uima/ruta/trunk/example-projects/TextRulerExample/descriptor/utils/PlainTextTypeSystem.xml
Modified: uima/ruta/trunk/example-projects/ExampleProject/.buildpath
URL: http://svn.apache.org/viewvc/uima/ruta/trunk/example-projects/ExampleProject/.buildpath?rev=1676027&r1=1676026&r2=1676027&view=diff
==============================================================================
--- uima/ruta/trunk/example-projects/ExampleProject/.buildpath (original)
+++ uima/ruta/trunk/example-projects/ExampleProject/.buildpath Sat Apr 25 15:24:27 2015
@@ -1,5 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<buildpath>
- <buildpathentry kind="con" path="org.eclipse.dltk.launching.INTERPRETER_CONTAINER"/>
- <buildpathentry kind="src" path="script"/>
+ <buildpathentry kind="src" path="script">
+ <attributes>
+ <attribute name="ruta" value="script"/>
+ </attributes>
+ </buildpathentry>
+ <buildpathentry kind="src" path="descriptor">
+ <attributes>
+ <attribute name="ruta" value="descriptor"/>
+ </attributes>
+ </buildpathentry>
+ <buildpathentry kind="src" path="resources">
+ <attributes>
+ <attribute name="ruta" value="resources"/>
+ </attributes>
+ </buildpathentry>
</buildpath>
Modified: uima/ruta/trunk/example-projects/ExampleProject/descriptor/BasicEngine.xml
URL: http://svn.apache.org/viewvc/uima/ruta/trunk/example-projects/ExampleProject/descriptor/BasicEngine.xml?rev=1676027&r1=1676026&r2=1676027&view=diff
==============================================================================
--- uima/ruta/trunk/example-projects/ExampleProject/descriptor/BasicEngine.xml (original)
+++ uima/ruta/trunk/example-projects/ExampleProject/descriptor/BasicEngine.xml Sat Apr 25 15:24:27 2015
@@ -17,7 +17,6 @@
specific language governing permissions and limitations
under the License.
-->
-
<analysisEngineDescription xmlns="http://uima.apache.org/resourceSpecifier">
<frameworkImplementation>org.apache.uima.java</frameworkImplementation>
<primitive>true</primitive>
@@ -132,7 +131,21 @@
</configurationParameter>
<configurationParameter>
<name>dynamicAnchoring</name>
- <description>Activates dynamic achoring (possible speed up).</description>
+ <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>
@@ -161,6 +174,30 @@
<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>
</configurationParameters>
<configurationParameterSettings>
<nameValuePair>
@@ -186,7 +223,6 @@
<value>
<array>
<string>org.apache.uima.ruta.type.SPACE</string>
- <string>org.apache.uima.ruta.type.NBSP</string>
<string>org.apache.uima.ruta.type.BREAK</string>
<string>org.apache.uima.ruta.type.MARKUP</string>
</array>
Modified: uima/ruta/trunk/example-projects/ExampleProject/descriptor/BasicTypeSystem.xml
URL: http://svn.apache.org/viewvc/uima/ruta/trunk/example-projects/ExampleProject/descriptor/BasicTypeSystem.xml?rev=1676027&r1=1676026&r2=1676027&view=diff
==============================================================================
--- uima/ruta/trunk/example-projects/ExampleProject/descriptor/BasicTypeSystem.xml (original)
+++ uima/ruta/trunk/example-projects/ExampleProject/descriptor/BasicTypeSystem.xml Sat Apr 25 15:24:27 2015
@@ -120,7 +120,7 @@
<typeDescription>
<name>org.apache.uima.ruta.type.NBSP</name>
<description/>
- <supertypeName>org.apache.uima.ruta.type.ANY</supertypeName>
+ <supertypeName>org.apache.uima.ruta.type.SPACE</supertypeName>
</typeDescription>
<typeDescription>
<name>org.apache.uima.ruta.type.AMP</name>
Modified: uima/ruta/trunk/example-projects/ExampleProject/descriptor/uima/ruta/example/AuthorEngine.xml
URL: http://svn.apache.org/viewvc/uima/ruta/trunk/example-projects/ExampleProject/descriptor/uima/ruta/example/AuthorEngine.xml?rev=1676027&r1=1676026&r2=1676027&view=diff
==============================================================================
--- uima/ruta/trunk/example-projects/ExampleProject/descriptor/uima/ruta/example/AuthorEngine.xml (original)
+++ uima/ruta/trunk/example-projects/ExampleProject/descriptor/uima/ruta/example/AuthorEngine.xml Sat Apr 25 15:24:27 2015
@@ -114,7 +114,21 @@
</configurationParameter>
<configurationParameter>
<name>dynamicAnchoring</name>
- <description>Activates dynamic achoring (possible speed up).</description>
+ <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>
@@ -143,6 +157,30 @@
<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>
</configurationParameters>
<configurationParameterSettings>
<nameValuePair>
@@ -168,7 +206,6 @@
<value>
<array>
<string>org.apache.uima.ruta.type.SPACE</string>
- <string>org.apache.uima.ruta.type.NBSP</string>
<string>org.apache.uima.ruta.type.BREAK</string>
<string>org.apache.uima.ruta.type.MARKUP</string>
</array>
@@ -197,7 +234,7 @@
<nameValuePair>
<name>mainScript</name>
<value>
- <string>uima.ruta.example.Author</string>
+ <string>Author</string>
</value>
</nameValuePair>
<nameValuePair>
@@ -248,10 +285,16 @@
<array>
<string>org.apache.uima.ruta.example.extensions.ExampleConditionExtension</string>
<string>org.apache.uima.ruta.example.extensions.ExampleActionExtension</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.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>
@@ -263,38 +306,9 @@
</nameValuePair>
</configurationParameterSettings>
<typeSystemDescription>
- <name>uima.ruta.example.AuthorTypeSystem</name>
<imports>
- <import location="../../../BasicTypeSystem.xml"/>
- <import location="../../../types/BibtexTypeSystem.xml"/>
+ <import location="AuthorTypeSystem.xml"/>
</imports>
- <types>
- <typeDescription>
- <name>uima.ruta.example.Author.FirstName</name>
- <description>Type defined in uima.ruta.example.Author</description>
- <supertypeName>uima.tcas.Annotation</supertypeName>
- </typeDescription>
- <typeDescription>
- <name>uima.ruta.example.Author.FirstNameInitial</name>
- <description>Type defined in uima.ruta.example.Author</description>
- <supertypeName>uima.tcas.Annotation</supertypeName>
- </typeDescription>
- <typeDescription>
- <name>uima.ruta.example.Author.Name</name>
- <description>Type defined in uima.ruta.example.Author</description>
- <supertypeName>uima.tcas.Annotation</supertypeName>
- </typeDescription>
- <typeDescription>
- <name>uima.ruta.example.Author.NameListPart</name>
- <description>Type defined in uima.ruta.example.Author</description>
- <supertypeName>uima.tcas.Annotation</supertypeName>
- </typeDescription>
- <typeDescription>
- <name>uima.ruta.example.Author.NameLinker</name>
- <description>Type defined in uima.ruta.example.Author</description>
- <supertypeName>uima.tcas.Annotation</supertypeName>
- </typeDescription>
- </types>
</typeSystemDescription>
<typePriorities>
<priorityList>
Modified: uima/ruta/trunk/example-projects/ExampleProject/descriptor/uima/ruta/example/AuthorTypeSystem.xml
URL: http://svn.apache.org/viewvc/uima/ruta/trunk/example-projects/ExampleProject/descriptor/uima/ruta/example/AuthorTypeSystem.xml?rev=1676027&r1=1676026&r2=1676027&view=diff
==============================================================================
--- uima/ruta/trunk/example-projects/ExampleProject/descriptor/uima/ruta/example/AuthorTypeSystem.xml (original)
+++ uima/ruta/trunk/example-projects/ExampleProject/descriptor/uima/ruta/example/AuthorTypeSystem.xml Sat Apr 25 15:24:27 2015
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<typeSystemDescription xmlns="http://uima.apache.org/resourceSpecifier">
- <name>uima.ruta.example.AuthorTypeSystem</name>
+ <name>AuthorTypeSystem</name>
<imports>
- <import location="../../../BasicTypeSystem.xml"/>
- <import location="../../../types/BibtexTypeSystem.xml"/>
+ <import location="..\..\..\BasicTypeSystem.xml"/>
+ <import location="..\..\..\types\BibtexTypeSystem.xml"/>
</imports>
<types>
<typeDescription>
@@ -18,12 +18,12 @@
<supertypeName>uima.tcas.Annotation</supertypeName>
</typeDescription>
<typeDescription>
- <name>uima.ruta.example.Author.Name</name>
+ <name>uima.ruta.example.Author.NameListPart</name>
<description>Type defined in uima.ruta.example.Author</description>
<supertypeName>uima.tcas.Annotation</supertypeName>
</typeDescription>
<typeDescription>
- <name>uima.ruta.example.Author.NameListPart</name>
+ <name>uima.ruta.example.Author.Name</name>
<description>Type defined in uima.ruta.example.Author</description>
<supertypeName>uima.tcas.Annotation</supertypeName>
</typeDescription>
Modified: uima/ruta/trunk/example-projects/ExampleProject/descriptor/uima/ruta/example/MainEngine.xml
URL: http://svn.apache.org/viewvc/uima/ruta/trunk/example-projects/ExampleProject/descriptor/uima/ruta/example/MainEngine.xml?rev=1676027&r1=1676026&r2=1676027&view=diff
==============================================================================
--- uima/ruta/trunk/example-projects/ExampleProject/descriptor/uima/ruta/example/MainEngine.xml (original)
+++ uima/ruta/trunk/example-projects/ExampleProject/descriptor/uima/ruta/example/MainEngine.xml Sat Apr 25 15:24:27 2015
@@ -114,7 +114,21 @@
</configurationParameter>
<configurationParameter>
<name>dynamicAnchoring</name>
- <description>Activates dynamic achoring (possible speed up).</description>
+ <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>
@@ -143,6 +157,30 @@
<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>
</configurationParameters>
<configurationParameterSettings>
<nameValuePair>
@@ -168,7 +206,6 @@
<value>
<array>
<string>org.apache.uima.ruta.type.SPACE</string>
- <string>org.apache.uima.ruta.type.NBSP</string>
<string>org.apache.uima.ruta.type.BREAK</string>
<string>org.apache.uima.ruta.type.MARKUP</string>
</array>
@@ -197,7 +234,7 @@
<nameValuePair>
<name>mainScript</name>
<value>
- <string>uima.ruta.example.Main</string>
+ <string>Main</string>
</value>
</nameValuePair>
<nameValuePair>
@@ -252,10 +289,16 @@
<array>
<string>org.apache.uima.ruta.example.extensions.ExampleConditionExtension</string>
<string>org.apache.uima.ruta.example.extensions.ExampleActionExtension</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.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>
@@ -267,13 +310,8 @@
</nameValuePair>
</configurationParameterSettings>
<typeSystemDescription>
- <name>uima.ruta.example.MainTypeSystem</name>
<imports>
- <import location="../../../BasicTypeSystem.xml"/>
- <import location="../../../types/BibtexTypeSystem.xml"/>
- <import location="AuthorTypeSystem.xml"/>
- <import location="YearTypeSystem.xml"/>
- <import location="TitleTypeSystem.xml"/>
+ <import location="MainTypeSystem.xml"/>
</imports>
</typeSystemDescription>
<typePriorities>
Modified: uima/ruta/trunk/example-projects/ExampleProject/descriptor/uima/ruta/example/MainTypeSystem.xml
URL: http://svn.apache.org/viewvc/uima/ruta/trunk/example-projects/ExampleProject/descriptor/uima/ruta/example/MainTypeSystem.xml?rev=1676027&r1=1676026&r2=1676027&view=diff
==============================================================================
--- uima/ruta/trunk/example-projects/ExampleProject/descriptor/uima/ruta/example/MainTypeSystem.xml (original)
+++ uima/ruta/trunk/example-projects/ExampleProject/descriptor/uima/ruta/example/MainTypeSystem.xml Sat Apr 25 15:24:27 2015
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<typeSystemDescription xmlns="http://uima.apache.org/resourceSpecifier">
- <name>uima.ruta.example.MainTypeSystem</name>
+ <name>MainTypeSystem</name>
<imports>
- <import location="../../../BasicTypeSystem.xml"/>
- <import location="../../../types/BibtexTypeSystem.xml"/>
+ <import location="..\..\..\BasicTypeSystem.xml"/>
+ <import location="..\..\..\types\BibtexTypeSystem.xml"/>
<import location="AuthorTypeSystem.xml"/>
<import location="YearTypeSystem.xml"/>
<import location="TitleTypeSystem.xml"/>
Modified: uima/ruta/trunk/example-projects/ExampleProject/descriptor/uima/ruta/example/TitleEngine.xml
URL: http://svn.apache.org/viewvc/uima/ruta/trunk/example-projects/ExampleProject/descriptor/uima/ruta/example/TitleEngine.xml?rev=1676027&r1=1676026&r2=1676027&view=diff
==============================================================================
--- uima/ruta/trunk/example-projects/ExampleProject/descriptor/uima/ruta/example/TitleEngine.xml (original)
+++ uima/ruta/trunk/example-projects/ExampleProject/descriptor/uima/ruta/example/TitleEngine.xml Sat Apr 25 15:24:27 2015
@@ -114,7 +114,21 @@
</configurationParameter>
<configurationParameter>
<name>dynamicAnchoring</name>
- <description>Activates dynamic achoring (possible speed up).</description>
+ <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>
@@ -143,6 +157,30 @@
<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>
</configurationParameters>
<configurationParameterSettings>
<nameValuePair>
@@ -168,7 +206,6 @@
<value>
<array>
<string>org.apache.uima.ruta.type.SPACE</string>
- <string>org.apache.uima.ruta.type.NBSP</string>
<string>org.apache.uima.ruta.type.BREAK</string>
<string>org.apache.uima.ruta.type.MARKUP</string>
</array>
@@ -197,7 +234,7 @@
<nameValuePair>
<name>mainScript</name>
<value>
- <string>uima.ruta.example.Title</string>
+ <string>Title</string>
</value>
</nameValuePair>
<nameValuePair>
@@ -248,10 +285,16 @@
<array>
<string>org.apache.uima.ruta.example.extensions.ExampleConditionExtension</string>
<string>org.apache.uima.ruta.example.extensions.ExampleActionExtension</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.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>
@@ -263,18 +306,9 @@
</nameValuePair>
</configurationParameterSettings>
<typeSystemDescription>
- <name>uima.ruta.example.TitleTypeSystem</name>
<imports>
- <import location="../../../BasicTypeSystem.xml"/>
- <import location="../../../types/BibtexTypeSystem.xml"/>
+ <import location="TitleTypeSystem.xml"/>
</imports>
- <types>
- <typeDescription>
- <name>uima.ruta.example.Title.TitleStopper</name>
- <description>Type defined in uima.ruta.example.Title</description>
- <supertypeName>uima.tcas.Annotation</supertypeName>
- </typeDescription>
- </types>
</typeSystemDescription>
<typePriorities>
<priorityList>
Modified: uima/ruta/trunk/example-projects/ExampleProject/descriptor/uima/ruta/example/TitleTypeSystem.xml
URL: http://svn.apache.org/viewvc/uima/ruta/trunk/example-projects/ExampleProject/descriptor/uima/ruta/example/TitleTypeSystem.xml?rev=1676027&r1=1676026&r2=1676027&view=diff
==============================================================================
--- uima/ruta/trunk/example-projects/ExampleProject/descriptor/uima/ruta/example/TitleTypeSystem.xml (original)
+++ uima/ruta/trunk/example-projects/ExampleProject/descriptor/uima/ruta/example/TitleTypeSystem.xml Sat Apr 25 15:24:27 2015
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<typeSystemDescription xmlns="http://uima.apache.org/resourceSpecifier">
- <name>uima.ruta.example.TitleTypeSystem</name>
+ <name>TitleTypeSystem</name>
<imports>
- <import location="../../../BasicTypeSystem.xml"/>
- <import location="../../../types/BibtexTypeSystem.xml"/>
+ <import location="..\..\..\BasicTypeSystem.xml"/>
+ <import location="..\..\..\types\BibtexTypeSystem.xml"/>
</imports>
<types>
<typeDescription>
Modified: uima/ruta/trunk/example-projects/ExampleProject/descriptor/uima/ruta/example/YearEngine.xml
URL: http://svn.apache.org/viewvc/uima/ruta/trunk/example-projects/ExampleProject/descriptor/uima/ruta/example/YearEngine.xml?rev=1676027&r1=1676026&r2=1676027&view=diff
==============================================================================
--- uima/ruta/trunk/example-projects/ExampleProject/descriptor/uima/ruta/example/YearEngine.xml (original)
+++ uima/ruta/trunk/example-projects/ExampleProject/descriptor/uima/ruta/example/YearEngine.xml Sat Apr 25 15:24:27 2015
@@ -114,7 +114,21 @@
</configurationParameter>
<configurationParameter>
<name>dynamicAnchoring</name>
- <description>Activates dynamic achoring (possible speed up).</description>
+ <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>
@@ -143,6 +157,30 @@
<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>
</configurationParameters>
<configurationParameterSettings>
<nameValuePair>
@@ -168,7 +206,6 @@
<value>
<array>
<string>org.apache.uima.ruta.type.SPACE</string>
- <string>org.apache.uima.ruta.type.NBSP</string>
<string>org.apache.uima.ruta.type.BREAK</string>
<string>org.apache.uima.ruta.type.MARKUP</string>
</array>
@@ -197,7 +234,7 @@
<nameValuePair>
<name>mainScript</name>
<value>
- <string>uima.ruta.example.Year</string>
+ <string>Year</string>
</value>
</nameValuePair>
<nameValuePair>
@@ -248,10 +285,16 @@
<array>
<string>org.apache.uima.ruta.example.extensions.ExampleConditionExtension</string>
<string>org.apache.uima.ruta.example.extensions.ExampleActionExtension</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.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>
@@ -263,10 +306,8 @@
</nameValuePair>
</configurationParameterSettings>
<typeSystemDescription>
- <name>uima.ruta.example.YearTypeSystem</name>
<imports>
- <import location="../../../BasicTypeSystem.xml"/>
- <import location="../../../types/BibtexTypeSystem.xml"/>
+ <import location="YearTypeSystem.xml"/>
</imports>
</typeSystemDescription>
<typePriorities>
Modified: uima/ruta/trunk/example-projects/ExampleProject/descriptor/uima/ruta/example/YearTypeSystem.xml
URL: http://svn.apache.org/viewvc/uima/ruta/trunk/example-projects/ExampleProject/descriptor/uima/ruta/example/YearTypeSystem.xml?rev=1676027&r1=1676026&r2=1676027&view=diff
==============================================================================
--- uima/ruta/trunk/example-projects/ExampleProject/descriptor/uima/ruta/example/YearTypeSystem.xml (original)
+++ uima/ruta/trunk/example-projects/ExampleProject/descriptor/uima/ruta/example/YearTypeSystem.xml Sat Apr 25 15:24:27 2015
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<typeSystemDescription xmlns="http://uima.apache.org/resourceSpecifier">
- <name>uima.ruta.example.YearTypeSystem</name>
+ <name>YearTypeSystem</name>
<imports>
- <import location="../../../BasicTypeSystem.xml"/>
- <import location="../../../types/BibtexTypeSystem.xml"/>
+ <import location="..\..\..\BasicTypeSystem.xml"/>
+ <import location="..\..\..\types\BibtexTypeSystem.xml"/>
</imports>
</typeSystemDescription>
Modified: uima/ruta/trunk/example-projects/ExampleProject/descriptor/utils/HtmlConverter.xml
URL: http://svn.apache.org/viewvc/uima/ruta/trunk/example-projects/ExampleProject/descriptor/utils/HtmlConverter.xml?rev=1676027&r1=1676026&r2=1676027&view=diff
==============================================================================
--- uima/ruta/trunk/example-projects/ExampleProject/descriptor/utils/HtmlConverter.xml (original)
+++ uima/ruta/trunk/example-projects/ExampleProject/descriptor/utils/HtmlConverter.xml Sat Apr 25 15:24:27 2015
@@ -40,12 +40,24 @@
<mandatory>false</mandatory>
</configurationParameter>
<configurationParameter>
+ <name>newlineInducingTagRegExp</name>
+ <type>String</type>
+ <multiValued>false</multiValued>
+ <mandatory>false</mandatory>
+ </configurationParameter>
+ <configurationParameter>
<name>replaceLinebreaks</name>
<type>Boolean</type>
<multiValued>false</multiValued>
<mandatory>false</mandatory>
</configurationParameter>
<configurationParameter>
+ <name>linebreakReplacement</name>
+ <type>String</type>
+ <multiValued>false</multiValued>
+ <mandatory>false</mandatory>
+ </configurationParameter>
+ <configurationParameter>
<name>inputView</name>
<type>String</type>
<multiValued>false</multiValued>
@@ -71,8 +83,27 @@ Defaults to heuristic.</description>
<multiValued>true</multiValued>
<mandatory>false</mandatory>
</configurationParameter>
+ <configurationParameter>
+ <name>skipWhitespaces</name>
+ <type>Boolean</type>
+ <multiValued>false</multiValued>
+ <mandatory>false</mandatory>
+ </configurationParameter>
+ <configurationParameter>
+ <name>processAll</name>
+ <type>Boolean</type>
+ <multiValued>false</multiValued>
+ <mandatory>false</mandatory>
+ </configurationParameter>
</configurationParameters>
- <configurationParameterSettings/>
+ <configurationParameterSettings>
+ <nameValuePair>
+ <name>skipWhitespaces</name>
+ <value>
+ <boolean>true</boolean>
+ </value>
+ </nameValuePair>
+ </configurationParameterSettings>
<typeSystemDescription/>
<typePriorities/>
<fsIndexCollection/>
@@ -90,4 +121,4 @@ Defaults to heuristic.</description>
</operationalProperties>
</analysisEngineMetaData>
<resourceManagerConfiguration/>
-</analysisEngineDescription>
\ No newline at end of file
+</analysisEngineDescription>
Modified: uima/ruta/trunk/example-projects/ExampleProject/descriptor/utils/HtmlTypeSystem.xml
URL: http://svn.apache.org/viewvc/uima/ruta/trunk/example-projects/ExampleProject/descriptor/utils/HtmlTypeSystem.xml?rev=1676027&r1=1676026&r2=1676027&view=diff
==============================================================================
--- uima/ruta/trunk/example-projects/ExampleProject/descriptor/utils/HtmlTypeSystem.xml (original)
+++ uima/ruta/trunk/example-projects/ExampleProject/descriptor/utils/HtmlTypeSystem.xml Sat Apr 25 15:24:27 2015
@@ -35,6 +35,11 @@
<rangeTypeName>uima.cas.String</rangeTypeName>
</featureDescription>
<featureDescription>
+ <name>expandedOffsets</name>
+ <description></description>
+ <rangeTypeName>uima.cas.Boolean</rangeTypeName>
+ </featureDescription>
+ <featureDescription>
<name>attributeName</name>
<description></description>
<rangeTypeName>uima.cas.StringArray</rangeTypeName>
Modified: uima/ruta/trunk/example-projects/ExampleProject/descriptor/utils/PlainTextTypeSystem.xml
URL: http://svn.apache.org/viewvc/uima/ruta/trunk/example-projects/ExampleProject/descriptor/utils/PlainTextTypeSystem.xml?rev=1676027&r1=1676026&r2=1676027&view=diff
==============================================================================
--- uima/ruta/trunk/example-projects/ExampleProject/descriptor/utils/PlainTextTypeSystem.xml (original)
+++ uima/ruta/trunk/example-projects/ExampleProject/descriptor/utils/PlainTextTypeSystem.xml Sat Apr 25 15:24:27 2015
@@ -1,4 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
+
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
@@ -17,7 +18,6 @@
specific language governing permissions and limitations
under the License.
-->
-
<typeSystemDescription xmlns="http://uima.apache.org/resourceSpecifier">
<name>PlainTextTypeSystem</name>
<description/>
@@ -37,6 +37,11 @@
<typeDescription>
<name>org.apache.uima.ruta.type.WSLine</name>
<description/>
+ <supertypeName>org.apache.uima.ruta.type.EmptyLine</supertypeName>
+ </typeDescription>
+ <typeDescription>
+ <name>org.apache.uima.ruta.type.EmptyLine</name>
+ <description/>
<supertypeName>org.apache.uima.ruta.type.AnyLine</supertypeName>
</typeDescription>
<typeDescription>
Modified: uima/ruta/trunk/example-projects/ExtensionsExample/.buildpath
URL: http://svn.apache.org/viewvc/uima/ruta/trunk/example-projects/ExtensionsExample/.buildpath?rev=1676027&r1=1676026&r2=1676027&view=diff
==============================================================================
--- uima/ruta/trunk/example-projects/ExtensionsExample/.buildpath (original)
+++ uima/ruta/trunk/example-projects/ExtensionsExample/.buildpath Sat Apr 25 15:24:27 2015
@@ -1,5 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<buildpath>
- <buildpathentry kind="con" path="org.eclipse.dltk.launching.INTERPRETER_CONTAINER"/>
- <buildpathentry kind="src" path="script"/>
+ <buildpathentry kind="src" path="script">
+ <attributes>
+ <attribute name="ruta" value="script"/>
+ </attributes>
+ </buildpathentry>
+ <buildpathentry kind="src" path="descriptor">
+ <attributes>
+ <attribute name="ruta" value="descriptor"/>
+ </attributes>
+ </buildpathentry>
+ <buildpathentry kind="src" path="resources">
+ <attributes>
+ <attribute name="ruta" value="resources"/>
+ </attributes>
+ </buildpathentry>
</buildpath>
Modified: uima/ruta/trunk/example-projects/ExtensionsExample/descriptor/BasicEngine.xml
URL: http://svn.apache.org/viewvc/uima/ruta/trunk/example-projects/ExtensionsExample/descriptor/BasicEngine.xml?rev=1676027&r1=1676026&r2=1676027&view=diff
==============================================================================
--- uima/ruta/trunk/example-projects/ExtensionsExample/descriptor/BasicEngine.xml (original)
+++ uima/ruta/trunk/example-projects/ExtensionsExample/descriptor/BasicEngine.xml Sat Apr 25 15:24:27 2015
@@ -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
@@ -181,6 +180,24 @@
<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>
</configurationParameters>
<configurationParameterSettings>
<nameValuePair>
@@ -206,7 +223,6 @@
<value>
<array>
<string>org.apache.uima.ruta.type.SPACE</string>
- <string>org.apache.uima.ruta.type.NBSP</string>
<string>org.apache.uima.ruta.type.BREAK</string>
<string>org.apache.uima.ruta.type.MARKUP</string>
</array>
Modified: uima/ruta/trunk/example-projects/ExtensionsExample/descriptor/BasicTypeSystem.xml
URL: http://svn.apache.org/viewvc/uima/ruta/trunk/example-projects/ExtensionsExample/descriptor/BasicTypeSystem.xml?rev=1676027&r1=1676026&r2=1676027&view=diff
==============================================================================
--- uima/ruta/trunk/example-projects/ExtensionsExample/descriptor/BasicTypeSystem.xml (original)
+++ uima/ruta/trunk/example-projects/ExtensionsExample/descriptor/BasicTypeSystem.xml Sat Apr 25 15:24:27 2015
@@ -120,7 +120,7 @@
<typeDescription>
<name>org.apache.uima.ruta.type.NBSP</name>
<description/>
- <supertypeName>org.apache.uima.ruta.type.ANY</supertypeName>
+ <supertypeName>org.apache.uima.ruta.type.SPACE</supertypeName>
</typeDescription>
<typeDescription>
<name>org.apache.uima.ruta.type.AMP</name>
Modified: uima/ruta/trunk/example-projects/ExtensionsExample/descriptor/uima/ruta/example/ExampleActionEngine.xml
URL: http://svn.apache.org/viewvc/uima/ruta/trunk/example-projects/ExtensionsExample/descriptor/uima/ruta/example/ExampleActionEngine.xml?rev=1676027&r1=1676026&r2=1676027&view=diff
==============================================================================
--- uima/ruta/trunk/example-projects/ExtensionsExample/descriptor/uima/ruta/example/ExampleActionEngine.xml (original)
+++ uima/ruta/trunk/example-projects/ExtensionsExample/descriptor/uima/ruta/example/ExampleActionEngine.xml Sat Apr 25 15:24:27 2015
@@ -163,6 +163,24 @@
<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>
</configurationParameters>
<configurationParameterSettings>
<nameValuePair>
@@ -188,7 +206,6 @@
<value>
<array>
<string>org.apache.uima.ruta.type.SPACE</string>
- <string>org.apache.uima.ruta.type.NBSP</string>
<string>org.apache.uima.ruta.type.BREAK</string>
<string>org.apache.uima.ruta.type.MARKUP</string>
</array>
@@ -217,14 +234,14 @@
<nameValuePair>
<name>mainScript</name>
<value>
- <string>uima.ruta.example.ExampleAction</string>
+ <string>ExampleAction</string>
</value>
</nameValuePair>
<nameValuePair>
<name>scriptPaths</name>
<value>
<array>
- <string>D:/work/workspace-ruta/ExtensionsExample/script</string>
+ <string>D:/work/ws-tutorial/ExtensionsExample/script</string>
</array>
</value>
</nameValuePair>
@@ -232,7 +249,7 @@
<name>descriptorPaths</name>
<value>
<array>
- <string>D:/work/workspace-ruta/ExtensionsExample/descriptor</string>
+ <string>D:/work/ws-tutorial/ExtensionsExample/descriptor</string>
</array>
</value>
</nameValuePair>
@@ -240,7 +257,7 @@
<name>resourcePaths</name>
<value>
<array>
- <string>D:\work\workspace-ruta\ExtensionsExample\resources</string>
+ <string>D:\work\ws-tutorial\ExtensionsExample\resources</string>
</array>
</value>
</nameValuePair>
@@ -268,12 +285,16 @@
<array>
<string>org.apache.uima.ruta.example.extensions.ExampleConditionExtension</string>
<string>org.apache.uima.ruta.example.extensions.ExampleActionExtension</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.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>
- <string>org.apache.uima.ruta.extension.fst.FSTBlockExtension</string>
</array>
</value>
</nameValuePair>
@@ -285,9 +306,8 @@
</nameValuePair>
</configurationParameterSettings>
<typeSystemDescription>
- <name>uima.ruta.example.ExampleActionTypeSystem</name>
<imports>
- <import location="../../../BasicTypeSystem.xml"/>
+ <import location="ExampleActionTypeSystem.xml"/>
</imports>
</typeSystemDescription>
<typePriorities>
Modified: uima/ruta/trunk/example-projects/ExtensionsExample/descriptor/uima/ruta/example/ExampleActionTypeSystem.xml
URL: http://svn.apache.org/viewvc/uima/ruta/trunk/example-projects/ExtensionsExample/descriptor/uima/ruta/example/ExampleActionTypeSystem.xml?rev=1676027&r1=1676026&r2=1676027&view=diff
==============================================================================
--- uima/ruta/trunk/example-projects/ExtensionsExample/descriptor/uima/ruta/example/ExampleActionTypeSystem.xml (original)
+++ uima/ruta/trunk/example-projects/ExtensionsExample/descriptor/uima/ruta/example/ExampleActionTypeSystem.xml Sat Apr 25 15:24:27 2015
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<typeSystemDescription xmlns="http://uima.apache.org/resourceSpecifier">
- <name>uima.ruta.example.ExampleActionTypeSystem</name>
+ <name>ExampleActionTypeSystem</name>
<imports>
- <import location="../../../BasicTypeSystem.xml"/>
+ <import location="..\..\..\BasicTypeSystem.xml"/>
</imports>
</typeSystemDescription>
Modified: uima/ruta/trunk/example-projects/ExtensionsExample/descriptor/uima/ruta/example/ExampleBlockEngine.xml
URL: http://svn.apache.org/viewvc/uima/ruta/trunk/example-projects/ExtensionsExample/descriptor/uima/ruta/example/ExampleBlockEngine.xml?rev=1676027&r1=1676026&r2=1676027&view=diff
==============================================================================
--- uima/ruta/trunk/example-projects/ExtensionsExample/descriptor/uima/ruta/example/ExampleBlockEngine.xml (original)
+++ uima/ruta/trunk/example-projects/ExtensionsExample/descriptor/uima/ruta/example/ExampleBlockEngine.xml Sat Apr 25 15:24:27 2015
@@ -163,6 +163,24 @@
<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>
</configurationParameters>
<configurationParameterSettings>
<nameValuePair>
@@ -188,7 +206,6 @@
<value>
<array>
<string>org.apache.uima.ruta.type.SPACE</string>
- <string>org.apache.uima.ruta.type.NBSP</string>
<string>org.apache.uima.ruta.type.BREAK</string>
<string>org.apache.uima.ruta.type.MARKUP</string>
</array>
@@ -217,14 +234,14 @@
<nameValuePair>
<name>mainScript</name>
<value>
- <string>uima.ruta.example.ExampleBlock</string>
+ <string>ExampleBlock</string>
</value>
</nameValuePair>
<nameValuePair>
<name>scriptPaths</name>
<value>
<array>
- <string>D:/work/workspace-ruta/ExtensionsExample/script</string>
+ <string>D:/work/ws-tutorial/ExtensionsExample/script</string>
</array>
</value>
</nameValuePair>
@@ -232,7 +249,7 @@
<name>descriptorPaths</name>
<value>
<array>
- <string>D:/work/workspace-ruta/ExtensionsExample/descriptor</string>
+ <string>D:/work/ws-tutorial/ExtensionsExample/descriptor</string>
</array>
</value>
</nameValuePair>
@@ -240,7 +257,7 @@
<name>resourcePaths</name>
<value>
<array>
- <string>D:\work\workspace-ruta\ExtensionsExample\resources</string>
+ <string>D:\work\ws-tutorial\ExtensionsExample\resources</string>
</array>
</value>
</nameValuePair>
@@ -268,12 +285,16 @@
<array>
<string>org.apache.uima.ruta.example.extensions.ExampleConditionExtension</string>
<string>org.apache.uima.ruta.example.extensions.ExampleActionExtension</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.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>
- <string>org.apache.uima.ruta.extension.fst.FSTBlockExtension</string>
</array>
</value>
</nameValuePair>
@@ -285,32 +306,9 @@
</nameValuePair>
</configurationParameterSettings>
<typeSystemDescription>
- <name>uima.ruta.example.ExampleBlockTypeSystem</name>
<imports>
- <import location="../../../BasicTypeSystem.xml"/>
+ <import location="ExampleBlockTypeSystem.xml"/>
</imports>
- <types>
- <typeDescription>
- <name>uima.ruta.example.ExampleBlock.T1</name>
- <description>Type defined in uima.ruta.example.ExampleBlock</description>
- <supertypeName>uima.tcas.Annotation</supertypeName>
- </typeDescription>
- <typeDescription>
- <name>uima.ruta.example.ExampleBlock.T2</name>
- <description>Type defined in uima.ruta.example.ExampleBlock</description>
- <supertypeName>uima.tcas.Annotation</supertypeName>
- </typeDescription>
- <typeDescription>
- <name>uima.ruta.example.ExampleBlock.T3</name>
- <description>Type defined in uima.ruta.example.ExampleBlock</description>
- <supertypeName>uima.tcas.Annotation</supertypeName>
- </typeDescription>
- <typeDescription>
- <name>uima.ruta.example.ExampleBlock.T4</name>
- <description>Type defined in uima.ruta.example.ExampleBlock</description>
- <supertypeName>uima.tcas.Annotation</supertypeName>
- </typeDescription>
- </types>
</typeSystemDescription>
<typePriorities>
<priorityList>
Modified: uima/ruta/trunk/example-projects/ExtensionsExample/descriptor/uima/ruta/example/ExampleBlockTypeSystem.xml
URL: http://svn.apache.org/viewvc/uima/ruta/trunk/example-projects/ExtensionsExample/descriptor/uima/ruta/example/ExampleBlockTypeSystem.xml?rev=1676027&r1=1676026&r2=1676027&view=diff
==============================================================================
--- uima/ruta/trunk/example-projects/ExtensionsExample/descriptor/uima/ruta/example/ExampleBlockTypeSystem.xml (original)
+++ uima/ruta/trunk/example-projects/ExtensionsExample/descriptor/uima/ruta/example/ExampleBlockTypeSystem.xml Sat Apr 25 15:24:27 2015
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<typeSystemDescription xmlns="http://uima.apache.org/resourceSpecifier">
- <name>uima.ruta.example.ExampleBlockTypeSystem</name>
+ <name>ExampleBlockTypeSystem</name>
<imports>
- <import location="../../../BasicTypeSystem.xml"/>
+ <import location="..\..\..\BasicTypeSystem.xml"/>
</imports>
<types>
<typeDescription>
Modified: uima/ruta/trunk/example-projects/ExtensionsExample/descriptor/uima/ruta/example/ExampleBooleanFunctionEngine.xml
URL: http://svn.apache.org/viewvc/uima/ruta/trunk/example-projects/ExtensionsExample/descriptor/uima/ruta/example/ExampleBooleanFunctionEngine.xml?rev=1676027&r1=1676026&r2=1676027&view=diff
==============================================================================
--- uima/ruta/trunk/example-projects/ExtensionsExample/descriptor/uima/ruta/example/ExampleBooleanFunctionEngine.xml (original)
+++ uima/ruta/trunk/example-projects/ExtensionsExample/descriptor/uima/ruta/example/ExampleBooleanFunctionEngine.xml Sat Apr 25 15:24:27 2015
@@ -163,6 +163,24 @@
<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>
</configurationParameters>
<configurationParameterSettings>
<nameValuePair>
@@ -188,7 +206,6 @@
<value>
<array>
<string>org.apache.uima.ruta.type.SPACE</string>
- <string>org.apache.uima.ruta.type.NBSP</string>
<string>org.apache.uima.ruta.type.BREAK</string>
<string>org.apache.uima.ruta.type.MARKUP</string>
</array>
@@ -217,14 +234,14 @@
<nameValuePair>
<name>mainScript</name>
<value>
- <string>uima.ruta.example.ExampleBooleanFunction</string>
+ <string>ExampleBooleanFunction</string>
</value>
</nameValuePair>
<nameValuePair>
<name>scriptPaths</name>
<value>
<array>
- <string>D:/work/workspace-ruta/ExtensionsExample/script</string>
+ <string>D:/work/ws-tutorial/ExtensionsExample/script</string>
</array>
</value>
</nameValuePair>
@@ -232,7 +249,7 @@
<name>descriptorPaths</name>
<value>
<array>
- <string>D:/work/workspace-ruta/ExtensionsExample/descriptor</string>
+ <string>D:/work/ws-tutorial/ExtensionsExample/descriptor</string>
</array>
</value>
</nameValuePair>
@@ -240,7 +257,7 @@
<name>resourcePaths</name>
<value>
<array>
- <string>D:\work\workspace-ruta\ExtensionsExample\resources</string>
+ <string>D:\work\ws-tutorial\ExtensionsExample\resources</string>
</array>
</value>
</nameValuePair>
@@ -268,12 +285,16 @@
<array>
<string>org.apache.uima.ruta.example.extensions.ExampleConditionExtension</string>
<string>org.apache.uima.ruta.example.extensions.ExampleActionExtension</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.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>
- <string>org.apache.uima.ruta.extension.fst.FSTBlockExtension</string>
</array>
</value>
</nameValuePair>
@@ -285,27 +306,9 @@
</nameValuePair>
</configurationParameterSettings>
<typeSystemDescription>
- <name>uima.ruta.example.ExampleBooleanFunctionTypeSystem</name>
<imports>
- <import location="../../../BasicTypeSystem.xml"/>
+ <import location="ExampleBooleanFunctionTypeSystem.xml"/>
</imports>
- <types>
- <typeDescription>
- <name>uima.ruta.example.ExampleBooleanFunction.T1</name>
- <description>Type defined in uima.ruta.example.ExampleBooleanFunction</description>
- <supertypeName>uima.tcas.Annotation</supertypeName>
- </typeDescription>
- <typeDescription>
- <name>uima.ruta.example.ExampleBooleanFunction.T2</name>
- <description>Type defined in uima.ruta.example.ExampleBooleanFunction</description>
- <supertypeName>uima.tcas.Annotation</supertypeName>
- </typeDescription>
- <typeDescription>
- <name>uima.ruta.example.ExampleBooleanFunction.T3</name>
- <description>Type defined in uima.ruta.example.ExampleBooleanFunction</description>
- <supertypeName>uima.tcas.Annotation</supertypeName>
- </typeDescription>
- </types>
</typeSystemDescription>
<typePriorities>
<priorityList>
Modified: uima/ruta/trunk/example-projects/ExtensionsExample/descriptor/uima/ruta/example/ExampleBooleanFunctionTypeSystem.xml
URL: http://svn.apache.org/viewvc/uima/ruta/trunk/example-projects/ExtensionsExample/descriptor/uima/ruta/example/ExampleBooleanFunctionTypeSystem.xml?rev=1676027&r1=1676026&r2=1676027&view=diff
==============================================================================
--- uima/ruta/trunk/example-projects/ExtensionsExample/descriptor/uima/ruta/example/ExampleBooleanFunctionTypeSystem.xml (original)
+++ uima/ruta/trunk/example-projects/ExtensionsExample/descriptor/uima/ruta/example/ExampleBooleanFunctionTypeSystem.xml Sat Apr 25 15:24:27 2015
@@ -1,13 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<typeSystemDescription xmlns="http://uima.apache.org/resourceSpecifier">
- <name>uima.ruta.example.ExampleBooleanFunctionTypeSystem</name>
+ <name>ExampleBooleanFunctionTypeSystem</name>
<imports>
- <import location="../../../BasicTypeSystem.xml"/>
+ <import location="..\..\..\BasicTypeSystem.xml"/>
</imports>
<types>
<typeDescription>
- <name>uima.ruta.example.ExampleBooleanFunction.T1</name>
+ <name>uima.ruta.example.ExampleBooleanFunction.T3</name>
<description>Type defined in uima.ruta.example.ExampleBooleanFunction</description>
<supertypeName>uima.tcas.Annotation</supertypeName>
</typeDescription>
@@ -17,7 +17,7 @@
<supertypeName>uima.tcas.Annotation</supertypeName>
</typeDescription>
<typeDescription>
- <name>uima.ruta.example.ExampleBooleanFunction.T3</name>
+ <name>uima.ruta.example.ExampleBooleanFunction.T1</name>
<description>Type defined in uima.ruta.example.ExampleBooleanFunction</description>
<supertypeName>uima.tcas.Annotation</supertypeName>
</typeDescription>
Modified: uima/ruta/trunk/example-projects/ExtensionsExample/descriptor/uima/ruta/example/ExampleConditionEngine.xml
URL: http://svn.apache.org/viewvc/uima/ruta/trunk/example-projects/ExtensionsExample/descriptor/uima/ruta/example/ExampleConditionEngine.xml?rev=1676027&r1=1676026&r2=1676027&view=diff
==============================================================================
--- uima/ruta/trunk/example-projects/ExtensionsExample/descriptor/uima/ruta/example/ExampleConditionEngine.xml (original)
+++ uima/ruta/trunk/example-projects/ExtensionsExample/descriptor/uima/ruta/example/ExampleConditionEngine.xml Sat Apr 25 15:24:27 2015
@@ -163,6 +163,24 @@
<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>
</configurationParameters>
<configurationParameterSettings>
<nameValuePair>
@@ -188,7 +206,6 @@
<value>
<array>
<string>org.apache.uima.ruta.type.SPACE</string>
- <string>org.apache.uima.ruta.type.NBSP</string>
<string>org.apache.uima.ruta.type.BREAK</string>
<string>org.apache.uima.ruta.type.MARKUP</string>
</array>
@@ -217,14 +234,14 @@
<nameValuePair>
<name>mainScript</name>
<value>
- <string>uima.ruta.example.ExampleCondition</string>
+ <string>ExampleCondition</string>
</value>
</nameValuePair>
<nameValuePair>
<name>scriptPaths</name>
<value>
<array>
- <string>D:/work/workspace-ruta/ExtensionsExample/script</string>
+ <string>D:/work/ws-tutorial/ExtensionsExample/script</string>
</array>
</value>
</nameValuePair>
@@ -232,7 +249,7 @@
<name>descriptorPaths</name>
<value>
<array>
- <string>D:/work/workspace-ruta/ExtensionsExample/descriptor</string>
+ <string>D:/work/ws-tutorial/ExtensionsExample/descriptor</string>
</array>
</value>
</nameValuePair>
@@ -240,7 +257,7 @@
<name>resourcePaths</name>
<value>
<array>
- <string>D:\work\workspace-ruta\ExtensionsExample\resources</string>
+ <string>D:\work\ws-tutorial\ExtensionsExample\resources</string>
</array>
</value>
</nameValuePair>
@@ -268,12 +285,16 @@
<array>
<string>org.apache.uima.ruta.example.extensions.ExampleConditionExtension</string>
<string>org.apache.uima.ruta.example.extensions.ExampleActionExtension</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.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>
- <string>org.apache.uima.ruta.extension.fst.FSTBlockExtension</string>
</array>
</value>
</nameValuePair>
@@ -285,17 +306,9 @@
</nameValuePair>
</configurationParameterSettings>
<typeSystemDescription>
- <name>uima.ruta.example.ExampleConditionTypeSystem</name>
<imports>
- <import location="../../../BasicTypeSystem.xml"/>
+ <import location="ExampleConditionTypeSystem.xml"/>
</imports>
- <types>
- <typeDescription>
- <name>uima.ruta.example.ExampleCondition.T1</name>
- <description>Type defined in uima.ruta.example.ExampleCondition</description>
- <supertypeName>uima.tcas.Annotation</supertypeName>
- </typeDescription>
- </types>
</typeSystemDescription>
<typePriorities>
<priorityList>
Modified: uima/ruta/trunk/example-projects/ExtensionsExample/descriptor/uima/ruta/example/ExampleConditionTypeSystem.xml
URL: http://svn.apache.org/viewvc/uima/ruta/trunk/example-projects/ExtensionsExample/descriptor/uima/ruta/example/ExampleConditionTypeSystem.xml?rev=1676027&r1=1676026&r2=1676027&view=diff
==============================================================================
--- uima/ruta/trunk/example-projects/ExtensionsExample/descriptor/uima/ruta/example/ExampleConditionTypeSystem.xml (original)
+++ uima/ruta/trunk/example-projects/ExtensionsExample/descriptor/uima/ruta/example/ExampleConditionTypeSystem.xml Sat Apr 25 15:24:27 2015
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<typeSystemDescription xmlns="http://uima.apache.org/resourceSpecifier">
- <name>uima.ruta.example.ExampleConditionTypeSystem</name>
+ <name>ExampleConditionTypeSystem</name>
<imports>
- <import location="../../../BasicTypeSystem.xml"/>
+ <import location="..\..\..\BasicTypeSystem.xml"/>
</imports>
<types>
<typeDescription>
Modified: uima/ruta/trunk/example-projects/ExtensionsExample/descriptor/uima/ruta/example/ExampleNumberFunctionEngine.xml
URL: http://svn.apache.org/viewvc/uima/ruta/trunk/example-projects/ExtensionsExample/descriptor/uima/ruta/example/ExampleNumberFunctionEngine.xml?rev=1676027&r1=1676026&r2=1676027&view=diff
==============================================================================
--- uima/ruta/trunk/example-projects/ExtensionsExample/descriptor/uima/ruta/example/ExampleNumberFunctionEngine.xml (original)
+++ uima/ruta/trunk/example-projects/ExtensionsExample/descriptor/uima/ruta/example/ExampleNumberFunctionEngine.xml Sat Apr 25 15:24:27 2015
@@ -163,6 +163,24 @@
<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>
</configurationParameters>
<configurationParameterSettings>
<nameValuePair>
@@ -188,7 +206,6 @@
<value>
<array>
<string>org.apache.uima.ruta.type.SPACE</string>
- <string>org.apache.uima.ruta.type.NBSP</string>
<string>org.apache.uima.ruta.type.BREAK</string>
<string>org.apache.uima.ruta.type.MARKUP</string>
</array>
@@ -217,14 +234,14 @@
<nameValuePair>
<name>mainScript</name>
<value>
- <string>uima.ruta.example.ExampleNumberFunction</string>
+ <string>ExampleNumberFunction</string>
</value>
</nameValuePair>
<nameValuePair>
<name>scriptPaths</name>
<value>
<array>
- <string>D:/work/workspace-ruta/ExtensionsExample/script</string>
+ <string>D:/work/ws-tutorial/ExtensionsExample/script</string>
</array>
</value>
</nameValuePair>
@@ -232,7 +249,7 @@
<name>descriptorPaths</name>
<value>
<array>
- <string>D:/work/workspace-ruta/ExtensionsExample/descriptor</string>
+ <string>D:/work/ws-tutorial/ExtensionsExample/descriptor</string>
</array>
</value>
</nameValuePair>
@@ -240,7 +257,7 @@
<name>resourcePaths</name>
<value>
<array>
- <string>D:\work\workspace-ruta\ExtensionsExample\resources</string>
+ <string>D:\work\ws-tutorial\ExtensionsExample\resources</string>
</array>
</value>
</nameValuePair>
@@ -268,12 +285,16 @@
<array>
<string>org.apache.uima.ruta.example.extensions.ExampleConditionExtension</string>
<string>org.apache.uima.ruta.example.extensions.ExampleActionExtension</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.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>
- <string>org.apache.uima.ruta.extension.fst.FSTBlockExtension</string>
</array>
</value>
</nameValuePair>
@@ -285,27 +306,9 @@
</nameValuePair>
</configurationParameterSettings>
<typeSystemDescription>
- <name>uima.ruta.example.ExampleNumberFunctionTypeSystem</name>
<imports>
- <import location="../../../BasicTypeSystem.xml"/>
+ <import location="ExampleNumberFunctionTypeSystem.xml"/>
</imports>
- <types>
- <typeDescription>
- <name>uima.ruta.example.ExampleNumberFunction.T1</name>
- <description>Type defined in uima.ruta.example.ExampleNumberFunction</description>
- <supertypeName>uima.tcas.Annotation</supertypeName>
- </typeDescription>
- <typeDescription>
- <name>uima.ruta.example.ExampleNumberFunction.T2</name>
- <description>Type defined in uima.ruta.example.ExampleNumberFunction</description>
- <supertypeName>uima.tcas.Annotation</supertypeName>
- </typeDescription>
- <typeDescription>
- <name>uima.ruta.example.ExampleNumberFunction.T3</name>
- <description>Type defined in uima.ruta.example.ExampleNumberFunction</description>
- <supertypeName>uima.tcas.Annotation</supertypeName>
- </typeDescription>
- </types>
</typeSystemDescription>
<typePriorities>
<priorityList>
Modified: uima/ruta/trunk/example-projects/ExtensionsExample/descriptor/uima/ruta/example/ExampleNumberFunctionTypeSystem.xml
URL: http://svn.apache.org/viewvc/uima/ruta/trunk/example-projects/ExtensionsExample/descriptor/uima/ruta/example/ExampleNumberFunctionTypeSystem.xml?rev=1676027&r1=1676026&r2=1676027&view=diff
==============================================================================
--- uima/ruta/trunk/example-projects/ExtensionsExample/descriptor/uima/ruta/example/ExampleNumberFunctionTypeSystem.xml (original)
+++ uima/ruta/trunk/example-projects/ExtensionsExample/descriptor/uima/ruta/example/ExampleNumberFunctionTypeSystem.xml Sat Apr 25 15:24:27 2015
@@ -1,23 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<typeSystemDescription xmlns="http://uima.apache.org/resourceSpecifier">
- <name>uima.ruta.example.ExampleNumberFunctionTypeSystem</name>
+ <name>ExampleNumberFunctionTypeSystem</name>
<imports>
- <import location="../../../BasicTypeSystem.xml"/>
+ <import location="..\..\..\BasicTypeSystem.xml"/>
</imports>
<types>
<typeDescription>
- <name>uima.ruta.example.ExampleNumberFunction.T1</name>
+ <name>uima.ruta.example.ExampleNumberFunction.T2</name>
<description>Type defined in uima.ruta.example.ExampleNumberFunction</description>
<supertypeName>uima.tcas.Annotation</supertypeName>
</typeDescription>
<typeDescription>
- <name>uima.ruta.example.ExampleNumberFunction.T2</name>
+ <name>uima.ruta.example.ExampleNumberFunction.T3</name>
<description>Type defined in uima.ruta.example.ExampleNumberFunction</description>
<supertypeName>uima.tcas.Annotation</supertypeName>
</typeDescription>
<typeDescription>
- <name>uima.ruta.example.ExampleNumberFunction.T3</name>
+ <name>uima.ruta.example.ExampleNumberFunction.T1</name>
<description>Type defined in uima.ruta.example.ExampleNumberFunction</description>
<supertypeName>uima.tcas.Annotation</supertypeName>
</typeDescription>