|
Public Member Functions |
virtual | ~TextAnalysisEngine () |
virtual CAS * | newCAS () const =0 |
| create a new CAS which can be used to process documents and other data with this AnalysisEngine.
|
virtual bool | isPrimitive () const =0 |
| Returns true if this is not an aggregate engine.
|
virtual AnnotatorContext & | getAnnotatorContext ()=0 |
| Returns the AnnotatorContext for this engine.
|
virtual AnnotatorContext const & | getAnnotatorContext () const =0 |
| Returns the AnnotatorContext for this engine const version.
|
virtual AnalysisEngineMetaData
const & | getAnalysisEngineMetaData () const |
| get an uima::AnalysisEngineMetaData describing all kinds of meta data about this engine, e.g., if it is primitive, which annotators it uses, etc.
|
virtual ResultSpecification
const & | getCompleteResultSpecification () const =0 |
| Returns the result specification that is specified in the configuration file for this engine.
|
virtual TyErrorId | initialize (AnalysisEngineDescription const &)=0 |
virtual bool | isInitialized () const =0 |
virtual TyErrorId | process (CAS &cas)=0 |
| invoke this engine's analysis logic.
|
virtual TyErrorId | process (CAS &cas, ResultSpecification const &resultSpec)=0 |
| invoke this engine's analysis logic where resultSpec constrains what kinds on results are needed by the application.
|
virtual TyErrorId | reconfigure ()=0 |
| trigger a reconfigure call to all annotators of this engine
|
virtual TyErrorId | destroy ()=0 |
| de-initialize the engine.
|
virtual TyErrorId | batchProcessComplete ()=0 |
| Completes the processing of a batch.
|
virtual TyErrorId | collectionProcessComplete ()=0 |
| Completes the processing of a collection.
|
virtual CASIterator | processAndOutputNewCASes (CAS &)=0 |
| Processes a CAS , possibly producing multiple CASes as a result.
|
Static Public Member Functions |
|
TextAnalysisEngine * | createTextAnalysisEngine (AnalysisEngineDescription &, ErrorInfo &errorInfo) |
TextAnalysisEngine * | createTextAnalysisEngine (char const *cpConfigFileName, ErrorInfo &errorInfo) |
TextAnalysisEngine * | createTextAnalysisEngine (UChar const *cpBuffer, size_t uiLength, ErrorInfo &errorInfo) |
TextAnalysisEngine * | createTAE (AnnotatorContext &rANC, bool bOwnsANC, bool bOwnsTAESpecifier, uima::internal::CASDefinition &casDefinition, bool ownsCASDefintion, ErrorInfo &) |
TextAnalysisEngine * | createTAE (bool isFile, icu::UnicodeString const &, ErrorInfo &) |
|
const char * | getErrorIdAsCString (TyErrorId utErrorId) |
| Return a static pointer to a string representation of the specified error id.
|
void | printErrorIdTable (std::ostream &rclOutStream) |
| Prints a table of ERRID = ERRSTRING to rclOutStream .
|
const char * | getVersionInfo (void) |
| Return the engine version information.
|
const char * | getLevelInfo (void) |
| Return the engine level information.
|
Protected Member Functions |
virtual bool | hasNext ()=0 |
| Returns whether this engine will return a new CAS.
|
virtual CAS & | next ()=0 |
| Returns a new CAS distinct from the input CAS.
|
virtual int | getCasInstancesRequired ()=0 |
| Returns the maximum number of CAS instances that this AnalysisComponent expects to use at the same time.
|