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 2013/02/14 16:27:29 UTC

svn commit: r1446230 [3/3] - in /uima/sandbox/textmarker/trunk: textmarker-core/src/main/antlr3/org/apache/uima/textmarker/parser/ textmarker-core/src/main/java/org/apache/uima/textmarker/ textmarker-core/src/main/java/org/apache/uima/textmarker/action...

Modified: uima/sandbox/textmarker/trunk/textmarker-ep-ide/src/main/resources/org/apache/uima/textmarker/ide/ui/documentation/Conditions.html
URL: http://svn.apache.org/viewvc/uima/sandbox/textmarker/trunk/textmarker-ep-ide/src/main/resources/org/apache/uima/textmarker/ide/ui/documentation/Conditions.html?rev=1446230&r1=1446229&r2=1446230&view=diff
==============================================================================
--- uima/sandbox/textmarker/trunk/textmarker-ep-ide/src/main/resources/org/apache/uima/textmarker/ide/ui/documentation/Conditions.html (original)
+++ uima/sandbox/textmarker/trunk/textmarker-ep-ide/src/main/resources/org/apache/uima/textmarker/ide/ui/documentation/Conditions.html Thu Feb 14 15:27:29 2013
@@ -1,12 +1,12 @@
   <div class="section" title="2.6.1.&nbsp;AFTER"><div class="titlepage"><div><div><h3 class="title" id="ugr.tools.tm.language.conditions.after">2.6.1.&nbsp;AFTER</h3></div></div></div>
     
     <p>
-      The AFTER condition evaluates true if the matched annotation
+      The AFTER condition evaluates true, if the matched annotation
       starts after the beginning of an arbitrary annotation of the passed
       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.&nbsp; Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e203">2.6.1.1.&nbsp;
+    <div class="section" title="2.6.1.1.&nbsp; Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e944">2.6.1.1.&nbsp;
         <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.&nbsp; Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e208">2.6.1.2.&nbsp;
+    <div class="section" title="2.6.1.2.&nbsp; Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e949">2.6.1.2.&nbsp;
         <span class="bold"><strong>Example:</strong></span>
       </h4></div></div></div>
       
@@ -22,7 +22,7 @@
         </p><pre class="programlisting">CW{AFTER(SW)};</pre><p>
       </p>
       <p>
-        Here, the rule matches on a capitalized word if there is any
+        Here, the rule matches on a capitalized word, if there is any
         small written word previously.
       </p>
     </div>
@@ -31,10 +31,10 @@
   <div class="section" title="2.6.2.&nbsp;AND"><div class="titlepage"><div><div><h3 class="title" id="ugr.tools.tm.language.conditions.and">2.6.2.&nbsp;AND</h3></div></div></div>
     
     <p>
-      The AND condition is a composed condition and evaluates true if
+      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.&nbsp; Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e217">2.6.2.1.&nbsp;
+    <div class="section" title="2.6.2.1.&nbsp; Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e958">2.6.2.1.&nbsp;
         <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.&nbsp; Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e222">2.6.2.2.&nbsp;
+    <div class="section" title="2.6.2.2.&nbsp; Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e963">2.6.2.2.&nbsp;
         <span class="bold"><strong>Example:</strong></span>
       </h4></div></div></div>
       
@@ -51,8 +51,8 @@
           -&gt;MARK(ImportantHeadline)};</pre><p>
       </p>
       <p>
-        In this example a Paragraph is annotated with an
-        ImportantHeadline annotation if it is part of a Headline and
+        In this example, a paragraph is annotated with an
+        ImportantHeadline annotation, if it is part of a Headline and
         contains a Keyword annotation.
       </p>
     </div>
@@ -61,12 +61,12 @@
   <div class="section" title="2.6.3.&nbsp;BEFORE"><div class="titlepage"><div><div><h3 class="title" id="ugr.tools.tm.language.conditions.before">2.6.3.&nbsp;BEFORE</h3></div></div></div>
     
     <p>
-      The BEFORE condition evaluates true if the matched annotation
+      The BEFORE condition evaluates true, if the matched annotation
       starts before the beginning of an arbitrary annotation of the passed
       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.&nbsp; Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e231">2.6.3.1.&nbsp;
+    <div class="section" title="2.6.3.1.&nbsp; Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e972">2.6.3.1.&nbsp;
         <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.&nbsp; Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e236">2.6.3.2.&nbsp;
+    <div class="section" title="2.6.3.2.&nbsp; Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e977">2.6.3.2.&nbsp;
         <span class="bold"><strong>Example:</strong></span>
       </h4></div></div></div>
       
@@ -82,7 +82,7 @@
         </p><pre class="programlisting">CW{BEFORE(SW)};</pre><p>
       </p>
       <p>
-        Here, the rule matches on a capitalized word if there is any
+        Here, the rule matches on a capitalized word, if there is any
         small written word afterwards.
       </p>
     </div>
@@ -91,20 +91,20 @@
   <div class="section" title="2.6.4.&nbsp;CONTAINS"><div class="titlepage"><div><div><h3 class="title" id="ugr.tools.tm.language.conditions.contains">2.6.4.&nbsp;CONTAINS</h3></div></div></div>
     
     <p>
