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/31 13:09:17 UTC
svn commit: r1129624 -
/incubator/opennlp/trunk/opennlp-docs/src/docbkx/postagger.xml
Author: joern
Date: Tue May 31 11:09:16 2011
New Revision: 1129624
URL: http://svn.apache.org/viewvc?rev=1129624&view=rev
Log:
OPENNLP-194 Fixed too long lines
Modified:
incubator/opennlp/trunk/opennlp-docs/src/docbkx/postagger.xml
Modified: incubator/opennlp/trunk/opennlp-docs/src/docbkx/postagger.xml
URL: http://svn.apache.org/viewvc/incubator/opennlp/trunk/opennlp-docs/src/docbkx/postagger.xml?rev=1129624&r1=1129623&r2=1129624&view=diff
==============================================================================
--- incubator/opennlp/trunk/opennlp-docs/src/docbkx/postagger.xml (original)
+++ incubator/opennlp/trunk/opennlp-docs/src/docbkx/postagger.xml Tue May 31 11:09:16 2011
@@ -36,7 +36,8 @@ under the License.
<section id="tools.postagger.tagging.cmdline">
<title>POS Tagger Tool</title>
<para>
- The easiest way to try out the POS Tagger is the command line tool. The tool is only intended for demonstration and testing.
+ The easiest way to try out the POS Tagger is the command line tool. The tool is
+ only intended for demonstration and testing.
Download the english maxent pos model and start the POS Tagger Tool with this command:
<screen>
<![CDATA[
@@ -52,10 +53,12 @@ Mr. Vinken is chairman of Elsevier N.V.
the POS Tagger will now echo the sentences with pos tags to the console:
<programlisting>
<![CDATA[
-Pierre_NNP Vinken_NNP ,_, 61_CD years_NNS old_JJ ,_, will_MD join_VB the_DT board_NN as_IN a_DT nonexecutive_JJ director_NN Nov._NNP 29_CD ._.
+Pierre_NNP Vinken_NNP ,_, 61_CD years_NNS old_JJ ,_, will_MD join_VB the_DT board_NN as_IN
+ a_DT nonexecutive_JJ director_NN Nov._NNP 29_CD ._.
Mr._NNP Vinken_NNP is_VBZ chairman_NN of_IN Elsevier_NNP N.V._NNP ,_, the_DT Dutch_NNP publishing_VBG group_NN]]>
</programlisting>
- The tag set used by the english pos model is the Penn Treebank tag set. See the link below for a description of the tags.
+ The tag set used by the english pos model is the Penn Treebank tag set.
+ See the link below for a description of the tags.
</para>
</section>
@@ -174,7 +177,8 @@ Usage: opennlp POSTaggerTrainer -lang la
The following command illustrates how an english part-of-speech model can be trained:
<screen>
<![CDATA[
-$bin/opennlp POSTaggerTrainer -encoding UTF-8 -lang en -model-type maxent -data en-pos.train -model en-pos-maxent.bin]]>
+$bin/opennlp POSTaggerTrainer -encoding UTF-8 -lang en -model-type maxent -data en-pos.train \
+-model en-pos-maxent.bin]]>
</screen>
</para>
</section>