Logo Search packages:      
Sourcecode: uimaj version File versions  Download package

Public Member Functions | Static Public Attributes

org::apache::uima::collection::base_cpm::CasDataInitializer Interface Reference

Inheritance diagram for org::apache::uima::collection::base_cpm::CasDataInitializer:
Inheritance graph
[legend]
Collaboration diagram for org::apache::uima::collection::base_cpm::CasDataInitializer:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void destroy ()
ProcessingResourceMetaData getCasInitializerMetaData ()
Object getConfigParameterValue (String aGroupName, String aParamName)
Object getConfigParameterValue (String aParamName)
Logger getLogger ()
ResourceMetaData getMetaData ()
ResourceManager getResourceManager ()
UimaContext getUimaContext ()
UimaContextAdmin getUimaContextAdmin ()
boolean initialize (ResourceSpecifier aSpecifier, Map< String, Object > aAdditionalParams) throws ResourceInitializationException
CasData initializeCas (Object aObj) throws CollectionException, IOException
void reconfigure () throws ResourceConfigurationException
void setConfigParameterValue (String aGroupName, String aParamName, Object aValue)
void setConfigParameterValue (String aParamName, Object aValue)
void setLogger (Logger aLogger)

Static Public Attributes

static final String PARAM_AGGREGATE_SOFA_MAPPINGS = "AGGREGATE_SOFA_MAPPINGS"
static final String PARAM_CONFIG_PARAM_SETTINGS = "CONFIG_PARAM_SETTINGS"
static final String PARAM_PERFORMANCE_TUNING_SETTINGS = "PERFORMANCE_TUNING_SETTINGS"
static final String PARAM_RESOURCE_MANAGER = "RESOURCE_MANAGER"
static final String PARAM_UIMA_CONTEXT = "UIMA_CONTEXT"

Detailed Description

A component that takes an Object (for text analysis applications, this will often be a String) and creates a 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).

Deprecated:
As of v2.0, CAS Initializers are deprecated. A component that performs an operation like HTML detagging should instead be implemented as a "multi-Sofa" annotator. See org.apache.uima.examples.XmlDetagger for an example.

Definition at line 43 of file CasDataInitializer.java.


The documentation for this interface was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index