org.apache.uima.examples.tagger
Class ModelResource
java.lang.Object
org.apache.uima.examples.tagger.ModelResource
- All Implemented Interfaces:
- IModelResource, org.apache.uima.resource.SharedResourceObject
public class ModelResource
- extends Object
- implements IModelResource, org.apache.uima.resource.SharedResourceObject
Implementation of the model resource.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ModelResource
public ModelResource()
getModel
public ModelGeneration getModel()
- Specified by:
getModel
in interface IModelResource
load
public void load(org.apache.uima.resource.DataResource data)
throws org.apache.uima.resource.ResourceInitializationException
- Specified by:
load
in interface org.apache.uima.resource.SharedResourceObject
- Throws:
org.apache.uima.resource.ResourceInitializationException
Copyright © 2006-2011 The Apache Software Foundation. All Rights Reserved.