Package org.apache.uima.analysis_engine
Interface AnalysisProcessData
- All Known Implementing Classes:
AnalysisProcessData_impl
Deprecated.
Do not use anymore.
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
ProcessTrace
object, 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.
- To be removed in version:
- 4.0.0
-
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 theProcessTrace
object, 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 theProcessTrace
object, which is used to record which AnalysisEngine components have executed and information, such as timing, about that execution.- Returns:
- a reference to the
ProcessTrace
object used by the AnalysisEngine
-