Package org.apache.uima.analysis_engine
Interface AnalysisProcessData
- All Known Implementing Classes:
AnalysisProcessData_impl
Deprecated.
Encapsulates all data that is modified by an
AnalysisEngine's
AnalysisEngine.process(AnalysisProcessData,ResultSpecification) method. This currently
includes:
- The
Common Analysis System(CAS), from which the AnalysisEngine obtains the information to be processed, and to which the AnalysisEngine writes new annotation information. - The
ProcessTraceobject, which is used to record which AnalysisEngine components have executed and information, such as timing, about that execution.
In a tightly-coupled system, a single AnalysisProcessData object is shared by
multiple AnalysisEngines.
In a loosely-coupled system, the AnalysisProcessData object is transmitted between
remote AnalysisEngine services.
-
Method Summary
Modifier and TypeMethodDescriptiongetCAS()Deprecated.Gets the Common Analysis System (CAS), from which the AnalysisEngine obtains the information to be processed, and to which the AnalysisEngine writes new annotation information.Deprecated.Gets theProcessTraceobject, which is used to record which AnalysisEngine components have executed and information, such as timing, about that execution.
-
Method Details
-
getCAS
CAS getCAS()Deprecated.Gets the Common Analysis System (CAS), from which the AnalysisEngine obtains the information to be processed, and to which the AnalysisEngine writes new annotation information.- Returns:
- a reference to the CAS used by the AnalysisEngine
-
getProcessTrace
ProcessTrace getProcessTrace()Deprecated.Gets theProcessTraceobject, which is used to record which AnalysisEngine components have executed and information, such as timing, about that execution.- Returns:
- a reference to the
ProcessTraceobject used by the AnalysisEngine
-