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 aClassPathModel
from aClassPathModelEntry
-
Konstruktordetails
-
ClassPathModelLoader
public ClassPathModelLoader()
-
-
Methodendetails
-
load
Loads aClassPathModel
from aClassPathModelEntry
- Parameter:
entry
- A validClassPathModelEntry
, it must not benull
.- Gibt zurück:
- A
ClassPathModel
containing the model resources. - Löst aus:
IOException
- thrown if something went wrong during reading resources from the classpath.
-