-      The CONTAINS condition evaluates true on a matched annotation
+      The CONTAINS condition evaluates true on a matched annotation,
       if
       the frequency of the passed type lies within an optionally passed
       interval. The limits of the passed interval are per default
       interpreted as absolute numeral values. By passing a further boolean
       parameter set to true the limits are interpreted as percental
       values.
-      If no interval parameters are passed at all the condition
+      If no interval parameters are passed at all, then the condition
       checks
       whether the matched annotation contains at least one
       occurrence of the
       passed type.
     </p>
-    <div class="section" title="2.6.4.1.&nbsp; Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e245">2.6.4.1.&nbsp;
+    <div class="section" title="2.6.4.1.&nbsp; Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e986">2.6.4.1.&nbsp;
         <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.&nbsp; Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e250">2.6.4.2.&nbsp;
+    <div class="section" title="2.6.4.2.&nbsp; Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e991">2.6.4.2.&nbsp;
         <span class="bold"><strong>Example:</strong></span>
       </h4></div></div></div>
       
@@ -120,26 +120,25 @@
         </p><pre class="programlisting">Paragraph{CONTAINS(Keyword)-&gt;MARK(KeywordParagraph)};</pre><p>
       </p>
       <p>
-        A Paragraph is annotated with a KeywordParagraph annotation if
+        A Paragraph is annotated with a KeywordParagraph annotation, if
         it contains a Keyword annotation.
       </p>
       <p>
         </p><pre class="programlisting">Paragraph{CONTAINS(Keyword,2,4)-&gt;MARK(KeywordParagraph)};</pre><p>
       </p>
       <p>
-        A Paragraph is annotated with a KeywordParagraph annotation if
+        A Paragraph is annotated with a KeywordParagraph annotation, if
         it contains between two and four Keyword annotations.
       </p>
       <p>
         </p><pre class="programlisting">Paragraph{CONTAINS(Keyword,50,100,true)-&gt;MARK(KeywordParagraph)};</pre><p>
       </p>
       <p>
-        A Paragraph is annotated with a KeywordParagraph annotation if it
+        A Paragraph is annotated with a KeywordParagraph annotation, if it
         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.tm.language.seeding" title="2.1.&nbsp;Basic Annotations and tokens">Section&nbsp;2.1, &#8220;Basic Annotations and tokens&#8221;</a>
-        ), two of them are part of one Keyword annotation and one basic
+        <a class="xref" href="#ugr.tools.tm.language.seeding" title="2.2.&nbsp;Basic annotations and tokens">Section&nbsp;2.2, &#8220;Basic annotations and tokens&#8221;</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>
@@ -157,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.&nbsp; Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e266">2.6.5.1.&nbsp;
+    <div class="section" title="2.6.5.1.&nbsp; Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1007">2.6.5.1.&nbsp;
         <span class="bold"><strong>Definition:</strong></span>
       </h4></div></div></div>
       
@@ -165,7 +164,7 @@
         </p><pre class="programlisting">CONTEXTCOUNT(Type(,NumberExpression,NumberExpression)?(,Variable)?)</pre><p>
       </p>
     </div>
-    <div class="section" title="2.6.5.2.&nbsp; Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e271">2.6.5.2.&nbsp;
+    <div class="section" title="2.6.5.2.&nbsp; Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1012">2.6.5.2.&nbsp;
         <span class="bold"><strong>Example:</strong></span>
       </h4></div></div></div>
       
@@ -176,7 +175,7 @@
       <p>
         Here, the position of the matched Keyword annotation within a
         Paragraph annotation is calculated and stored in the variable 'var'.
-        If the counted value lies within the interval [2,3] the matched
+        If the counted value lies within the interval [2,3], then the matched
         Keyword is annotated with the SecondOrThirdKeywordInParagraph
         annotation.
       </p>
@@ -189,18 +188,18 @@
       The COUNT condition can be used in two different ways. In the
       first case (see first definition), it counts the number of
       annotations of the passed type within the window of the matched
-      annotation and stores the amount in a numerical variable if such a
+      annotation and stores the amount in a numerical variable, if such a
       variable is passed. The condition evaluates true if the counted
       amount is within a specified interval. If no interval is passed, the
       condition always evaluates true. In the second case (see second
       definition), it counts the number of occurrences of the passed
       VariableExpression (second parameter) within the passed list (first
-      parameter) and stores the amount in a numerical variable if such a
-      variable is passed. Again the condition evaluates true if the counted
+      parameter) and stores the amount in a numerical variable, if such a
+      variable is passed. Again, the condition evaluates true if the counted
       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.&nbsp; Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e280">2.6.6.1.&nbsp;
+    <div class="section" title="2.6.6.1.&nbsp; Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1021">2.6.6.1.&nbsp;
         <span class="bold"><strong>Definition:</strong></span>
       </h4></div></div></div>
       
@@ -212,7 +211,7 @@
           (,NumberExpression,NumberExpression)?(,NumberVariable)?)</pre><p>
       </p>
     </div>
-    <div class="section" title="2.6.6.2.&nbsp; Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e287">2.6.6.2.&nbsp;
+    <div class="section" title="2.6.6.2.&nbsp; Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1028">2.6.6.2.&nbsp;
         <span class="bold"><strong>Example:</strong></span>
       </h4></div></div></div>
       
