Modified: uima/sandbox/ruta/trunk/ruta-ep-ide-ui/src/main/resources/org/apache/uima/ruta/ide/ui/documentation/Conditions.html URL: http://svn.apache.org/viewvc/uima/sandbox/ruta/trunk/ruta-ep-ide-ui/src/main/resources/org/apache/uima/ruta/ide/ui/documentation/Conditions.html?rev=1520519&r1=1520518&r2=1520519&view=diff ============================================================================== --- uima/sandbox/ruta/trunk/ruta-ep-ide-ui/src/main/resources/org/apache/uima/ruta/ide/ui/documentation/Conditions.html (original) +++ uima/sandbox/ruta/trunk/ruta-ep-ide-ui/src/main/resources/org/apache/uima/ruta/ide/ui/documentation/Conditions.html Fri Sep 6 09:01:31 2013 @@ -1,4 +1,4 @@ - <div class="section" title="2.6.1. AFTER"><div class="titlepage"><div><div><h3 class="title" id="ugr.tools.ruta.language.conditions.after">2.6.1. AFTER</h3></div></div></div> +<div class="section" title="2.7.1. AFTER"><div class="titlepage"><div><div><h3 class="title" id="ugr.tools.ruta.language.conditions.after">2.7.1. AFTER</h3></div></div></div> <p> The AFTER condition evaluates true, if the matched annotation @@ -6,7 +6,7 @@ type. If a list of types is passed, this has to be true for at least one of them. </p> - <div class="section" title="2.6.1.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e944">2.6.1.1. + <div class="section" title="2.7.1.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1150">2.7.1.1. <span class="bold"><strong>Definition:</strong></span> </h4></div></div></div> @@ -14,7 +14,7 @@ </p><pre class="programlisting">AFTER(Type|TypeListExpression)</pre><p> </p> </div> - <div class="section" title="2.6.1.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e949">2.6.1.2. + <div class="section" title="2.7.1.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1155">2.7.1.2. <span class="bold"><strong>Example:</strong></span> </h4></div></div></div> @@ -28,13 +28,13 @@ </div> </div> - <div class="section" title="2.6.2. AND"><div class="titlepage"><div><div><h3 class="title" id="ugr.tools.ruta.language.conditions.and">2.6.2. AND</h3></div></div></div> + <div class="section" title="2.7.2. AND"><div class="titlepage"><div><div><h3 class="title" id="ugr.tools.ruta.language.conditions.and">2.7.2. AND</h3></div></div></div> <p> The AND condition is a composed condition and evaluates true, if all contained conditions evaluate true. </p> - <div class="section" title="2.6.2.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e958">2.6.2.1. + <div class="section" title="2.7.2.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1164">2.7.2.1. <span class="bold"><strong>Definition:</strong></span> </h4></div></div></div> @@ -42,7 +42,7 @@ </p><pre class="programlisting">AND(Condition1,...,ConditionN)</pre><p> </p> </div> - <div class="section" title="2.6.2.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e963">2.6.2.2. + <div class="section" title="2.7.2.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1169">2.7.2.2. <span class="bold"><strong>Example:</strong></span> </h4></div></div></div> @@ -58,7 +58,7 @@ </div> </div> - <div class="section" title="2.6.3. BEFORE"><div class="titlepage"><div><div><h3 class="title" id="ugr.tools.ruta.language.conditions.before">2.6.3. BEFORE</h3></div></div></div> + <div class="section" title="2.7.3. BEFORE"><div class="titlepage"><div><div><h3 class="title" id="ugr.tools.ruta.language.conditions.before">2.7.3. BEFORE</h3></div></div></div> <p> The BEFORE condition evaluates true, if the matched annotation @@ -66,7 +66,7 @@ type. If a list of types is passed, this has to be true for at least one of them. </p> - <div class="section" title="2.6.3.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e972">2.6.3.1. + <div class="section" title="2.7.3.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1178">2.7.3.1. <span class="bold"><strong>Definition:</strong></span> </h4></div></div></div> @@ -74,7 +74,7 @@ </p><pre class="programlisting">BEFORE(Type|TypeListExpression)</pre><p> </p> </div> - <div class="section" title="2.6.3.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e977">2.6.3.2. + <div class="section" title="2.7.3.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1183">2.7.3.2. <span class="bold"><strong>Example:</strong></span> </h4></div></div></div> @@ -88,7 +88,7 @@ </div> </div> - <div class="section" title="2.6.4. CONTAINS"><div class="titlepage"><div><div><h3 class="title" id="ugr.tools.ruta.language.conditions.contains">2.6.4. CONTAINS</h3></div></div></div> + <div class="section" title="2.7.4. CONTAINS"><div class="titlepage"><div><div><h3 class="title" id="ugr.tools.ruta.language.conditions.contains">2.7.4. CONTAINS</h3></div></div></div> <p> The CONTAINS condition evaluates true on a matched annotation, @@ -104,7 +104,7 @@ occurrence of the passed type. </p> - <div class="section" title="2.6.4.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e986">2.6.4.1. + <div class="section" title="2.7.4.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1192">2.7.4.1. <span class="bold"><strong>Definition:</strong></span> </h4></div></div></div> @@ -112,7 +112,7 @@ </p><pre class="programlisting">CONTAINS(Type(,NumberExpression,NumberExpression(,BooleanExpression)?)?)</pre><p> </p> </div> - <div class="section" title="2.6.4.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e991">2.6.4.2. + <div class="section" title="2.7.4.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1197">2.7.4.2. <span class="bold"><strong>Example:</strong></span> </h4></div></div></div> @@ -138,14 +138,14 @@ contains between 50% and 100% Keyword annotations. This is calculated based on the tokens of the Paragraph. If the Paragraph contains six basic annotations (see - <a class="xref" href="#ugr.tools.ruta.language.seeding" title="2.2. Basic annotations and tokens">Section 2.2, “Basic annotations and tokens”</a>), two of them are part of one Keyword annotation, and if one basic + <a class="xref" href="#ugr.tools.ruta.language.seeding" title="2.3. Basic annotations and tokens">Section 2.3, “Basic annotations and tokens”</a>), two of them are part of one Keyword annotation, and if one basic annotation is also annotated with a Keyword annotation, then the percentage of the contained Keywords is 50%. </p> </div> </div> - <div class="section" title="2.6.5. CONTEXTCOUNT"><div class="titlepage"><div><div><h3 class="title" id="ugr.tools.ruta.language.conditions.contextcount">2.6.5. CONTEXTCOUNT</h3></div></div></div> + <div class="section" title="2.7.5. CONTEXTCOUNT"><div class="titlepage"><div><div><h3 class="title" id="ugr.tools.ruta.language.conditions.contextcount">2.7.5. CONTEXTCOUNT</h3></div></div></div> <p> The CONTEXTCOUNT condition numbers all occurrences of the @@ -156,7 +156,7 @@ the index of the matched annotation is within a passed interval. If no interval is passed, the condition always evaluates true. </p> - <div class="section" title="2.6.5.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1007">2.6.5.1. + <div class="section" title="2.7.5.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1213">2.7.5.1. <span class="bold"><strong>Definition:</strong></span> </h4></div></div></div> @@ -164,7 +164,7 @@ </p><pre class="programlisting">CONTEXTCOUNT(Type(,NumberExpression,NumberExpression)?(,Variable)?)</pre><p> </p> </div> - <div class="section" title="2.6.5.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1012">2.6.5.2. + <div class="section" title="2.7.5.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1218">2.7.5.2. <span class="bold"><strong>Example:</strong></span> </h4></div></div></div> @@ -182,7 +182,7 @@ </div> </div> - <div class="section" title="2.6.6. COUNT"><div class="titlepage"><div><div><h3 class="title" id="ugr.tools.ruta.language.conditions.count">2.6.6. COUNT</h3></div></div></div> + <div class="section" title="2.7.6. COUNT"><div class="titlepage"><div><div><h3 class="title" id="ugr.tools.ruta.language.conditions.count">2.7.6. COUNT</h3></div></div></div> <p> The COUNT condition can be used in two different ways. In the @@ -199,7 +199,7 @@ amount is within a specified interval. If no interval is passed, the condition always evaluates true. </p> - <div class="section" title="2.6.6.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1021">2.6.6.1. + <div class="section" title="2.7.6.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1227">2.7.6.1. <span class="bold"><strong>Definition:</strong></span> </h4></div></div></div> @@ -211,7 +211,7 @@ (,NumberExpression,NumberExpression)?(,NumberVariable)?)</pre><p> </p> </div> - <div class="section" title="2.6.6.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1028">2.6.6.2. + <div class="section" title="2.7.6.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1234">2.7.6.2. <span class="bold"><strong>Example:</strong></span> </h4></div></div></div> @@ -236,18 +236,18 @@ </div> </div> - <div class="section" title="2.6.7. CURRENTCOUNT"><div class="titlepage"><div><div><h3 class="title" id="ugr.tools.ruta.language.conditions.currentcount">2.6.7. CURRENTCOUNT</h3></div></div></div> + <div class="section" title="2.7.7. CURRENTCOUNT"><div class="titlepage"><div><div><h3 class="title" id="ugr.tools.ruta.language.conditions.currentcount">2.7.7. CURRENTCOUNT</h3></div></div></div> <p> - The CURRENTCOUNT condition numbers all occurences of the matched + The CURRENTCOUNT condition numbers all occurrences of the matched type within the whole document consecutively, thus assigning an index - to each occurence. Additionally, it stores the index of the matched + to each occurrence. Additionally, it stores the index of the matched annotation in a numerical variable, if one is passed. The condition evaluates true if the index of the matched annotation is within a specified interval. If no interval is passed, the condition always evaluates true. </p> - <div class="section" title="2.6.7.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1040">2.6.7.1. + <div class="section" title="2.7.7.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1246">2.7.7.1. <span class="bold"><strong>Definition:</strong></span> </h4></div></div></div> @@ -255,7 +255,7 @@ </p><pre class="programlisting">CURRENTCOUNT(Type(,NumberExpression,NumberExpression)?(,Variable)?)</pre><p> </p> </div> - <div class="section" title="2.6.7.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1045">2.6.7.2. + <div class="section" title="2.7.7.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1251">2.7.7.2. <span class="bold"><strong>Example:</strong></span> </h4></div></div></div> @@ -270,7 +270,7 @@ </div> </div> - <div class="section" title="2.6.8. ENDSWITH"><div class="titlepage"><div><div><h3 class="title" id="ugr.tools.ruta.language.conditions.endswith">2.6.8. ENDSWITH</h3></div></div></div> + <div class="section" title="2.7.8. ENDSWITH"><div class="titlepage"><div><div><h3 class="title" id="ugr.tools.ruta.language.conditions.endswith">2.7.8. ENDSWITH</h3></div></div></div> <p> The ENDSWITH condition evaluates true, if an annotation of the @@ -278,7 +278,7 @@ annotation. If a list of types is passed, this has to be true for at least one of them. </p> - <div class="section" title="2.6.8.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1054">2.6.8.1. + <div class="section" title="2.7.8.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1260">2.7.8.1. <span class="bold"><strong>Definition:</strong></span> </h4></div></div></div> @@ -286,7 +286,7 @@ </p><pre class="programlisting">ENDSWITH(Type|TypeListExpression) </pre><p> </p> </div> - <div class="section" title="2.6.8.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1059">2.6.8.2. + <div class="section" title="2.7.8.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1265">2.7.8.2. <span class="bold"><strong>Example:</strong></span> </h4></div></div></div> @@ -300,13 +300,13 @@ </div> </div> - <div class="section" title="2.6.9. FEATURE"><div class="titlepage"><div><div><h3 class="title" id="ugr.tools.ruta.language.conditions.feature">2.6.9. FEATURE</h3></div></div></div> + <div class="section" title="2.7.9. FEATURE"><div class="titlepage"><div><div><h3 class="title" id="ugr.tools.ruta.language.conditions.feature">2.7.9. FEATURE</h3></div></div></div> <p> The FEATURE condition compares a feature of the matched annotation with the second argument. </p> - <div class="section" title="2.6.9.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1068">2.6.9.1. + <div class="section" title="2.7.9.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1274">2.7.9.1. <span class="bold"><strong>Definition:</strong></span> </h4></div></div></div> @@ -314,7 +314,7 @@ </p><pre class="programlisting">FEATURE(StringExpression,Expression) </pre><p> </p> </div> - <div class="section" title="2.6.9.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1073">2.6.9.2. + <div class="section" title="2.7.9.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1279">2.7.9.2. <span class="bold"><strong>Example:</strong></span> </h4></div></div></div> @@ -329,13 +329,13 @@ </div> </div> - <div class="section" title="2.6.10. IF"><div class="titlepage"><div><div><h3 class="title" id="ugr.tools.ruta.language.conditions.if">2.6.10. IF</h3></div></div></div> + <div class="section" title="2.7.10. IF"><div class="titlepage"><div><div><h3 class="title" id="ugr.tools.ruta.language.conditions.if">2.7.10. IF</h3></div></div></div> <p> The IF condition evaluates true, if the contained boolean expression evaluates true. </p> - <div class="section" title="2.6.10.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1082">2.6.10.1. + <div class="section" title="2.7.10.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1288">2.7.10.1. <span class="bold"><strong>Definition:</strong></span> </h4></div></div></div> @@ -343,7 +343,7 @@ </p><pre class="programlisting">IF(BooleanExpression) </pre><p> </p> </div> - <div class="section" title="2.6.10.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1087">2.6.10.2. + <div class="section" title="2.7.10.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1293">2.7.10.2. <span class="bold"><strong>Example:</strong></span> </h4></div></div></div> @@ -358,7 +358,7 @@ </div> </div> - <div class="section" title="2.6.11. INLIST"><div class="titlepage"><div><div><h3 class="title" id="ugr.tools.ruta.language.conditions.inlist">2.6.11. INLIST</h3></div></div></div> + <div class="section" title="2.7.11. INLIST"><div class="titlepage"><div><div><h3 class="title" id="ugr.tools.ruta.language.conditions.inlist">2.7.11. INLIST</h3></div></div></div> <p> The INLIST condition is fulfilled, if the matched annotation is listed @@ -366,7 +366,7 @@ is currently disabled. </p> - <div class="section" title="2.6.11.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1096">2.6.11.1. + <div class="section" title="2.7.11.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1302">2.7.11.1. <span class="bold"><strong>Definition:</strong></span> </h4></div></div></div> @@ -377,7 +377,7 @@ </p><pre class="programlisting">INLIST(StringList(,NumberExpression,(BooleanExpression)?)?) </pre><p> </p> </div> - <div class="section" title="2.6.11.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1103">2.6.11.2. + <div class="section" title="2.7.11.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1309">2.7.11.2. <span class="bold"><strong>Example:</strong></span> </h4></div></div></div> @@ -392,7 +392,7 @@ </div> </div> - <div class="section" title="2.6.12. IS"><div class="titlepage"><div><div><h3 class="title" id="ugr.tools.ruta.language.conditions.is">2.6.12. IS</h3></div></div></div> + <div class="section" title="2.7.12. IS"><div class="titlepage"><div><div><h3 class="title" id="ugr.tools.ruta.language.conditions.is">2.7.12. IS</h3></div></div></div> <p> The IS condition evaluates true, if there is an annotation of the @@ -402,7 +402,7 @@ evaluates true, if at least one of them fulfills the former condition. </p> - <div class="section" title="2.6.12.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1112">2.6.12.1. + <div class="section" title="2.7.12.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1318">2.7.12.1. <span class="bold"><strong>Definition:</strong></span> </h4></div></div></div> @@ -410,7 +410,7 @@ </p><pre class="programlisting">IS(Type|TypeListExpression) </pre><p> </p> </div> - <div class="section" title="2.6.12.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1117">2.6.12.2. + <div class="section" title="2.7.12.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1323">2.7.12.2. <span class="bold"><strong>Example:</strong></span> </h4></div></div></div> @@ -424,13 +424,13 @@ </div> </div> - <div class="section" title="2.6.13. LAST"><div class="titlepage"><div><div><h3 class="title" id="ugr.tools.ruta.language.conditions.last">2.6.13. LAST</h3></div></div></div> + <div class="section" title="2.7.13. LAST"><div class="titlepage"><div><div><h3 class="title" id="ugr.tools.ruta.language.conditions.last">2.7.13. LAST</h3></div></div></div> <p> The LAST condition evaluates true, if the type of the last token within the window of the matched annotation is of the given type. </p> - <div class="section" title="2.6.13.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1126">2.6.13.1. + <div class="section" title="2.7.13.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1332">2.7.13.1. <span class="bold"><strong>Definition:</strong></span> </h4></div></div></div> @@ -438,7 +438,7 @@ </p><pre class="programlisting">LAST(TypeExpression) </pre><p> </p> </div> - <div class="section" title="2.6.13.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1131">2.6.13.2. + <div class="section" title="2.7.13.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1337">2.7.13.2. <span class="bold"><strong>Example:</strong></span> </h4></div></div></div> @@ -452,14 +452,14 @@ </div> </div> - <div class="section" title="2.6.14. MOFN"><div class="titlepage"><div><div><h3 class="title" id="ugr.tools.ruta.language.conditions.mofn">2.6.14. MOFN</h3></div></div></div> + <div class="section" title="2.7.14. MOFN"><div class="titlepage"><div><div><h3 class="title" id="ugr.tools.ruta.language.conditions.mofn">2.7.14. MOFN</h3></div></div></div> <p> The MOFN condition is a composed condition. It evaluates true if the number of containing conditions evaluating true is within a given interval. </p> - <div class="section" title="2.6.14.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1140">2.6.14.1. + <div class="section" title="2.7.14.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1346">2.7.14.1. <span class="bold"><strong>Definition:</strong></span> </h4></div></div></div> @@ -467,7 +467,7 @@ </p><pre class="programlisting">MOFN(NumberExpression,NumberExpression,Condition1,...,ConditionN) </pre><p> </p> </div> - <div class="section" title="2.6.14.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1145">2.6.14.2. + <div class="section" title="2.7.14.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1351">2.7.14.2. <span class="bold"><strong>Example:</strong></span> </h4></div></div></div> @@ -483,7 +483,7 @@ </div> </div> - <div class="section" title="2.6.15. NEAR"><div class="titlepage"><div><div><h3 class="title" id="ugr.tools.ruta.language.conditions.near">2.6.15. NEAR</h3></div></div></div> + <div class="section" title="2.7.15. NEAR"><div class="titlepage"><div><div><h3 class="title" id="ugr.tools.ruta.language.conditions.near">2.7.15. NEAR</h3></div></div></div> <p> The NEAR condition is fulfilled, if the distance of the matched @@ -494,7 +494,7 @@ parameter can be set to true to get the condition being evaluated on a filtered index. </p> - <div class="section" title="2.6.15.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1154">2.6.15.1. + <div class="section" title="2.7.15.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1360">2.7.15.1. <span class="bold"><strong>Definition:</strong></span> </h4></div></div></div> @@ -503,7 +503,7 @@ (,BooleanExpression(,BooleanExpression)?)?) </pre><p> </p> </div> - <div class="section" title="2.6.15.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1159">2.6.15.2. + <div class="section" title="2.7.15.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1365">2.7.15.2. <span class="bold"><strong>Example:</strong></span> </h4></div></div></div> @@ -517,13 +517,13 @@ </div> </div> - <div class="section" title="2.6.16. NOT"><div class="titlepage"><div><div><h3 class="title" id="ugr.tools.ruta.language.conditions.not">2.6.16. NOT</h3></div></div></div> + <div class="section" title="2.7.16. NOT"><div class="titlepage"><div><div><h3 class="title" id="ugr.tools.ruta.language.conditions.not">2.7.16. NOT</h3></div></div></div> <p> The NOT condition negates the result of its contained condition. </p> - <div class="section" title="2.6.16.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1168">2.6.16.1. + <div class="section" title="2.7.16.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1374">2.7.16.1. <span class="bold"><strong>Definition:</strong></span> </h4></div></div></div> @@ -531,7 +531,7 @@ </p><pre class="programlisting">"-"Condition</pre><p> </p> </div> - <div class="section" title="2.6.16.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1173">2.6.16.2. + <div class="section" title="2.7.16.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1379">2.7.16.2. <span class="bold"><strong>Example:</strong></span> </h4></div></div></div> @@ -545,13 +545,13 @@ </div> </div> - <div class="section" title="2.6.17. OR"><div class="titlepage"><div><div><h3 class="title" id="ugr.tools.ruta.language.conditions.or">2.6.17. OR</h3></div></div></div> + <div class="section" title="2.7.17. OR"><div class="titlepage"><div><div><h3 class="title" id="ugr.tools.ruta.language.conditions.or">2.7.17. OR</h3></div></div></div> <p> The OR Condition is a composed condition and evaluates true, if at least one contained condition is evaluated true. </p> - <div class="section" title="2.6.17.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1182">2.6.17.1. + <div class="section" title="2.7.17.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1388">2.7.17.1. <span class="bold"><strong>Definition:</strong></span> </h4></div></div></div> @@ -559,7 +559,7 @@ </p><pre class="programlisting">OR(Condition1,...,ConditionN)</pre><p> </p> </div> - <div class="section" title="2.6.17.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1187">2.6.17.2. + <div class="section" title="2.7.17.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1393">2.7.17.2. <span class="bold"><strong>Example:</strong></span> </h4></div></div></div> @@ -575,7 +575,7 @@ </div> </div> - <div class="section" title="2.6.18. PARSE"><div class="titlepage"><div><div><h3 class="title" id="ugr.tools.ruta.language.conditions.parse">2.6.18. PARSE</h3></div></div></div> + <div class="section" title="2.7.18. PARSE"><div class="titlepage"><div><div><h3 class="title" id="ugr.tools.ruta.language.conditions.parse">2.7.18. PARSE</h3></div></div></div> <p> The PARSE condition is fulfilled, if the text covered by the @@ -583,7 +583,7 @@ variable's type. If this is possible, the parsed value is additionally assigned to the passed variable. </p> - <div class="section" title="2.6.18.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1196">2.6.18.1. + <div class="section" title="2.7.18.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1402">2.7.18.1. <span class="bold"><strong>Definition:</strong></span> </h4></div></div></div> @@ -591,7 +591,7 @@ </p><pre class="programlisting">PARSE(variable)</pre><p> </p> </div> - <div class="section" title="2.6.18.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1201">2.6.18.2. + <div class="section" title="2.7.18.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1407">2.7.18.2. <span class="bold"><strong>Example:</strong></span> </h4></div></div></div> @@ -605,7 +605,7 @@ </div> </div> - <div class="section" title="2.6.19. PARTOF"><div class="titlepage"><div><div><h3 class="title" id="ugr.tools.ruta.language.conditions.partof">2.6.19. PARTOF</h3></div></div></div> + <div class="section" title="2.7.19. PARTOF"><div class="titlepage"><div><div><h3 class="title" id="ugr.tools.ruta.language.conditions.partof">2.7.19. PARTOF</h3></div></div></div> <p> The PARTOF condition is fulfilled, if the matched annotation is @@ -616,7 +616,7 @@ the former described condition for a single type is fulfilled for at least one of the types in the list. </p> - <div class="section" title="2.6.19.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1210">2.6.19.1. + <div class="section" title="2.7.19.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1416">2.7.19.1. <span class="bold"><strong>Definition:</strong></span> </h4></div></div></div> @@ -624,7 +624,7 @@ </p><pre class="programlisting">PARTOF(Type|TypeListExpression)</pre><p> </p> </div> - <div class="section" title="2.6.19.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1215">2.6.19.2. + <div class="section" title="2.7.19.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1421">2.7.19.2. <span class="bold"><strong>Example:</strong></span> </h4></div></div></div> @@ -638,7 +638,7 @@ </div> </div> - <div class="section" title="2.6.20. PARTOFNEQ"><div class="titlepage"><div><div><h3 class="title" id="ugr.tools.ruta.language.conditions.partofneq">2.6.20. PARTOFNEQ</h3></div></div></div> + <div class="section" title="2.7.20. PARTOFNEQ"><div class="titlepage"><div><div><h3 class="title" id="ugr.tools.ruta.language.conditions.partofneq">2.7.20. PARTOFNEQ</h3></div></div></div> <p> The PARTOFNEQ condition is fulfilled if the matched annotation @@ -648,7 +648,7 @@ evaluates true if the former described condition is fulfilled for at least one of the types in the list. </p> - <div class="section" title="2.6.20.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1224">2.6.20.1. + <div class="section" title="2.7.20.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1430">2.7.20.1. <span class="bold"><strong>Definition:</strong></span> </h4></div></div></div> @@ -656,7 +656,7 @@ </p><pre class="programlisting">PARTOFNEQ(Type|TypeListExpression)</pre><p> </p> </div> - <div class="section" title="2.6.20.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1229">2.6.20.2. + <div class="section" title="2.7.20.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1435">2.7.20.2. <span class="bold"><strong>Example:</strong></span> </h4></div></div></div> @@ -669,7 +669,7 @@ </div> </div> - <div class="section" title="2.6.21. POSITION"><div class="titlepage"><div><div><h3 class="title" id="ugr.tools.ruta.language.conditions.position">2.6.21. POSITION</h3></div></div></div> + <div class="section" title="2.7.21. POSITION"><div class="titlepage"><div><div><h3 class="title" id="ugr.tools.ruta.language.conditions.position">2.7.21. POSITION</h3></div></div></div> <p> The POSITION condition is fulfilled, if the matched type is the @@ -678,7 +678,7 @@ NumberExpression. If the additional boolean paramter is set to false, then k counts the occurences of of the minimal annotations. </p> - <div class="section" title="2.6.21.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1239">2.6.21.1. + <div class="section" title="2.7.21.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1445">2.7.21.1. <span class="bold"><strong>Definition:</strong></span> </h4></div></div></div> @@ -686,7 +686,7 @@ </p><pre class="programlisting">POSITION(Type,NumberExpression(,BooleanExpression)?)</pre><p> </p> </div> - <div class="section" title="2.6.21.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1244">2.6.21.2. + <div class="section" title="2.7.21.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1450">2.7.21.2. <span class="bold"><strong>Example:</strong></span> </h4></div></div></div> @@ -709,7 +709,7 @@ </div> </div> - <div class="section" title="2.6.22. REGEXP"><div class="titlepage"><div><div><h3 class="title" id="ugr.tools.ruta.language.conditions.regexp">2.6.22. REGEXP</h3></div></div></div> + <div class="section" title="2.7.22. REGEXP"><div class="titlepage"><div><div><h3 class="title" id="ugr.tools.ruta.language.conditions.regexp">2.7.22. REGEXP</h3></div></div></div> <p> The REGEXP condition is fulfilled, if the given pattern matches on the @@ -723,9 +723,11 @@ the <a class="ulink" href="http://docs.oracle.com/javase/1.4.2/docs/api/java/util/regex/Pattern.html" target="_top">Java API</a> . By default the REGEXP condition is case-sensitive. To change this, - add an optional boolean parameter, which is set to true. + add an optional boolean parameter, which is set to true. The regular expression is + initialized with the flags DOTALL and MULTILINE, and if the optional parameter is set to true, + then additionally with the flags CASE_INSENSITIVE and UNICODE_CASE. </p> - <div class="section" title="2.6.22.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1257">2.6.22.1. + <div class="section" title="2.7.22.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1463">2.7.22.1. <span class="bold"><strong>Definition:</strong></span> </h4></div></div></div> @@ -733,7 +735,7 @@ </p><pre class="programlisting">REGEXP((StringVariable,)? StringExpression(,BooleanExpression)?)</pre><p> </p> </div> - <div class="section" title="2.6.22.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1262">2.6.22.2. + <div class="section" title="2.7.22.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1468">2.7.22.2. <span class="bold"><strong>Example:</strong></span> </h4></div></div></div> @@ -747,7 +749,7 @@ </div> </div> - <div class="section" title="2.6.23. SCORE"><div class="titlepage"><div><div><h3 class="title" id="ugr.tools.ruta.language.conditions.score">2.6.23. SCORE</h3></div></div></div> + <div class="section" title="2.7.23. SCORE"><div class="titlepage"><div><div><h3 class="title" id="ugr.tools.ruta.language.conditions.score">2.7.23. SCORE</h3></div></div></div> <p> The SCORE condition evaluates the heuristic score of the matched @@ -758,7 +760,7 @@ given interval. Optionally, the score can be stored in a variable. </p> - <div class="section" title="2.6.23.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1271">2.6.23.1. + <div class="section" title="2.7.23.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1477">2.7.23.1. <span class="bold"><strong>Definition:</strong></span> </h4></div></div></div> @@ -766,7 +768,7 @@ </p><pre class="programlisting">SCORE(NumberExpression,NumberExpression(,Variable)?)</pre><p> </p> </div> - <div class="section" title="2.6.23.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1276">2.6.23.2. + <div class="section" title="2.7.23.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1482">2.7.23.2. <span class="bold"><strong>Example:</strong></span> </h4></div></div></div> @@ -780,7 +782,7 @@ </div> </div> - <div class="section" title="2.6.24. SIZE"><div class="titlepage"><div><div><h3 class="title" id="ugr.tools.ruta.language.conditions.size">2.6.24. SIZE</h3></div></div></div> + <div class="section" title="2.7.24. SIZE"><div class="titlepage"><div><div><h3 class="title" id="ugr.tools.ruta.language.conditions.size">2.7.24. SIZE</h3></div></div></div> <p> The SIZE contition counts the number of elements in the given @@ -789,7 +791,7 @@ is within the interval. The counted number can be stored in an optionally passed numeral variable. </p> - <div class="section" title="2.6.24.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1285">2.6.24.1. + <div class="section" title="2.7.24.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1491">2.7.24.1. <span class="bold"><strong>Definition:</strong></span> </h4></div></div></div> @@ -797,7 +799,7 @@ </p><pre class="programlisting">SIZE(ListExpression(,NumberExpression,NumberExpression)?(,Variable)?)</pre><p> </p> </div> - <div class="section" title="2.6.24.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1290">2.6.24.2. + <div class="section" title="2.7.24.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1496">2.7.24.2. <span class="bold"><strong>Example:</strong></span> </h4></div></div></div> @@ -812,7 +814,7 @@ </div> </div> - <div class="section" title="2.6.25. STARTSWITH"><div class="titlepage"><div><div><h3 class="title" id="ugr.tools.ruta.language.conditions.startswith">2.6.25. STARTSWITH</h3></div></div></div> + <div class="section" title="2.7.25. STARTSWITH"><div class="titlepage"><div><div><h3 class="title" id="ugr.tools.ruta.language.conditions.startswith">2.7.25. STARTSWITH</h3></div></div></div> <p> The STARTSWITH condition evaluates true, if an annotation of the @@ -820,7 +822,7 @@ annotation. If a type list is given, the condition evaluates true, if the former is true for at least one of the given types in the list. </p> - <div class="section" title="2.6.25.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1300">2.6.25.1. + <div class="section" title="2.7.25.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1506">2.7.25.1. <span class="bold"><strong>Definition:</strong></span> </h4></div></div></div> @@ -828,7 +830,7 @@ </p><pre class="programlisting">STARTSWITH(Type|TypeListExpression)</pre><p> </p> </div> - <div class="section" title="2.6.25.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1305">2.6.25.2. + <div class="section" title="2.7.25.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1511">2.7.25.2. <span class="bold"><strong>Example:</strong></span> </h4></div></div></div> @@ -842,7 +844,7 @@ </div> </div> - <div class="section" title="2.6.26. TOTALCOUNT"><div class="titlepage"><div><div><h3 class="title" id="ugr.tools.ruta.language.conditions.totalcount">2.6.26. TOTALCOUNT</h3></div></div></div> + <div class="section" title="2.7.26. TOTALCOUNT"><div class="titlepage"><div><div><h3 class="title" id="ugr.tools.ruta.language.conditions.totalcount">2.7.26. TOTALCOUNT</h3></div></div></div> <p> The TOTALCOUNT condition counts the annotations of the passed @@ -852,7 +854,7 @@ is within the passed interval. If no interval is passed, the condition always evaluates true. </p> - <div class="section" title="2.6.26.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1314">2.6.26.1. + <div class="section" title="2.7.26.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1520">2.7.26.1. <span class="bold"><strong>Definition:</strong></span> </h4></div></div></div> @@ -860,7 +862,7 @@ </p><pre class="programlisting">TOTALCOUNT(Type(,NumberExpression,NumberExpression(,Variable)?)?)</pre><p> </p> </div> - <div class="section" title="2.6.26.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1319">2.6.26.2. + <div class="section" title="2.7.26.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1525">2.7.26.2. <span class="bold"><strong>Example:</strong></span> </h4></div></div></div> @@ -876,7 +878,7 @@ </div> </div> - <div class="section" title="2.6.27. VOTE"><div class="titlepage"><div><div><h3 class="title" id="ugr.tools.ruta.language.conditions.vote">2.6.27. VOTE</h3></div></div></div> + <div class="section" title="2.7.27. VOTE"><div class="titlepage"><div><div><h3 class="title" id="ugr.tools.ruta.language.conditions.vote">2.7.27. VOTE</h3></div></div></div> <p> The VOTE condition counts the annotations of the given two types @@ -884,7 +886,7 @@ if it finds more annotations of the first type. </p> - <div class="section" title="2.6.27.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1328">2.6.27.1. + <div class="section" title="2.7.27.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1534">2.7.27.1. <span class="bold"><strong>Definition:</strong></span> </h4></div></div></div> @@ -892,7 +894,7 @@ </p><pre class="programlisting">VOTE(TypeExpression,TypeExpression)</pre><p> </p> </div> - <div class="section" title="2.6.27.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1333">2.6.27.2. + <div class="section" title="2.7.27.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1539">2.7.27.2. <span class="bold"><strong>Example:</strong></span> </h4></div></div></div>