|
Public Types |
typedef std::map< icu::UnicodeString,
AnalysisEngineDescription * > | TyMapDelegateSpecs |
| typedef std::vector< SofaMapping * > | TyVecpSofaMappings |
| enum | EnFrameworkImplName { CPLUSPLUS,
JAVA
} |
Public Member Functions |
| | TextAnalysisEngineSpecifier () |
| 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 | setAnalysisEngineMetaData (AnalysisEngineMetaData *metaData) |
| | NOTE: This object will assume memory ownership of metaData, i.e.
|
| AnalysisEngineMetaData * | getAnalysisEngineMetaData () |
| AnalysisEngineMetaData const * | getAnalysisEngineMetaData () const |
| AnalysisEngineMetaData::EnSearchStrategy | getSearchStrategy () const |
| | return the search strategy that is applied when looking for configuration parameter values
|
| TyErrorId | setPrimitive (bool primitive) |
| bool | isPrimitive () const |
| EnFrameworkImplName | getFrameworkImplName () const |
| const icu::UnicodeString & | getAnnotatorImpName () const |
| | Returns a meaningful value only if isPrimitive() == true.
|
| void | setXmlFileLocation (const icu::UnicodeString xmlLoc) |
| const icu::UnicodeString & | getXmlFileLocation () const |
| void | setXmlRootTag (const icu::UnicodeString xmlTag) |
| const icu::UnicodeString & | getXmlRootTag () const |
| TyErrorId | addDelegate (const icu::UnicodeString &key, AnalysisEngineDescription *taeSpec) |
| | NOTE: This object will assume memory ownership of taeSpec, i.e.
|
| const TyMapDelegateSpecs & | getDelegates () const |
| | Note: This object will still assume memory ownership of the AnalysisEngineDescription that are returned.
|
| const TyVecpSofaMappings & | getSofaMappings () const |
| | BSI Note: This object will still assume memory ownership of the returned SofAMapping objects that are returned.
|
| TyErrorId | setSofaMappings (TyVecpSofaMappings *pSofaMappings) |
| | BSI NOTE: This object will assume memory ownership of pSofaMappings, i.e.
|
| TyErrorId | addSofaMapping (SofaMapping *pSofaMapping) |
| | NOTE: This object will assume memory ownership of SofaMapping, i.e.
|
| AnalysisEngineDescription * | getDelegate (const icu::UnicodeString &key) const |
| | Note: This object will still assume memory ownership of the AnalysisEngineDescription that is returned.
|
| AnalysisEngineDescription * | extractDelegate (const icu::UnicodeString &key) |
| | Note: This object will delete the AnalysisEngineDescription returned from its map of delegate specifiers.
|
| NameValuePair * | getNameValuePair (const icu::UnicodeString ¶mName, const icu::UnicodeString &ancKey="") |
| | returns 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, AnalysisEngineMetaData::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.
|
| void | toXMLBuffer (icu::UnicodeString &) const |
| | converts this specifier to an XML buffer.
|
| void | toXMLBuffer (AnalysisEngineMetaData const &md, bool isCasConsumer, icu::UnicodeString &s) const |
| void | appendConfigParamsAndSettingsToXMLBuffer (UnicodeString &s) const |
| TyErrorId | setFrameworkImplName (EnFrameworkImplName impl) |
| TyErrorId | setAnnotatorImpName (const icu::UnicodeString &anName) |
| bool | isModifiable () const |
Protected Member Functions |
| void | appendToXMLBuffer (AnalysisEngineMetaData::TyVecpFSIndexDescriptions const &fsDesc, icu::UnicodeString &s) |
| void | appendToXMLBuffer (AnalysisEngineMetaData::TyVecpTypePriorities const &prioDesc, icu::UnicodeString &s) |
| void | appendToXMLBuffer (TyVecpSofaMappings const &sofaMapDesc, icu::UnicodeString &s) |
Protected Attributes |
| bool | iv_bIsModifiable |