@@ -222,7 +221,7 @@
       <p>
         Here, the amount of Keyword annotations within a Paragraph is
         calculated and stored in the variable 'var'. If one to ten Keywords
-        were counted, the Paragraph is marked with a KeywordParagraph
+        were counted, the paragraph is marked with a KeywordParagraph
         annotation.
       </p>
       <p>
@@ -242,13 +241,13 @@
     <p>
       The CURRENTCOUNT condition numbers all occurences of the matched
       type within the whole document consecutively, thus assigning an index
-      to each occurence. Additionally it stores the index of the matched
-      annotation in a numerical variable if one is passed. The condition
+      to each occurence. 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.&nbsp; Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e299">2.6.7.1.&nbsp;
+    <div class="section" title="2.6.7.1.&nbsp; Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1040">2.6.7.1.&nbsp;
         <span class="bold"><strong>Definition:</strong></span>
       </h4></div></div></div>
       
@@ -256,7 +255,7 @@
         </p><pre class="programlisting">CURRENTCOUNT(Type(,NumberExpression,NumberExpression)?(,Variable)?)</pre><p>
       </p>
     </div>
-    <div class="section" title="2.6.7.2.&nbsp; Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e304">2.6.7.2.&nbsp;
+    <div class="section" title="2.6.7.2.&nbsp; Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1045">2.6.7.2.&nbsp;
         <span class="bold"><strong>Example:</strong></span>
       </h4></div></div></div>
       
@@ -264,8 +263,8 @@
         </p><pre class="programlisting">Paragraph{CURRENTCOUNT(Keyword,3,3,var)-&gt;MARK(ParagraphWithThirdKeyword)};</pre><p>
       </p>
       <p>
-        Here, the Paragraph which contains the third Keyword of the
-        whole document is annotated with the ParagraphWithThirdKeyword
+        Here, the Paragraph, which contains the third Keyword of the
+        whole document, is annotated with the ParagraphWithThirdKeyword
         annotation. The index is stored in the variable 'var'.
       </p>
     </div>
@@ -274,12 +273,12 @@
   <div class="section" title="2.6.8.&nbsp;ENDSWITH"><div class="titlepage"><div><div><h3 class="title" id="ugr.tools.tm.language.conditions.endswith">2.6.8.&nbsp;ENDSWITH</h3></div></div></div>
     
     <p>
-      The ENDSWITH condition evaluates true if an annotation of the
+      The ENDSWITH condition evaluates true, if an annotation of the
       given type ends exactly at the same position as the matched
       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.&nbsp; Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e313">2.6.8.1.&nbsp;
+    <div class="section" title="2.6.8.1.&nbsp; Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1054">2.6.8.1.&nbsp;
         <span class="bold"><strong>Definition:</strong></span>
       </h4></div></div></div>
       
@@ -287,7 +286,7 @@
         </p><pre class="programlisting">ENDSWITH(Type|TypeListExpression) </pre><p>
       </p>
     </div>
-    <div class="section" title="2.6.8.2.&nbsp; Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e318">2.6.8.2.&nbsp;
+    <div class="section" title="2.6.8.2.&nbsp; Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1059">2.6.8.2.&nbsp;
         <span class="bold"><strong>Example:</strong></span>
       </h4></div></div></div>
       
@@ -295,7 +294,7 @@
         </p><pre class="programlisting">Paragraph{ENDSWITH(SW)};</pre><p>
       </p>
       <p>
-        Here, the rule matches on a Paragraph annotation if it ends
+        Here, the rule matches on a Paragraph annotation, if it ends
         with a small written word.
       </p>
     </div>
@@ -307,7 +306,7 @@
       The FEATURE condition compares a feature of the matched
       annotation with the second argument.
     </p>
-    <div class="section" title="2.6.9.1.&nbsp; Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e327">2.6.9.1.&nbsp;
+    <div class="section" title="2.6.9.1.&nbsp; Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1068">2.6.9.1.&nbsp;
         <span class="bold"><strong>Definition:</strong></span>
       </h4></div></div></div>
       
@@ -315,7 +314,7 @@
         </p><pre class="programlisting">FEATURE(StringExpression,Expression) </pre><p>
       </p>
     </div>
-    <div class="section" title="2.6.9.2.&nbsp; Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e332">2.6.9.2.&nbsp;
+    <div class="section" title="2.6.9.2.&nbsp; Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1073">2.6.9.2.&nbsp;
         <span class="bold"><strong>Example:</strong></span>
       </h4></div></div></div>
       
@@ -323,7 +322,7 @@
         </p><pre class="programlisting">Document{FEATURE("language",targetLanguage)}</pre><p>
       </p>
       <p>
-        This rule matches if the feature named 'language' of the
+        This rule matches, if the feature named 'language' of the
         document annotation equals the value of the variable
         'targetLanguage'.
       </p>
@@ -333,10 +332,10 @@
   <div class="section" title="2.6.10.&nbsp;IF"><div class="titlepage"><div><div><h3 class="title" id="ugr.tools.tm.language.conditions.if">2.6.10.&nbsp;IF</h3></div></div></div>
     
     <p>
