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

        

Reply via email to