You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opennlp.apache.org by jo...@apache.org on 2011/11/30 12:43:50 UTC

svn commit: r1208392 - in /incubator/opennlp/trunk/opennlp-docs/src/docbkx: corpora.xml introduction.xml

Author: joern
Date: Wed Nov 30 11:43:49 2011
New Revision: 1208392

URL: http://svn.apache.org/viewvc?rev=1208392&view=rev
Log:
No jira, fixed two xml mistakes.

Modified:
    incubator/opennlp/trunk/opennlp-docs/src/docbkx/corpora.xml
    incubator/opennlp/trunk/opennlp-docs/src/docbkx/introduction.xml

Modified: incubator/opennlp/trunk/opennlp-docs/src/docbkx/corpora.xml
URL: http://svn.apache.org/viewvc/incubator/opennlp/trunk/opennlp-docs/src/docbkx/corpora.xml?rev=1208392&r1=1208391&r2=1208392&view=diff
==============================================================================
--- incubator/opennlp/trunk/opennlp-docs/src/docbkx/corpora.xml (original)
+++ incubator/opennlp/trunk/opennlp-docs/src/docbkx/corpora.xml Wed Nov 30 11:43:49 2011
@@ -272,7 +272,7 @@ Runtime: 5.71s
 Precision: 0.9366247297154147
 Recall: 0.739956568946797
 F-Measure: 0.8267557582133971]]>
-		</programlisting>
+		</screen>
 		</para>
 		</section>
 	</section>
@@ -403,7 +403,7 @@ Writing document categorizer model ... d
 Wrote document categorizer model to
 path: /Users/joern/dev/opennlp-apache/opennlp/opennlp-tools/lang.model
 ]]>
-	</programlisting>
+	</screen>
 	In the sample above the language detection model was trained to distinguish two languages, danish and english.
 	</para>
 	

Modified: incubator/opennlp/trunk/opennlp-docs/src/docbkx/introduction.xml
URL: http://svn.apache.org/viewvc/incubator/opennlp/trunk/opennlp-docs/src/docbkx/introduction.xml?rev=1208392&r1=1208391&r2=1208392&view=diff
==============================================================================
--- incubator/opennlp/trunk/opennlp-docs/src/docbkx/introduction.xml (original)
+++ incubator/opennlp/trunk/opennlp-docs/src/docbkx/introduction.xml Wed Nov 30 11:43:49 2011
@@ -84,6 +84,7 @@ finally {
 }]]>
             </programlisting>
         </para>
+        <para>
         After the model is loaded the tool itself can be instantiated.
         <programlisting language="java">
                 <![CDATA[
@@ -96,6 +97,7 @@ ToolName toolName = new ToolName(model);
                 <![CDATA[
 String output[] = toolName.executeTask("This is a sample text.");]]>
         </programlisting>
+        </para>
     </section>
 
     <section id="intro.cli">