-      The IF condition evaluates true if the contained boolean
-      expression does.
+      The IF condition evaluates true, if the contained boolean
+      expression evaluates true.
     </p>
-    <div class="section" title="2.6.10.1.&nbsp; Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e341">2.6.10.1.&nbsp;
+    <div class="section" title="2.6.10.1.&nbsp; Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1082">2.6.10.1.&nbsp;
         <span class="bold"><strong>Definition:</strong></span>
       </h4></div></div></div>
       
@@ -344,7 +343,7 @@
         </p><pre class="programlisting">IF(BooleanExpression) </pre><p>
       </p>
     </div>
-    <div class="section" title="2.6.10.2.&nbsp; Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e346">2.6.10.2.&nbsp;
+    <div class="section" title="2.6.10.2.&nbsp; Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1087">2.6.10.2.&nbsp;
         <span class="bold"><strong>Example:</strong></span>
       </h4></div></div></div>
       
@@ -353,7 +352,7 @@
       </p>
       <p>
         A Paragraph annotation is annotated with a KeywordParagraph
-        annotation if the value of the variable 'keywordAmount' is greater
+        annotation, if the value of the variable 'keywordAmount' is greater
         than five.
       </p>
     </div>
@@ -362,13 +361,12 @@
   <div class="section" title="2.6.11.&nbsp;INLIST"><div class="titlepage"><div><div><h3 class="title" id="ugr.tools.tm.language.conditions.inlist">2.6.11.&nbsp;INLIST</h3></div></div></div>
     
     <p>
-      The INLIST condition is fulfilled if the matched annotation is listed
+      The INLIST condition is fulfilled, if the matched annotation is listed
       in a given word or string list. The (relative) edit distance
-      is
-      currently disabled.
+      is currently disabled.
       
     </p>
-    <div class="section" title="2.6.11.1.&nbsp; Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e355">2.6.11.1.&nbsp;
+    <div class="section" title="2.6.11.1.&nbsp; Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1096">2.6.11.1.&nbsp;
         <span class="bold"><strong>Definition:</strong></span>
       </h4></div></div></div>
       
@@ -379,7 +377,7 @@
         </p><pre class="programlisting">INLIST(StringList(,NumberExpression,(BooleanExpression)?)?) </pre><p>
       </p>
     </div>
-    <div class="section" title="2.6.11.2.&nbsp; Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e362">2.6.11.2.&nbsp;
+    <div class="section" title="2.6.11.2.&nbsp; Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1103">2.6.11.2.&nbsp;
         <span class="bold"><strong>Example:</strong></span>
       </h4></div></div></div>
       
@@ -387,7 +385,7 @@
         </p><pre class="programlisting">Keyword{INLIST(specialKeywords.txt)-&gt;MARK(SpecialKeyword)};</pre><p>
       </p>
       <p>
-        A Keyword is annotated with the type SpecialKeyword if the text
+        A Keyword is annotated with the type SpecialKeyword, if the text
         of the Keyword annotation is listed in the word list
         'specialKeywords.txt'.
       </p>
@@ -397,14 +395,14 @@
   <div class="section" title="2.6.12.&nbsp;IS"><div class="titlepage"><div><div><h3 class="title" id="ugr.tools.tm.language.conditions.is">2.6.12.&nbsp;IS</h3></div></div></div>
     
     <p>
-      The IS condition evaluates true if there is an annotation of the
+      The IS condition evaluates true, if there is an annotation of the
       given type with the same beginning and ending offsets as the
       matched
       annotation. If a list of types is given, the condition
-      evaluates true
+      evaluates true,
       if at least one of them fulfills the former condition.
     </p>
-    <div class="section" title="2.6.12.1.&nbsp; Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e371">2.6.12.1.&nbsp;
+    <div class="section" title="2.6.12.1.&nbsp; Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1112">2.6.12.1.&nbsp;
         <span class="bold"><strong>Definition:</strong></span>
       </h4></div></div></div>
       
@@ -412,7 +410,7 @@
         </p><pre class="programlisting">IS(Type|TypeListExpression) </pre><p>
       </p>
     </div>
-    <div class="section" title="2.6.12.2.&nbsp; Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e376">2.6.12.2.&nbsp;
+    <div class="section" title="2.6.12.2.&nbsp; Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1117">2.6.12.2.&nbsp;
         <span class="bold"><strong>Example:</strong></span>
       </h4></div></div></div>
       
@@ -429,10 +427,10 @@
   <div class="section" title="2.6.13.&nbsp;LAST"><div class="titlepage"><div><div><h3 class="title" id="ugr.tools.tm.language.conditions.last">2.6.13.&nbsp;LAST</h3></div></div></div>
     
     <p>
-      The LAST condition evaluates true if the type of the last token
+      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.&nbsp; Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e385">2.6.13.1.&nbsp;
+    <div class="section" title="2.6.13.1.&nbsp; Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1126">2.6.13.1.&nbsp;
         <span class="bold"><strong>Definition:</strong></span>
       </h4></div></div></div>
       
@@ -440,7 +438,7 @@
         </p><pre class="programlisting">LAST(TypeExpression) </pre><p>
       </p>
     </div>
