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

Fix typo in tokenizer documentation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Not A Problem
    • None
    • None
    • Documentation
    • 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

            joern Jörn Kottmann
            joern Jörn Kottmann
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: