This is an automated email from the ASF dual-hosted git repository. koji pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/opennlp.git
The following commit(s) were added to refs/heads/master by this push: new 4dfbcba OPENNLP-1217: opennlp Parser can take only one model file (#332) 4dfbcba is described below commit 4dfbcba689456f47a4e8232d49fee094695066f3 Author: Koji Sekiguchi <koji.sekigu...@rondhuit.com> AuthorDate: Thu Aug 30 09:44:43 2018 +0900 OPENNLP-1217: opennlp Parser can take only one model file (#332) --- opennlp-docs/src/docbkx/parser.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/opennlp-docs/src/docbkx/parser.xml b/opennlp-docs/src/docbkx/parser.xml index 5433fa8..9396677 100644 --- a/opennlp-docs/src/docbkx/parser.xml +++ b/opennlp-docs/src/docbkx/parser.xml @@ -39,7 +39,7 @@ under the License. Tool with the following command. <screen> <![CDATA[ -$ opennlp Parser en-parser.bin en-parser-chunking.bin]]> +$ opennlp Parser en-parser-chunking.bin]]> </screen> Loading the big parser model can take several seconds, be patient. Copy this sample sentence to the console. @@ -56,7 +56,7 @@ The quick brown fox jumps over the lazy dog .]]> With the following command the input can be read from a file and be written to an output file. <screen> <![CDATA[ -$ opennlp Parser en-parser.bin en-parser-chunking.bin < article-tokenized.txt > article-parsed.txt.]]> +$ opennlp Parser en-parser-chunking.bin < article-tokenized.txt > article-parsed.txt.]]> </screen> The article-tokenized.txt file must contain one sentence per line which is tokenized with the English tokenizer model from our website.