opennlp.tools.cmdline.postag
Class POSModelLoader
java.lang.Object
opennlp.tools.cmdline.ModelLoader<POSModel>
opennlp.tools.cmdline.postag.POSModelLoader
public final class POSModelLoader
- extends ModelLoader<POSModel>
Loads a POS Tagger Model for the command line tools.
Note: Do not use this class, internal use only!
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
POSModelLoader
public POSModelLoader()
loadModel
protected POSModel loadModel(InputStream modelIn)
throws IOException,
InvalidFormatException
- Specified by:
loadModel
in class ModelLoader<POSModel>
- Throws:
IOException
InvalidFormatException
Copyright © 2010. All Rights Reserved.