opennlp.tools.cmdline.doccat
Class DoccatModelLoader

java.lang.Object
  extended by opennlp.tools.cmdline.ModelLoader<DoccatModel>
      extended by opennlp.tools.cmdline.doccat.DoccatModelLoader

public class DoccatModelLoader
extends ModelLoader<DoccatModel>

Loads a Document Categorizer Model for the command line tools.

Note: Do not use this class, internal use only!


Constructor Summary
DoccatModelLoader()
           
 
Method Summary
protected  DoccatModel loadModel(InputStream modelIn)
           
 
Methods inherited from class opennlp.tools.cmdline.ModelLoader
load
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DoccatModelLoader

public DoccatModelLoader()
Method Detail

loadModel

protected DoccatModel loadModel(InputStream modelIn)
                         throws IOException,
                                InvalidFormatException
Specified by:
loadModel in class ModelLoader<DoccatModel>
Throws:
IOException
InvalidFormatException


Copyright © 2010. All Rights Reserved.