public class CapabilityLanguageFlowObject extends CasFlow_ImplBase implements Cloneable
CapabilityLanguageAnalysisSequence
is used for a
CapabilityLanguageFlow
. The sequence contains all analysis engines included in
the CapabilityLanguageFlow
.
Within this sequence skipping of analysis engines is possible if the document language of the
current document does not match to the analysis engine capabilities or the output capabilities
are already done by another analysis engine.Constructor and Description |
---|
CapabilityLanguageFlowObject(Map<String,List<AnalysisSequenceCapabilityNode>> aFlowTable,
CapabilityLanguageFlowController aParentController)
Create a new CapabilityLangaugeAnalysisSequence with the flowTable
|
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Returns a clone of this
AnalysisSequence . |
Step |
next()
Gets the next destination for the CAS.
|
protected void |
recompileFlowTable()
recompiles all result specs in the flow table with the current type system
Actual recompiling is done later when first needed; what happens now is that
the type system is set into the result spec, which the compile will need.
|
void |
resetIndex()
reset index of the sequence to 0
|
aborted, continueOnFailure, getCas, newCasProduced, newCasProduced, setCas
public CapabilityLanguageFlowObject(Map<String,List<AnalysisSequenceCapabilityNode>> aFlowTable, CapabilityLanguageFlowController aParentController)
aFlowTable
- a flow tableaParentController
- -public Step next()
Flow
Step
object. There may be
different kinds of Step objects to indicate different kinds of routing actions.public Object clone()
AnalysisSequence
.public void resetIndex()
protected void recompileFlowTable()
Copyright © 2006–2021 The Apache Software Foundation. All rights reserved.