Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.1.0
-
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.