-    <div class="section" title="2.6.13.2.&nbsp; Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e390">2.6.13.2.&nbsp;
+    <div class="section" title="2.6.13.2.&nbsp; Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1131">2.6.13.2.&nbsp;
         <span class="bold"><strong>Example:</strong></span>
       </h4></div></div></div>
       
@@ -448,7 +446,7 @@
         </p><pre class="programlisting">Document{LAST(CW)};</pre><p>
       </p>
       <p>
-        This rule fires if the last token of the document is a
+        This rule fires, if the last token of the document is a
         capitalized word.
       </p>
     </div>
@@ -461,7 +459,7 @@
       the number of containing conditions evaluating true is within a given
       interval.
     </p>
-    <div class="section" title="2.6.14.1.&nbsp; Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e399">2.6.14.1.&nbsp;
+    <div class="section" title="2.6.14.1.&nbsp; Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1140">2.6.14.1.&nbsp;
         <span class="bold"><strong>Definition:</strong></span>
       </h4></div></div></div>
       
@@ -469,7 +467,7 @@
         </p><pre class="programlisting">MOFN(NumberExpression,NumberExpression,Condition1,...,ConditionN) </pre><p>
       </p>
     </div>
-    <div class="section" title="2.6.14.2.&nbsp; Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e404">2.6.14.2.&nbsp;
+    <div class="section" title="2.6.14.2.&nbsp; Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1145">2.6.14.2.&nbsp;
         <span class="bold"><strong>Example:</strong></span>
       </h4></div></div></div>
       
@@ -478,7 +476,7 @@
           -&gt;MARK(HeadlineXORKeywords)};</pre><p>
       </p>
       <p>
-        A Paragraph is marked as a HeadlineXORKeywords if the matched
+        A Paragraph is marked as a HeadlineXORKeywords, if the matched
         text is either part of a Headline annotation or contains Keyword
         annotations.
       </p>
@@ -488,15 +486,15 @@
   <div class="section" title="2.6.15.&nbsp;NEAR"><div class="titlepage"><div><div><h3 class="title" id="ugr.tools.tm.language.conditions.near">2.6.15.&nbsp;NEAR</h3></div></div></div>
     
     <p>
-      The NEAR condition is fulfilled if the distance of the matched
+      The NEAR condition is fulfilled, if the distance of the matched
       annotation to an annotation of the given type is within a given
       interval. The direction is defined by a boolean parameter, whose
-      default value is true, therefore searching forward. By default this
+      default value is set to true, therefore searching forward. By default this
       condition works on an unfiltered index. An optional fifth boolean
       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.&nbsp; Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e413">2.6.15.1.&nbsp;
+    <div class="section" title="2.6.15.1.&nbsp; Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1154">2.6.15.1.&nbsp;
         <span class="bold"><strong>Definition:</strong></span>
       </h4></div></div></div>
       
@@ -505,7 +503,7 @@
           (,BooleanExpression(,BooleanExpression)?)?) </pre><p>
       </p>
     </div>
-    <div class="section" title="2.6.15.2.&nbsp; Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e418">2.6.15.2.&nbsp;
+    <div class="section" title="2.6.15.2.&nbsp; Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1159">2.6.15.2.&nbsp;
         <span class="bold"><strong>Example:</strong></span>
       </h4></div></div></div>
       
@@ -525,7 +523,7 @@
       The NOT condition negates the result of its contained
       condition.
     </p>
-    <div class="section" title="2.6.16.1.&nbsp; Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e427">2.6.16.1.&nbsp;
+    <div class="section" title="2.6.16.1.&nbsp; Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1168">2.6.16.1.&nbsp;
         <span class="bold"><strong>Definition:</strong></span>
       </h4></div></div></div>
       
@@ -533,7 +531,7 @@
         </p><pre class="programlisting">"-"Condition</pre><p>
       </p>
     </div>
-    <div class="section" title="2.6.16.2.&nbsp; Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e432">2.6.16.2.&nbsp;
+    <div class="section" title="2.6.16.2.&nbsp; Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1173">2.6.16.2.&nbsp;
         <span class="bold"><strong>Example:</strong></span>
       </h4></div></div></div>
       
@@ -550,10 +548,10 @@
   <div class="section" title="2.6.17.&nbsp;OR"><div class="titlepage"><div><div><h3 class="title" id="ugr.tools.tm.language.conditions.or">2.6.17.&nbsp;OR</h3></div></div></div>
     
     <p>
-      The OR Condition is a composed condition and evaluates true if
+      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.&nbsp; Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e441">2.6.17.1.&nbsp;
+    <div class="section" title="2.6.17.1.&nbsp; Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1182">2.6.17.1.&nbsp;
         <span class="bold"><strong>Definition:</strong></span>
       </h4></div></div></div>
       
@@ -561,16 +559,17 @@
         </p><pre class="programlisting">OR(Condition1,...,ConditionN)</pre><p>
       </p>
     </div>
-    <div class="section" title="2.6.17.2.&nbsp; Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e446">2.6.17.2.&nbsp;
+    <div class="section" title="2.6.17.2.&nbsp; Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1187">2.6.17.2.&nbsp;
         <span class="bold"><strong>Example:</strong></span>
       </h4></div></div></div>
       
       <p>
