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/05/23 15:40:02 UTC

svn commit: r1126490 - /incubator/opennlp/trunk/opennlp-docs/src/docbkx/doccat.xml

Author: joern
Date: Mon May 23 13:40:02 2011
New Revision: 1126490

URL: http://svn.apache.org/viewvc?rev=1126490&view=rev
Log:
OPENNLP-33 Added language attribute to program listing

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

Modified: incubator/opennlp/trunk/opennlp-docs/src/docbkx/doccat.xml
URL: http://svn.apache.org/viewvc/incubator/opennlp/trunk/opennlp-docs/src/docbkx/doccat.xml?rev=1126490&r1=1126489&r2=1126490&view=diff
==============================================================================
--- incubator/opennlp/trunk/opennlp-docs/src/docbkx/doccat.xml (original)
+++ incubator/opennlp/trunk/opennlp-docs/src/docbkx/doccat.xml Mon May 23 13:40:02 2011
@@ -123,7 +123,7 @@ $bin/opennlp DoccatTrainer -encoding UTF
 		text, or an array of tokens. By default, the raw text will be split into tokens by whitespace. So, let's say
 		your training data was contained in a text file, where the format is as described above.
 		Then you might want to write something like this to create a collection of DocumentSamples:
-		<programlisting>
+		<programlisting language="java">
 						<![CDATA[
 DoccatModel model = null;
 
@@ -159,7 +159,7 @@ finally {
 	but first we'll cover serialization. Feel free to skim.
 		</para>
 		<para>
-		<programlisting>
+		<programlisting language="java">
 						<![CDATA[
 OutputStream modelOut = null;
 try {