public class SentenceDetectorModelLoader extends ModelLoader<opennlp.tools.sentdetect.SentenceModel>
| Constructor and Description |
|---|
SentenceDetectorModelLoader(ModelValidator modelValidator,
String modelDirectory,
StandardModelManifest ModelManifest)
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.modelDirectory - The full path to the directory containing the model.ModelManifest - The model's StandardModelManifest.public String getFullModelPath()
public StandardModelManifest getModelManifest()
StandardModelManifest..Copyright © 2018. All rights reserved.