-        </p><pre class="programlisting">Paragraph{OR(PARTOF(Headline),CONTAINS(Keyword))-&gt;MARK(ImportantParagraph)};</pre><p>
+        </p><pre class="programlisting">Paragraph{OR(PARTOF(Headline),CONTAINS(Keyword))
+                                           -&gt;MARK(ImportantParagraph)};</pre><p>
       </p>
       <p>
         In this example a Paragraph is annotated with the
-        ImportantParagraph annotation if it is a Headline or contains
+        ImportantParagraph annotation, if it is a Headline or contains
         Keyword annotations.
       </p>
     </div>
@@ -579,12 +578,12 @@
   <div class="section" title="2.6.18.&nbsp;PARSE"><div class="titlepage"><div><div><h3 class="title" id="ugr.tools.tm.language.conditions.parse">2.6.18.&nbsp;PARSE</h3></div></div></div>
     
     <p>
-      The PARSE condition is fulfilled if the text covered by the
+      The PARSE condition is fulfilled, if the text covered by the
       matched annotation can be transformed into a value of the given
       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.&nbsp; Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e455">2.6.18.1.&nbsp;
+    <div class="section" title="2.6.18.1.&nbsp; Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1196">2.6.18.1.&nbsp;
         <span class="bold"><strong>Definition:</strong></span>
       </h4></div></div></div>
       
@@ -592,7 +591,7 @@
         </p><pre class="programlisting">PARSE(variable)</pre><p>
       </p>
     </div>
-    <div class="section" title="2.6.18.2.&nbsp; Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e460">2.6.18.2.&nbsp;
+    <div class="section" title="2.6.18.2.&nbsp; Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1201">2.6.18.2.&nbsp;
         <span class="bold"><strong>Example:</strong></span>
       </h4></div></div></div>
       
@@ -609,15 +608,15 @@
   <div class="section" title="2.6.19.&nbsp;PARTOF"><div class="titlepage"><div><div><h3 class="title" id="ugr.tools.tm.language.conditions.partof">2.6.19.&nbsp;PARTOF</h3></div></div></div>
     
     <p>
-      The PARTOF condition is fulfilled if the matched annotation is
-      part of an annotation of the given type. However it is not necessary
+      The PARTOF condition is fulfilled, if the matched annotation is
+      part of an annotation of the given type. However, it is not necessary
       that the matched annotation is smaller than the annotation of the
-      given type. Use the (much slower) PARTOFNEQ condition instead if this
-      is needed. If a type list is given, the condition evaluates true if
+      given type. Use the (much slower) PARTOFNEQ condition instead, if this
+      is needed. If a type list is given, the condition evaluates true, if
       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.&nbsp; Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e469">2.6.19.1.&nbsp;
+    <div class="section" title="2.6.19.1.&nbsp; Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1210">2.6.19.1.&nbsp;
         <span class="bold"><strong>Definition:</strong></span>
       </h4></div></div></div>
       
@@ -625,7 +624,7 @@
         </p><pre class="programlisting">PARTOF(Type|TypeListExpression)</pre><p>
       </p>
     </div>
-    <div class="section" title="2.6.19.2.&nbsp; Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e474">2.6.19.2.&nbsp;
+    <div class="section" title="2.6.19.2.&nbsp; Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1215">2.6.19.2.&nbsp;
         <span class="bold"><strong>Example:</strong></span>
       </h4></div></div></div>
       
@@ -633,7 +632,7 @@
         </p><pre class="programlisting">Paragraph{PARTOF(Headline) -&gt; MARK(ImportantParagraph)};</pre><p>
       </p>
       <p>
-        A Paragraph is an ImportantParagraph if the matched text is
+        A Paragraph is an ImportantParagraph, if the matched text is
         part of a Headline annotation.
       </p>
     </div>
@@ -649,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.&nbsp; Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e483">2.6.20.1.&nbsp;
+    <div class="section" title="2.6.20.1.&nbsp; Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1224">2.6.20.1.&nbsp;
         <span class="bold"><strong>Definition:</strong></span>
       </h4></div></div></div>
       
@@ -657,7 +656,7 @@
         </p><pre class="programlisting">PARTOFNEQ(Type|TypeListExpression)</pre><p>
       </p>
     </div>
-    <div class="section" title="2.6.20.2.&nbsp; Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e488">2.6.20.2.&nbsp;
+    <div class="section" title="2.6.20.2.&nbsp; Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1229">2.6.20.2.&nbsp;
         <span class="bold"><strong>Example:</strong></span>
       </h4></div></div></div>
       
@@ -665,7 +664,7 @@
         </p><pre class="programlisting">W{PARTOFNEQ(Headline) -&gt; MARK(ImportantWord)};</pre><p>
       </p>
       <p>
-        A word is an ImportantWord if it is part of a headline.
+        A word is an <span class="quote">&#8220;<span class="quote">ImportantWord</span>&#8221;</span>, if it is part of a headline.
       </p>
     </div>
   </div>
@@ -673,13 +672,13 @@
   <div class="section" title="2.6.21.&nbsp;POSITION"><div class="titlepage"><div><div><h3 class="title" id="ugr.tools.tm.language.conditions.position">2.6.21.&nbsp;POSITION</h3></div></div></div>
     
     <p>
