public class ModelProviderBase<M> extends CasConfigurableStreamProviderBase<M> implements HasTagsets
ARTIFACT_ID, CATCH_ALL, FORCE_AUTO_LOAD, GROUP_ID, LANGUAGE, LOCATION, NOT_REQUIRED, PACKAGE, PROP_REPO_CACHE, PROP_REPO_ID, PROP_REPO_OFFLINE, PROP_REPO_URL, SHARABLE, VARIANT, VERSION
Constructor and Description |
---|
ModelProviderBase() |
ModelProviderBase(Object aObject,
String aType) |
ModelProviderBase(Object aObject,
String aShortName,
String aType) |
Modifier and Type | Method and Description |
---|---|
protected void |
addTagset(Tagset aProvider) |
protected void |
addTagset(Tagset aProvider,
boolean aOutput) |
void |
configure(org.apache.uima.cas.CAS aCas) |
Tagset |
getTagset() |
protected M |
produceResource(InputStream aStream) |
protected void |
recordTagsets(org.apache.uima.cas.CAS aCas) |
produceResource
getProperties
addAutoOverride, addImport, applyAutoOverrides, configure, followRedirects, getAggregatedProperties, getAutoOverrides, getClassLoader, getContextClass, getDefault, getLastModelLocation, getModelLocation, getModelLocation, getModelResolver, getModelVersionFromMavenPom, getOverride, getResource, getResourceMetaData, init, loadMetadata, loadResource, mergeProperties, removeDefault, removeImport, removeOverride, setContextClass, setContextObject, setDefault, setDefaultVariants, setDefaultVariantsLocation, setOverride
public void configure(org.apache.uima.cas.CAS aCas) throws org.apache.uima.analysis_engine.AnalysisEngineProcessException
configure
in class CasConfigurableProviderBase<M>
org.apache.uima.analysis_engine.AnalysisEngineProcessException
protected M produceResource(InputStream aStream) throws Exception
produceResource
in class CasConfigurableStreamProviderBase<M>
Exception
public Tagset getTagset()
getTagset
in interface HasTagsets
protected void addTagset(Tagset aProvider)
protected void addTagset(Tagset aProvider, boolean aOutput)
protected void recordTagsets(org.apache.uima.cas.CAS aCas) throws org.apache.uima.cas.CASException
org.apache.uima.cas.CASException
Copyright © 2007–2018 Ubiquitous Knowledge Processing (UKP) Lab, Technische Universität Darmstadt. All rights reserved.