Uploaded image for project: 'OpenNLP'
  1. OpenNLP
  2. OPENNLP-374

Fix typo in tokenizer documentation

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Not A Problem
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Documentation
    • Labels:
      None

      Description

      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);"

        Attachments

          Activity

            People

            • Assignee:
              joern Joern Kottmann
              Reporter:
              joern Joern Kottmann
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: