Author: pkluegl
Date: Wed Nov  4 08:16:17 2015
New Revision: 1712488

URL: http://svn.apache.org/viewvc?rev=1712488&view=rev
Log:
no jira - fixed documentation of wordtables

Modified:
    uima/ruta/trunk/ruta-docbook/src/docbook/tools.ruta.language.xml

Modified: uima/ruta/trunk/ruta-docbook/src/docbook/tools.ruta.language.xml
URL: 
http://svn.apache.org/viewvc/uima/ruta/trunk/ruta-docbook/src/docbook/tools.ruta.language.xml?rev=1712488&r1=1712487&r2=1712488&view=diff
==============================================================================
--- uima/ruta/trunk/ruta-docbook/src/docbook/tools.ruta.language.xml (original)
+++ uima/ruta/trunk/ruta-docbook/src/docbook/tools.ruta.language.xml Wed Nov  4 
08:16:17 2015
@@ -569,7 +569,7 @@ Document{->MARKFAST(FirstName, FirstName
         <programlisting><![CDATA[WORDLIST Names = 'Names.mtwl';
 Declare FirstName, LastName;
 Document{->TRIE("FirstNames.txt" = FirstName, "LastNames.txt" = LastName,
-                                          Names, false, 0, false, 0, 
"")};]]></programlisting>
+    Names, false, 0, false, 0, "")};]]></programlisting>
       </para>
     </section>
     <section>
@@ -590,16 +590,16 @@ Document{->TRIE("FirstNames.txt" = First
         For our example, such a file named
         <quote>presidentsOfUSA.csv</quote>
         could look like this:
-        <programlisting><![CDATA[Bill Clinton; democrats; 1993
-George W. Bush; republicans; 2001
-Barack Obama; democrats; 2009
+        <programlisting><![CDATA[Bill Clinton;democrats;1993
+George W. Bush;republicans;2001
+Barack Obama;democrats;2009
 ]]></programlisting>
         To annotate our documents we could use the following set of
         rules:
         <programlisting><![CDATA[WORDTABLE presidentsOfUSA = 
'presidentsOfUSA.csv';
 DECLARE Annotation PresidentOfUSA(STRING party, INT yearOfInauguration);
-Document{->MARKTABLE(PresidentOfUSA, 1, "party" = 2, 
-                                                                               
         "yearOfInauguration" = 3)};]]></programlisting>
+Document{->MARKTABLE(PresidentOfUSA, 1, presidentsOfUSA, "party" = 2, 
+               "yearOfInauguration" = 3)};]]></programlisting>
       </para>
     </section>
   </section>


Reply via email to