public class CopyChartItem extends ChartItem
chartItemSpecification, CONTINUE, flowChartinstance, NEWITERATION, TERMINATE| Constructor and Description |
|---|
CopyChartItem() |
| Modifier and Type | Method and Description |
|---|---|
void |
copyPartialDependencyStructure(DependencyStructure sourceGraph,
DependencyStructure targetGraph) |
void |
copyTerminalStructure(TokenStructure sourceGraph,
TokenStructure targetGraph) |
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
void |
initialize(FlowChartInstance flowChartinstance,
ChartItemSpecification chartItemSpecification)
Initialize the chart item
|
int |
postprocess(int signal)
Cause the chart item to perform the postprocess tasks
|
int |
preprocess(int signal)
Cause the chart item to perform the preprocess tasks
|
int |
process(int signal)
Cause the chart item to perform the process task (for every sentence)
|
void |
terminate()
Terminates and cleans up the chart item
|
java.lang.String |
toString() |
getChartElement, getChartItemSpecification, getFlowChartInstance, getOptionContainerIndex, setChartItemSpecification, setFlowChartInstancepublic CopyChartItem()
public void initialize(FlowChartInstance flowChartinstance, ChartItemSpecification chartItemSpecification) throws MaltChainedException
ChartIteminitialize in class ChartItemflowChartinstance - the flow chart instance that the chart item belongs tochartItemSpecification - a specification of the chart itemMaltChainedExceptionpublic int preprocess(int signal) throws MaltChainedException
ChartItempreprocess in class ChartItemsignal - returned by the previous chart itemMaltChainedExceptionpublic int process(int signal) throws MaltChainedException
ChartItemprocess in class ChartItemsignal - returned by the previous chart itemMaltChainedExceptionpublic int postprocess(int signal) throws MaltChainedException
ChartItempostprocess in class ChartItemsignal - returned by the previous chart itemMaltChainedExceptionpublic void terminate() throws MaltChainedException
ChartItemterminate in class ChartItemMaltChainedExceptionpublic void copyTerminalStructure(TokenStructure sourceGraph, TokenStructure targetGraph) throws MaltChainedException
MaltChainedExceptionpublic void copyPartialDependencyStructure(DependencyStructure sourceGraph, DependencyStructure targetGraph) throws MaltChainedException
MaltChainedExceptionpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright 2007-2017 Johan Hall, Jens Nilsson and Joakim Nivre.