Package opennlp.tools.cmdline
Class ModelLoader<T>
java.lang.Object
opennlp.tools.cmdline.ModelLoader<T>
- Type Parameters:
T-
- Direct Known Subclasses:
ChunkerModelLoader,DetokenizationDictionaryLoader,DoccatModelLoader,LanguageDetectorModelLoader,LemmatizerModelLoader,ParserModelLoader,POSModelLoader,SentenceModelLoader,TokenizerModelLoader,TokenNameFinderModelLoader
Loads a model and does all the error handling for the command line tools.
Note: Do not use this class, internal use only!
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
logger
private static final org.slf4j.Logger logger -
modelName
-
-
Constructor Details
-
ModelLoader
-
-
Method Details
-
loadModel
- Throws:
IOException
-
load
-