You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@opennlp.apache.org by "Joern Kottmann (Created) (JIRA)" <ji...@apache.org> on 2011/11/15 10:01:55 UTC

[jira] [Created] (OPENNLP-374) Fix typo in tokenizer documentation

Fix typo in tokenizer documentation
-----------------------------------

                 Key: OPENNLP-374
                 URL: https://issues.apache.org/jira/browse/OPENNLP-374
             Project: OpenNLP
          Issue Type: Bug
          Components: Documentation
            Reporter: Joern Kottmann
            Priority: Trivial
             Fix For: tools-1.5.3-incubating


Ben Rhelp:

"In the documentation:
http://incubator.apache.org/opennlp/documentation/manual/opennlp.html#tools.namefind.recognition.api


I think the example should be as follows (String->String[] and "years"->"years",)


    String[] sentence = new String[]{
            "Pierre",
            "Vinken",
            "is",
            "61",
            "years",
            "old",
            "."
            };


In

http://incubator.apache.org/opennlp/documentation/manual/opennlp.html#tools.tokenizer.api
Tokenizer tokenizer = new TokenizerME(model);
should be
TokenizerME tokenizer = new TokenizerME(model);"

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Closed] (OPENNLP-374) Fix typo in tokenizer documentation

Posted by "Joern Kottmann (Closed) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENNLP-374?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joern Kottmann closed OPENNLP-374.
----------------------------------

       Resolution: Not A Problem
    Fix Version/s:     (was: tools-1.5.3-incubating)
         Assignee: Joern Kottmann

The later case is correct, because Tokenizer is an interface which is implemented by the TokenizerME. No need to fix it, the TokenizerME has more methods, but before they are used the samples switch to the TokenizerME type.

The name finder spelling mistake seems to be already fixed in the trunk (and 1.5.2 RC6) version.

                
> Fix typo in tokenizer documentation
> -----------------------------------
>
>                 Key: OPENNLP-374
>                 URL: https://issues.apache.org/jira/browse/OPENNLP-374
>             Project: OpenNLP
>          Issue Type: Bug
>          Components: Documentation
>            Reporter: Joern Kottmann
>            Assignee: Joern Kottmann
>            Priority: Trivial
>
> Ben Rhelp:
> "In the documentation:
> http://incubator.apache.org/opennlp/documentation/manual/opennlp.html#tools.namefind.recognition.api
> I think the example should be as follows (String->String[] and "years"->"years",)
>     String[] sentence = new String[]{
>             "Pierre",
>             "Vinken",
>             "is",
>             "61",
>             "years",
>             "old",
>             "."
>             };
> In
> http://incubator.apache.org/opennlp/documentation/manual/opennlp.html#tools.tokenizer.api
> Tokenizer tokenizer = new TokenizerME(model);
> should be
> TokenizerME tokenizer = new TokenizerME(model);"

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira