Class DefaultClassPathModelProvider

java.lang.Object
opennlp.tools.models.DefaultClassPathModelProvider
All Implemented Interfaces:
ClassPathModelProvider

public class DefaultClassPathModelProvider extends Object implements ClassPathModelProvider
A default implementation of ClassPathModelProvider which by default relies on SimpleClassPathModelFinder to scan for models in the current classpath.

An instance can be shared between threads if its ClassPathModelFinder is thread-safe, as the finders based on AbstractClassPathModelFinder are.

See Also: