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

Docs incosistent with latest code

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • tools-1.5.2-incubating, tools-1.5.3
    • tools-1.5.3
    • Name Finder
    • None
    • Ubuntu 11.10 x64 Java 1.7

    Description

      The docs state that one can pass null resources to the TokenNameFinderCrossValidator but that is not the case...At the very least one has to pass an empty Map rather than null, otherwise there will be a NPE right after the first 100 iterations of training finish! Passing an empty map does the trick...Thanks William!

      At the very least you can add a null-check and create an empty map accordingly rather than letting the user do it...

      Attachments

        Activity

          People

            colen William Colen
            jim-85 Jim Piliouras
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified