Klasse SimpleClassPathModelFinder

java.lang.Object
opennlp.tools.models.AbstractClassPathModelFinder
opennlp.tools.models.simple.SimpleClassPathModelFinder
Alle implementierten Schnittstellen:
ClassPathModelFinder

public class SimpleClassPathModelFinder extends AbstractClassPathModelFinder implements ClassPathModelFinder
Enables the detection of OpenNLP models in the classpath via JDK classes By default, this class will search for JAR files starting with "opennlp-models-*". This wildcard pattern can be adjusted by using the alternative constructor of this class.
Siehe auch:
  • Konstruktordetails

    • SimpleClassPathModelFinder

      public SimpleClassPathModelFinder()
    • SimpleClassPathModelFinder

      public SimpleClassPathModelFinder(String modelJarPrefix)
      Parameter:
      modelJarPrefix - The leafnames of the jars that should be canned (e.g. "opennlp.jar"). May contain a wildcard glob ("opennlp-*.jar"). It must not be null.