Uses of Enum Class
opennlp.tools.models.ModelType
Packages that use ModelType
-
Uses of ModelType in opennlp.tools.models
Methods in opennlp.tools.models that return ModelTypeModifier and TypeMethodDescriptionstatic ModelTypeReturns the enum constant of this class with the specified name.static ModelType[]ModelType.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in opennlp.tools.models with parameters of type ModelTypeModifier and TypeMethodDescription(package private) <T extends BaseModel>
TClassPathModelLoader.load(Set<ClassPathModelEntry> classPathEntries, String lang, ModelType type, Class<T> modelType) <T extends BaseModel>
TRestores amodelamong all classpath models at runtime according to the specified parameterslangandtype.<T extends BaseModel>
TRestores amodelamong all classpath models at runtime according to the specified parameterslangandtype.<T extends BaseModel>
TRestores amodelamong all classpath models at runtime according to the specified parameterslangandtype.<T extends BaseModel>
TDefaultClassPathModelProvider.load(String lang, ModelType type, Class<T> modelType, boolean reloadCache) Restores amodelamong all classpath models at runtime according to the specified parameterslangandtype. -
Uses of ModelType in opennlp.tools.util
Fields in opennlp.tools.util with type parameters of type ModelTypeMethods in opennlp.tools.util that return types with arguments of type ModelTypeModifier and TypeMethodDescriptionDownloadUtil.DownloadParser.getAvailableModels()Lists the models of the index page.DownloadUtil.getAvailableModels()Lists the models published in the model index.Methods in opennlp.tools.util with parameters of type ModelTypeModifier and TypeMethodDescriptionstatic <T extends BaseModel>
TDownloadUtil.downloadModel(String language, ModelType modelType, Class<T> type) Triggers a download for the specifiedModelType.(package private) static booleanDownloadUtil.existsModel(String language, ModelType modelType) Checks if a model of the specifiedmodelTypehas been downloaded already for a particularlanguage.Method parameters in opennlp.tools.util with type arguments of type ModelType