[
https://issues.apache.org/jira/browse/OPENNLP-1215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16596959#comment-16596959
]
ASF GitHub Bot commented on OPENNLP-1215:
-----------------------------------------
kojisekig closed pull request #330: OPENNLP-1215: ParserTrainer's option
-head-rules in the document shou…
URL: https://github.com/apache/opennlp/pull/330
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/opennlp-docs/src/docbkx/parser.xml
b/opennlp-docs/src/docbkx/parser.xml
index 8db92e6ec..5433fa8c7 100644
--- a/opennlp-docs/src/docbkx/parser.xml
+++ b/opennlp-docs/src/docbkx/parser.xml
@@ -182,7 +182,7 @@ Arguments description:
<screen>
<![CDATA[
$ opennlp ParserTrainer -model en-parser-chunking.bin -parserType CHUNKING \
- -head-rules head_rules \
+ -headRules head_rules \
-lang en -data train.all -encoding ISO-8859-1
]]>
</screen>
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> ParserTrainer's option -head-rules in the document should be -headRules
> -----------------------------------------------------------------------
>
> Key: OPENNLP-1215
> URL: https://issues.apache.org/jira/browse/OPENNLP-1215
> Project: OpenNLP
> Issue Type: Documentation
> Components: Documentation
> Affects Versions: 1.9.0
> Reporter: Koji Sekiguchi
> Priority: Trivial
> Fix For: 1.9.1
>
>
> There is the section that describes so and I tried to execute:
> {code}
> opennlp ParserTrainer -model en-parser.bin -data en-parser.train -head-rules
> opennlp-tools/lang/en/parser/en-head_rules -lang en
> {code}
> and I got the error `Missing mandatory parameter: -headRules`
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)