This is an automated email from the ASF dual-hosted git repository. mawiesne pushed a change to branch OPENNLP-1729-Provide-easier-loading-of-Models-for-given-model-lang-and-type in repository https://gitbox.apache.org/repos/asf/opennlp.git
discard cdfe0aca OPENNLP-1729: Provide easier loading of Models for given model lang and type - extracts ModelType from DownloadUtil - adds new methods to ClassPathModelLoader to obtain actual model instances easily - adds ClassPathModelProvider interface - adds DefaultClassPathModelProvider which combines existing classes to achieve easier access to model objects via classpath loading - adds JUnit tests for the new classes - adds and improves JavaDoc add edbc8788 OPENNLP-1729: Provide easier loading of Models for given model lang and type - extracts ModelType from DownloadUtil - adds new methods to ClassPathModelLoader to obtain actual model instances easily - adds ClassPathModelProvider interface - adds DefaultClassPathModelProvider which combines existing classes to achieve easier access to model objects via classpath loading - adds JUnit tests for the new classes - adds and improves JavaDoc This update added new revisions after undoing existing revisions. That is to say, some revisions that were in the old version of the branch are not in the new version. This situation occurs when a user --force pushes a change and generates a repository containing something like this: * -- * -- B -- O -- O -- O (cdfe0aca) \ N -- N -- N refs/heads/OPENNLP-1729-Provide-easier-loading-of-Models-for-given-model-lang-and-type (edbc8788) You should already have received notification emails for all of the O revisions, and so the following emails describe only the N revisions from the common base, B. Any revisions marked "omit" are not gone; other references still refer to them. Any revisions marked "discard" are gone forever. No new revisions were added by this update. Summary of changes: .../opennlp/tools/models/ClassPathModelLoader.java | 20 +++++++++++++----- .../tools/models/ClassPathModelProvider.java | 12 +++++------ .../tools/models/ClassPathModelLoaderTest.java | 24 ++++++++++++++++++++++ 3 files changed, 44 insertions(+), 12 deletions(-)