public class SentenceDetectorModelLoader extends ModelLoader<opennlp.tools.sentdetect.SentenceModel>
| Constructor and Description |
|---|
SentenceDetectorModelLoader(ModelValidator modelValidator,
String modelDirectory,
StandardModelManifest modelManifest)
Create a new
SentenceDetectorModelLoader. |
SentenceDetectorModelLoader(ModelValidator modelValidator,
String modelDirectory,
StandardModelManifest modelManifest,
ai.idylnlp.zoo.IdylNLPModelZoo idylNlpModelZoo)
Create a new
SentenceDetectorModelLoader. |
| Modifier and Type | Method and Description |
|---|---|
String |
getFullModelPath()
Gets the full path to the model.
|
StandardModelManifest |
getModelManifest()
Gets the model's manifest.
|
getModel, getModelDirectory, getModels, setIdylNLPModelZoo, setModelDirectory, setModelspublic SentenceDetectorModelLoader(ModelValidator modelValidator, String modelDirectory, StandardModelManifest modelManifest)
SentenceDetectorModelLoader.modelValidator - A ModelValidator to validate the model.modelDirectory - The full path to the directory containing the model.modelManifest - The model's StandardModelManifest.public SentenceDetectorModelLoader(ModelValidator modelValidator, String modelDirectory, StandardModelManifest modelManifest, ai.idylnlp.zoo.IdylNLPModelZoo idylNlpModelZoo)
SentenceDetectorModelLoader.modelValidator - A ModelValidator to validate the model.modelDirectory - The full path to the directory containing the model.modelManifest - The model's StandardModelManifest.idylNlpModelZoo - A IdylNLPModelZoo client.public String getFullModelPath()
public StandardModelManifest getModelManifest()
StandardModelManifest..Copyright © 2018. All rights reserved.