Package opennlp.tools.models
Klasse ClassPathModelLoader
java.lang.Object
opennlp.tools.models.ClassPathModelLoader
Responsible for loading OpenNLP models from the classpath.
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungload(ClassPathModelEntry entry) Loads aClassPathModelfrom aClassPathModelEntry
-
Konstruktordetails
-
ClassPathModelLoader
public ClassPathModelLoader()
-
-
Methodendetails
-
load
Loads aClassPathModelfrom aClassPathModelEntry- Parameter:
entry- A validClassPathModelEntry, it must not benull.- Gibt zurück:
- A
ClassPathModelcontaining the model resources. - Löst aus:
IOException- thrown if something went wrong during reading resources from the classpath.
-