-      The POSITION condition is fulfilled if the matched type is the
+      The POSITION condition is fulfilled, if the matched type is the
       k-th occurence of this type within the window of an annotation of the
       passed type, whereby k is defined by the value of the passed
       NumberExpression. If the additional boolean paramter is set to false,
-      then k count the occurences of of the minimal annotations.
+      then k counts the occurences of of the minimal annotations.
     </p>
-    <div class="section" title="2.6.21.1.&nbsp; Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e497">2.6.21.1.&nbsp;
+    <div class="section" title="2.6.21.1.&nbsp; Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1239">2.6.21.1.&nbsp;
         <span class="bold"><strong>Definition:</strong></span>
       </h4></div></div></div>
       
@@ -687,7 +686,7 @@
         </p><pre class="programlisting">POSITION(Type,NumberExpression(,BooleanExpression)?)</pre><p>
       </p>
     </div>
-    <div class="section" title="2.6.21.2.&nbsp; Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e502">2.6.21.2.&nbsp;
+    <div class="section" title="2.6.21.2.&nbsp; Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1244">2.6.21.2.&nbsp;
         <span class="bold"><strong>Example:</strong></span>
       </h4></div></div></div>
       
@@ -713,20 +712,20 @@
   <div class="section" title="2.6.22.&nbsp;REGEXP"><div class="titlepage"><div><div><h3 class="title" id="ugr.tools.tm.language.conditions.regexp">2.6.22.&nbsp;REGEXP</h3></div></div></div>
     
     <p>
-      The REGEXP condition is fulfilled if the given pattern matches on the
+      The REGEXP condition is fulfilled, if the given pattern matches on the
       matched annotation. However, if a string variable is given as the
       first
       argument, then the pattern is evaluated on the value of the
       variable.
       For more details on the syntax of regular
-      expressions, have a
+      expressions, take a
       look at
       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 set to true.
+      . By default the REGEXP condition is case-sensitive. To change this,
+      add an optional boolean parameter, which is set to true.
     </p>
-    <div class="section" title="2.6.22.1.&nbsp; Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e515">2.6.22.1.&nbsp;
+    <div class="section" title="2.6.22.1.&nbsp; Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1257">2.6.22.1.&nbsp;
         <span class="bold"><strong>Definition:</strong></span>
       </h4></div></div></div>
       
@@ -734,7 +733,7 @@
         </p><pre class="programlisting">REGEXP((StringVariable,)? StringExpression(,BooleanExpression)?)</pre><p>
       </p>
     </div>
-    <div class="section" title="2.6.22.2.&nbsp; Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e520">2.6.22.2.&nbsp;
+    <div class="section" title="2.6.22.2.&nbsp; Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1262">2.6.22.2.&nbsp;
         <span class="bold"><strong>Example:</strong></span>
       </h4></div></div></div>
       
@@ -754,12 +753,12 @@
       The SCORE condition evaluates the heuristic score of the matched
       annotation. This score is set or changed by the MARK action.
       The
-      condition is fulfilled if the score of the matched annotation is
+      condition is fulfilled, if the score of the matched annotation is
       in a
-      given interval. Optionally the score can be stored in a
+      given interval. Optionally, the score can be stored in a
       variable.
     </p>
-    <div class="section" title="2.6.23.1.&nbsp; Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e529">2.6.23.1.&nbsp;
+    <div class="section" title="2.6.23.1.&nbsp; Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1271">2.6.23.1.&nbsp;
         <span class="bold"><strong>Definition:</strong></span>
       </h4></div></div></div>
       
@@ -767,7 +766,7 @@
         </p><pre class="programlisting">SCORE(NumberExpression,NumberExpression(,Variable)?)</pre><p>
       </p>
     </div>
-    <div class="section" title="2.6.23.2.&nbsp; Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e534">2.6.23.2.&nbsp;
+    <div class="section" title="2.6.23.2.&nbsp; Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1276">2.6.23.2.&nbsp;
         <span class="bold"><strong>Example:</strong></span>
       </h4></div></div></div>
       
@@ -775,8 +774,8 @@
         </p><pre class="programlisting">MaybeHeadline{SCORE(40,100)-&gt;MARK(Headline)};</pre><p>
       </p>
       <p>
-        A annotation of the type MaybeHeadline is annotated with
-        Headline if its score is between 40 and 100.
+        An annotation of the type MaybeHeadline is annotated with
+        Headline, if its score is between 40 and 100.
       </p>
     </div>
   </div>
@@ -785,12 +784,12 @@
     
     <p>
       The SIZE contition counts the number of elements in the given
-      list. By default this condition always evaluates true. If an interval
-      is passed, it evaluates true if the counted number of list elements
+      list. By default, this condition always evaluates true. When an interval
+      is passed, it evaluates true, if the counted number of list elements
       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.&nbsp; Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e543">2.6.24.1.&nbsp;
+    <div class="section" title="2.6.24.1.&nbsp; Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1285">2.6.24.1.&nbsp;
         <span class="bold"><strong>Definition:</strong></span>
       </h4></div></div></div>
       
