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

Investigate why DownloadUtil can't retrieve NL models via CDN

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.1.0
    • 2.1.1
    • None
    • None
    • Important

    Description

      While working on OPENNLP-1413, I discovered that the class opennlp.tools.util.DownloadUtil has a runtime issue with downloading resources (models) for the Dutch locale (nl). Other locales referenced via the static initializer block are accessible and can be downloaded.

      Moreover, a JUnit test is missing and should be provided.

      Aim:

      • Investigate what's wrong with NL resources.
      • If possible, fix the problem with retrieving Dutch models.
      • Provide a JUnit tests that demonstrates correct behavior for all locales.

      JavaDoc is improved via OPENNLP-1413. Don't work on it twice...

      Note:

      For Dutch community this affects other parts of the Tools component as Model classes rely on DownloadUtil in at least one constructor. Therefore, this should be fixed before the next release.

      Attachments

        Activity

          People

            mawiesne Martin Wiesner
            mawiesne Martin Wiesner
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: