@Deprecated public interface CasDataInitializer extends ConfigurableResource
CasData
.
An example of a CasDataInitializer
would be a component that takes an HTML
document and populates a CasData with the plain (detagged) text as well as document structure
annotations that were inferred from the locations of certain HTML tags (paragraphs and headings,
for example).
PARAM_AGGREGATE_SOFA_MAPPINGS, PARAM_CONFIG_MANAGER, PARAM_CONFIG_PARAM_SETTINGS, PARAM_EXTERNAL_OVERRIDE_SETTINGS, PARAM_PERFORMANCE_TUNING_SETTINGS, PARAM_RESOURCE_MANAGER, PARAM_UIMA_CONTEXT
Modifier and Type | Method and Description |
---|---|
ProcessingResourceMetaData |
getCasInitializerMetaData()
Deprecated.
Gets the metadata that describes this
CasDataInitializer . |
CasData |
initializeCas(Object aObj)
Deprecated.
Reads content and metadata from an Object and creates a
CasData . |
getConfigParameterValue, getConfigParameterValue, reconfigure, setConfigParameterValue, setConfigParameterValue
destroy, getLogger, getMetaData, getResourceManager, getUimaContext, getUimaContextAdmin, initialize, setLogger
CasData initializeCas(Object aObj) throws CollectionException, IOException
CasData
.aObj
- the Object to processCollectionException
- if an error occurs during initialization of the CASIOException
- if an I/O failure occursProcessingResourceMetaData getCasInitializerMetaData()
CasDataInitializer
.Copyright © 2006–2017 The Apache Software Foundation. All rights reserved.