@@ -798,7 +797,7 @@
         </p><pre class="programlisting">SIZE(ListExpression(,NumberExpression,NumberExpression)?(,Variable)?)</pre><p>
       </p>
     </div>
-    <div class="section" title="2.6.24.2.&nbsp; Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e548">2.6.24.2.&nbsp;
+    <div class="section" title="2.6.24.2.&nbsp; Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1290">2.6.24.2.&nbsp;
         <span class="bold"><strong>Example:</strong></span>
       </h4></div></div></div>
       
@@ -806,9 +805,9 @@
         </p><pre class="programlisting">Document{SIZE(list,4,10,var)};</pre><p>
       </p>
       <p>
-        This rule fires if the given list contains between 4 and 10
+        This rule fires, if the given list contains between 4 and 10
         elements. Additionally, the exact amount is stored in the variable
-        var.
+        <span class="quote">&#8220;<span class="quote">var</span>&#8221;</span>.
       </p>
     </div>
   </div>
@@ -816,12 +815,12 @@
   <div class="section" title="2.6.25.&nbsp;STARTSWITH"><div class="titlepage"><div><div><h3 class="title" id="ugr.tools.tm.language.conditions.startswith">2.6.25.&nbsp;STARTSWITH</h3></div></div></div>
     
     <p>
-      The STARTSWITH condition evaluates true if an annotation of the
+      The STARTSWITH condition evaluates true, if an annotation of the
       given type starts exactly at the same position as the matched
-      annotation. If a type list is given, the condition evaluates true if
+      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.&nbsp; Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e557">2.6.25.1.&nbsp;
+    <div class="section" title="2.6.25.1.&nbsp; Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1300">2.6.25.1.&nbsp;
         <span class="bold"><strong>Definition:</strong></span>
       </h4></div></div></div>
       
@@ -829,7 +828,7 @@
         </p><pre class="programlisting">STARTSWITH(Type|TypeListExpression)</pre><p>
       </p>
     </div>
-    <div class="section" title="2.6.25.2.&nbsp; Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e562">2.6.25.2.&nbsp;
+    <div class="section" title="2.6.25.2.&nbsp; Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1305">2.6.25.2.&nbsp;
         <span class="bold"><strong>Example:</strong></span>
       </h4></div></div></div>
       
@@ -837,7 +836,7 @@
         </p><pre class="programlisting">Paragraph{STARTSWITH(SW)};</pre><p>
       </p>
       <p>
-        Here, the rule matches on a Paragraph annotation if it starts
+        Here, the rule matches on a Paragraph annotation, if it starts
         with small written word.
       </p>
     </div>
@@ -848,12 +847,12 @@
     <p>
       The TOTALCOUNT condition counts the annotations of the passed
       type within the whole document and stores the amount in an optionally
-      passed numerical variable. The condition evaluates true if the
+      passed numerical variable. The condition evaluates true, if the
       amount
       is within the passed interval. If no interval is passed, the
       condition always evaluates true.
     </p>
-    <div class="section" title="2.6.26.1.&nbsp; Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e571">2.6.26.1.&nbsp;
+    <div class="section" title="2.6.26.1.&nbsp; Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1314">2.6.26.1.&nbsp;
         <span class="bold"><strong>Definition:</strong></span>
       </h4></div></div></div>
       
@@ -861,7 +860,7 @@
         </p><pre class="programlisting">TOTALCOUNT(Type(,NumberExpression,NumberExpression(,Variable)?)?)</pre><p>
       </p>
     </div>
-    <div class="section" title="2.6.26.2.&nbsp; Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e576">2.6.26.2.&nbsp;
+    <div class="section" title="2.6.26.2.&nbsp; Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1319">2.6.26.2.&nbsp;
         <span class="bold"><strong>Example:</strong></span>
       </h4></div></div></div>
       
@@ -881,11 +880,11 @@
     
     <p>
       The VOTE condition counts the annotations of the given two types
-      within the window of the matched annotation and evaluates true
+      within the window of the matched annotation and evaluates true,
       if it
-      found more annotations of the first type.
+      finds more annotations of the first type.
     </p>
-    <div class="section" title="2.6.27.1.&nbsp; Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e585">2.6.27.1.&nbsp;
+    <div class="section" title="2.6.27.1.&nbsp; Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1328">2.6.27.1.&nbsp;
         <span class="bold"><strong>Definition:</strong></span>
       </h4></div></div></div>
       
@@ -893,7 +892,7 @@
         </p><pre class="programlisting">VOTE(TypeExpression,TypeExpression)</pre><p>
       </p>
     </div>
-    <div class="section" title="2.6.27.2.&nbsp; Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e590">2.6.27.2.&nbsp;
+    <div class="section" title="2.6.27.2.&nbsp; Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1333">2.6.27.2.&nbsp;
         <span class="bold"><strong>Example:</strong></span>
       </h4></div></div></div>
       
@@ -901,8 +900,8 @@
         </p><pre class="programlisting">Paragraph{VOTE(FirstName,LastName)};</pre><p>
       </p>
       <p>
-        Here, this rule fires if a paragraph contains more firstnames
+        Here, this rule fires, if a paragraph contains more firstnames
         than lastnames.
       </p>
     </div>
-  </div>
+  </div>
\ No newline at end of file