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

Address failing regression tests on Java 11

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.9.2, 1.9.3
    • 1.9.3
    • None

    Description

      When executing the regression tests (mvn test -DOPENNLP_DATA_DIR=/path/to/opennlp-test-data/ -Peval-tests) on Java 11, a few tests fail:

      Failed tests:
      ArvoresDeitadasEval.evalPortugueseChunkerQn:212->chunkerCrossEval:141 expected:<0.9648211936491359> but was:<0.9650171248355313>
      Conll02NameFinderEval.evalSpanishMiscMaxentQn:505->eval:83 expected:<0.470219435736677> but was:<0.4733542319749216>
      Conll02NameFinderEval.evalSpanishOrganizationMaxentQn:421->eval:83 expected:<0.682961897915169> but was:<0.67005444646098>
      ConllXPosTaggerEval.evalSwedishMaxentQn:208->eval:80 expected:<0.9347595473833098> but was:<0.9349363507779349>

      Environment details:

      Apache Maven 3.6.0
      Maven home: /usr/share/maven
      Java version: 11.0.4, vendor: Ubuntu, runtime: /usr/lib/jvm/java-11-openjdk-amd64
      Default locale: en_US, platform encoding: UTF-8
      OS name: "linux", version: "5.0.0-37-generic", arch: "amd64", family: "unix"

      Attachments

        1. java8
          48 kB
          Jeff Zemerick
        2. java11
          50 kB
          Jeff Zemerick

        Activity

          People

            jzemerick Jeff Zemerick
            jzemerick Jeff Zemerick
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: