This version of the process
method takes a {@link ResultSpecification} as anargument. The ResultSpecification
is alist of output types and features that the application wants this AnalysisEngine to produce. If you are going to use the same {@link ResultSpecification} for multiple calls to process
, it is notrecommended to use this method. Instead call {@link #setResultSpecification(ResultSpecification)} once and then call {@link #process(CAS)}for each CAS that you want to process.
@param aCAS the CAS containing the inputs to the processing. Analysis results will also be written to this CAS.
@param aResultSpec a list of outputs that this AnalysisEngine should produce.
@return an object containing information about which AnalysisEngine components have executedand information, such as timing, about that execution.
@throws ResultNotSupportedException if this AnalysisEngine is not capable of producing the results requested in aResultSpec
.
@throws AnalysisEngineProcessException if a failure occurs during processing.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|