org.apache.uima.examples.tagger
Class ModelResource

java.lang.Object
  extended by org.apache.uima.examples.tagger.ModelResource
All Implemented Interfaces:
IModelResource, org.apache.uima.resource.SharedResourceObject

public class ModelResource
extends java.lang.Object
implements IModelResource, org.apache.uima.resource.SharedResourceObject

Implementation of the model resource.


Constructor Summary
ModelResource()
           
 
Method Summary
 ModelGeneration getModel()
           
 void load(org.apache.uima.resource.DataResource data)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModelResource

public ModelResource()
Method Detail

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 © 2011. All Rights Reserved.