MaltParser 1.5

org.maltparser.core.syntaxgraph
Class GraphAnalyzerChartItem

java.lang.Object
  extended by org.maltparser.core.flow.item.ChartItem
      extended by org.maltparser.core.syntaxgraph.GraphAnalyzerChartItem

public class GraphAnalyzerChartItem
extends ChartItem


Field Summary
 
Fields inherited from class org.maltparser.core.flow.item.ChartItem
chartItemSpecification, CONTINUE, flowChartinstance, NEWITERATION, TERMINATE
 
Constructor Summary
GraphAnalyzerChartItem()
           
 
Method Summary
 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
 
Methods inherited from class org.maltparser.core.flow.item.ChartItem
getChartElement, getChartItemSpecification, getFlowChartInstance, getOptionContainerIndex, setChartItemSpecification, setFlowChartInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphAnalyzerChartItem

public GraphAnalyzerChartItem()
Method Detail

initialize

public void initialize(FlowChartInstance flowChartinstance,
                       ChartItemSpecification chartItemSpecification)
                throws MaltChainedException
Description copied from class: ChartItem
Initialize the chart item

Overrides:
initialize in class ChartItem
Parameters:
flowChartinstance - the flow chart instance that the chart item belongs to
chartItemSpecification - a specification of the chart item
Throws:
MaltChainedException

preprocess

public int preprocess(int signal)
               throws MaltChainedException
Description copied from class: ChartItem
Cause the chart item to perform the preprocess tasks

Specified by:
preprocess in class ChartItem
Parameters:
signal - returned by the previous chart item
Returns:
true if every thing is ok, otherwise false
Throws:
MaltChainedException

process

public int process(int signal)
            throws MaltChainedException
Description copied from class: ChartItem
Cause the chart item to perform the process task (for every sentence)

Specified by:
process in class ChartItem
Parameters:
signal - returned by the previous chart item
Returns:
true if it is ready to perform the next sentence, otherwise false
Throws:
MaltChainedException

postprocess

public int postprocess(int signal)
                throws MaltChainedException
Description copied from class: ChartItem
Cause the chart item to perform the postprocess tasks

Specified by:
postprocess in class ChartItem
Parameters:
signal - returned by the previous chart item
Returns:
true if every thing is ok, otherwise false
Throws:
MaltChainedException

terminate

public void terminate()
               throws MaltChainedException
Description copied from class: ChartItem
Terminates and cleans up the chart item

Specified by:
terminate in class ChartItem
Throws:
MaltChainedException

MaltParser 1.5

Copyright 2007-2011 Johan Hall, Jens Nilsson and Joakim Nivre.