|
Public Types |
typedef std::vector< Capability * > | TyVecpCapabilities |
typedef std::vector< FSIndexDescription * > | TyVecpFSIndexDescriptions |
typedef std::vector< TypePriority * > | TyVecpTypePriorities |
typedef std::vector< ImportDescription * > | TyVecpFSIndexImportDescriptions |
typedef std::vector< ImportDescription * > | TyVecpTypePriorityImportDescriptions |
typedef std::map< icu::UnicodeString,
ConfigurationGroup > | TyConfigGroup |
typedef std::map< icu::UnicodeString,
SettingsForGroup > | TyConfigSettings |
enum | EnSearchStrategy { NONE,
DEFAULT_FALLBACK,
LANGUAGE_FALLBACK
} |
Public Member Functions |
| AnalysisEngineMetaData () |
| ~AnalysisEngineMetaData () |
void | validate () |
void | commit () |
| When this method is called on a MetaDataObject# that must not be reconfigured after the engine is created, isModifiable()# will return false and all subsequent calls to setter methods will return #UIMA_ERR_CONFIG_OBJECT_COMMITED#.
|
TyErrorId | setFlowConstraints (FlowConstraints *flow) |
| NOTE: This object will assume memory ownership of flowConstraint , i.e.
|
FlowConstraints * | getFlowConstraints () |
FlowConstraints const * | getFlowConstraints () const |
FlowConstraints::EnFlowType
const & | getFlowConstraintsType () |
TyErrorId | setName (const icu::UnicodeString &name) |
const icu::UnicodeString & | getName () const |
TyErrorId | setDescription (const icu::UnicodeString &desc) |
const icu::UnicodeString & | getDescription () const |
TyErrorId | setVersion (const icu::UnicodeString &version) |
const icu::UnicodeString & | getVersion () const |
TyErrorId | setVendor (const icu::UnicodeString &vendor) |
const icu::UnicodeString & | getVendor () const |
TyErrorId | setDefaultGroupName (const icu::UnicodeString &groupName) |
| Side effect: creates a configuration group groupName , if it doesn't exist already.
|
bool | hasDefaultGroup () const |
bool | hasGroups () const |
TyErrorId | setSearchStrategy (EnSearchStrategy strategy) |
EnSearchStrategy | getSearchStrategy () const |
TyErrorId | setTypeSystemDescription (TypeSystemDescription *desc) |
| NOTE: This object will assume memory ownership of desc , i.e.
|
TypeSystemDescription * | getTypeSystemDescription () |
TypeSystemDescription const * | getTypeSystemDescription () const |
TyErrorId | addTypePriority (TypePriority *prio) |
| NOTE: This object will assume memory ownership of prio , i.e.
|
const TyVecpTypePriorities & | getTypePriorities () const |
const icu::UnicodeString & | getGroupNameWhenNotSpec () const |
NameValuePair * | getNameValuePair (const icu::UnicodeString ¶mName, const icu::UnicodeString &ancKey="") |
| return a reference to the NameValuePair whose name is paramName iff a) there are no configuration groups defined or there is a default group defined.
|
NameValuePair * | getNameValuePair (const icu::UnicodeString &groupName, const icu::UnicodeString ¶mName, EnSearchStrategy strategy, const icu::UnicodeString &ancKey="") |
| returns a reference to the NameValuePair whose name is paramName iff a) there are configuration groups defined b) a NameValuePair with the name exists in the configuration settings of the 'appropriate' group.
|
TyErrorId | setNameValuePair (const NameValuePair &nvPair) |
| TyErrorId == UIMA_ERR_NONE iff a) there are groups: the name of nvPair is a configuration parameter defined in the common parameters or in the default group b) there are no groups: the name of nvPair is a configuration parameter If above conditions hold true, nvPair will be added to a) the settings of the default group b) the configuration settings.
|
TyErrorId | setNameValuePair (const icu::UnicodeString &groupName, const NameValuePair &nvPair) |
| TyErrorId == UIMA_ERR_NONE iff a) there is a group groupName in the configuration parameters b) the name of nvPair is a configuration parameter defined in groupName.
|
bool | isParameterDefined (const icu::UnicodeString ¶mName, const icu::UnicodeString &ancKey) const |
| Returns true iff the parameter paramName is defined.
|
bool | isParameterDefined (const icu::UnicodeString &groupName, const icu::UnicodeString ¶mName, const icu::UnicodeString &ancKey) const |
| returns TRUE iff paramName is either defined for group groupName or in the commonParameter section
|
TyErrorId | setFixedFlow (FixedFlow *flow) |
| NOTE: This object will assume memory ownership of flow , i.e.
|
FixedFlow * | getFixedFlow () |
FixedFlow const * | getFixedFlow () const |
TyErrorId | addCapability (Capability *capability) |
| NOTE: This object will assume memory ownership of capability , i.e.
|
const TyVecpCapabilities & | getCapabilites () const |
void | setOperationalProperties (OperationalProperties *prop) |
const OperationalProperties * | getOperationalProperties () const |
TyErrorId | addFSIndexDescription (FSIndexDescription *indexDesc) |
| NOTE: This object will assume memory ownership of indexDesc , i.e.
|
const TyVecpFSIndexDescriptions & | getFSIndexDescriptions () const |
TyErrorId | addFSIndexImportDescription (ImportDescription *importDesc, bool &takesMemoryOwnership) |
| NOTE: This object will assume memory ownership of importDescription , i.e.
|
const TyVecpFSIndexImportDescriptions & | getFSIndexImportDescriptions () const |
TyErrorId | addTypePriorityImportDescription (ImportDescription *importDesc, bool &takesMemoryOwnership) |
| NOTE: This object will assume memory ownership of importDescription , i.e.
|
const TyVecpTypePriorityImportDescriptions & | getTypePriorityDescriptions () const |
const std::vector< icu::UnicodeString > | getGroupNamesForParameter (const icu::UnicodeString ¶mName) const |
bool | isModifiable () const |
Protected Attributes |
bool | iv_bIsModifiable |