You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@opennlp.apache.org by "Florian Salbrechter (JIRA)" <ji...@apache.org> on 2011/09/21 15:11:09 UTC
[jira] [Created] (OPENNLP-296) SentenceDetectorEvaluator example
broken
SentenceDetectorEvaluator example broken
----------------------------------------
Key: OPENNLP-296
URL: https://issues.apache.org/jira/browse/OPENNLP-296
Project: OpenNLP
Issue Type: Bug
Components: Command Line Interface, Documentation, Sentence Detector
Affects Versions: tools-1.5.1-incubating, tools-1.5.0-sourceforge
Environment: Mac OS X Lion
Reporter: Florian Salbrechter
Priority: Trivial
I tried to execute the SentenceDetectorEvaluator as described in:
http://incubator.apache.org/opennlp/documentation/manual/opennlp.html#tools.sentdetect.eval.tool
with
bin/opennlp SentenceDetectorEvaluator -encoding UTF-8 -model en-sent.bin -data en-sent.eval
but I always got the following message:
"Usage: opennlp SentenceDetectorEvaluator -encoding charset -model model -data testData"
I looked up the source (SentenceDetectorEvaluatorTool.java) and I think I found the problem:
if (args.length != 4) {
System.out.println(getHelp());
throw new TerminateToolException(1);
}
The argument count check is wrong...should be 6!
Flo
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Reopened] (OPENNLP-296) SentenceDetectorEvaluator example
broken
Posted by "Joern Kottmann (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OPENNLP-296?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joern Kottmann reopened OPENNLP-296:
------------------------------------
> SentenceDetectorEvaluator example broken
> ----------------------------------------
>
> Key: OPENNLP-296
> URL: https://issues.apache.org/jira/browse/OPENNLP-296
> Project: OpenNLP
> Issue Type: Bug
> Components: Command Line Interface, Documentation, Sentence Detector
> Affects Versions: tools-1.5.0-sourceforge, tools-1.5.1-incubating
> Environment: Mac OS X Lion
> Reporter: Florian Salbrechter
> Priority: Trivial
> Original Estimate: 0.5h
> Remaining Estimate: 0.5h
>
> I tried to execute the SentenceDetectorEvaluator as described in:
> http://incubator.apache.org/opennlp/documentation/manual/opennlp.html#tools.sentdetect.eval.tool
> with
> bin/opennlp SentenceDetectorEvaluator -encoding UTF-8 -model en-sent.bin -data en-sent.eval
> but I always got the following message:
> "Usage: opennlp SentenceDetectorEvaluator -encoding charset -model model -data testData"
> I looked up the source (SentenceDetectorEvaluatorTool.java) and I think I found the problem:
> if (args.length != 4) {
> System.out.println(getHelp());
> throw new TerminateToolException(1);
> }
> The argument count check is wrong...should be 6!
> Flo
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Closed] (OPENNLP-296) SentenceDetectorEvaluator example
broken
Posted by "Joern Kottmann (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OPENNLP-296?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joern Kottmann closed OPENNLP-296.
----------------------------------
Resolution: Fixed
> SentenceDetectorEvaluator example broken
> ----------------------------------------
>
> Key: OPENNLP-296
> URL: https://issues.apache.org/jira/browse/OPENNLP-296
> Project: OpenNLP
> Issue Type: Bug
> Components: Command Line Interface, Documentation, Sentence Detector
> Affects Versions: tools-1.5.0-sourceforge, tools-1.5.1-incubating
> Environment: Mac OS X Lion
> Reporter: Florian Salbrechter
> Priority: Trivial
> Original Estimate: 0.5h
> Remaining Estimate: 0.5h
>
> I tried to execute the SentenceDetectorEvaluator as described in:
> http://incubator.apache.org/opennlp/documentation/manual/opennlp.html#tools.sentdetect.eval.tool
> with
> bin/opennlp SentenceDetectorEvaluator -encoding UTF-8 -model en-sent.bin -data en-sent.eval
> but I always got the following message:
> "Usage: opennlp SentenceDetectorEvaluator -encoding charset -model model -data testData"
> I looked up the source (SentenceDetectorEvaluatorTool.java) and I think I found the problem:
> if (args.length != 4) {
> System.out.println(getHelp());
> throw new TerminateToolException(1);
> }
> The argument count check is wrong...should be 6!
> Flo
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (OPENNLP-296) SentenceDetectorEvaluator example
broken
Posted by "Florian Salbrechter (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OPENNLP-296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13112439#comment-13112439 ]
Florian Salbrechter commented on OPENNLP-296:
---------------------------------------------
Great!
Sorry for the duplicate!
Flo
> SentenceDetectorEvaluator example broken
> ----------------------------------------
>
> Key: OPENNLP-296
> URL: https://issues.apache.org/jira/browse/OPENNLP-296
> Project: OpenNLP
> Issue Type: Bug
> Components: Command Line Interface, Documentation, Sentence Detector
> Affects Versions: tools-1.5.0-sourceforge, tools-1.5.1-incubating
> Environment: Mac OS X Lion
> Reporter: Florian Salbrechter
> Priority: Trivial
> Original Estimate: 0.5h
> Remaining Estimate: 0.5h
>
> I tried to execute the SentenceDetectorEvaluator as described in:
> http://incubator.apache.org/opennlp/documentation/manual/opennlp.html#tools.sentdetect.eval.tool
> with
> bin/opennlp SentenceDetectorEvaluator -encoding UTF-8 -model en-sent.bin -data en-sent.eval
> but I always got the following message:
> "Usage: opennlp SentenceDetectorEvaluator -encoding charset -model model -data testData"
> I looked up the source (SentenceDetectorEvaluatorTool.java) and I think I found the problem:
> if (args.length != 4) {
> System.out.println(getHelp());
> throw new TerminateToolException(1);
> }
> The argument count check is wrong...should be 6!
> Flo
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Closed] (OPENNLP-296) SentenceDetectorEvaluator example
broken
Posted by "Joern Kottmann (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OPENNLP-296?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joern Kottmann closed OPENNLP-296.
----------------------------------
Resolution: Duplicate
Thanks for reporting this issue. It is already fixed.
I suggest that you try our first 1.5.2 release candiate, it can be downloaded here:
http://people.apache.org/~joern/releases/opennlp-1.5.2-incubating/rc1/
> SentenceDetectorEvaluator example broken
> ----------------------------------------
>
> Key: OPENNLP-296
> URL: https://issues.apache.org/jira/browse/OPENNLP-296
> Project: OpenNLP
> Issue Type: Bug
> Components: Command Line Interface, Documentation, Sentence Detector
> Affects Versions: tools-1.5.0-sourceforge, tools-1.5.1-incubating
> Environment: Mac OS X Lion
> Reporter: Florian Salbrechter
> Priority: Trivial
> Original Estimate: 0.5h
> Remaining Estimate: 0.5h
>
> I tried to execute the SentenceDetectorEvaluator as described in:
> http://incubator.apache.org/opennlp/documentation/manual/opennlp.html#tools.sentdetect.eval.tool
> with
> bin/opennlp SentenceDetectorEvaluator -encoding UTF-8 -model en-sent.bin -data en-sent.eval
> but I always got the following message:
> "Usage: opennlp SentenceDetectorEvaluator -encoding charset -model model -data testData"
> I looked up the source (SentenceDetectorEvaluatorTool.java) and I think I found the problem:
> if (args.length != 4) {
> System.out.println(getHelp());
> throw new TerminateToolException(1);
> }
> The argument count check is wrong...should be 6!
> Flo
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira