org.maltparser.core.syntaxgraph
Class SyntaxGraphChartItem
java.lang.Object
   org.maltparser.core.flow.item.ChartItem
org.maltparser.core.flow.item.ChartItem
       org.maltparser.core.syntaxgraph.SyntaxGraphChartItem
org.maltparser.core.syntaxgraph.SyntaxGraphChartItem
- public class SyntaxGraphChartItem 
- extends ChartItem
- Author:
- Johan Hall
 
 
 
 
 
 
SyntaxGraphChartItem
public SyntaxGraphChartItem()
initialize
public void initialize(FlowChartInstance flowChartinstance,
                       ChartItemSpecification chartItemSpecification)
                throws MaltChainedException
- Description copied from class: ChartItem
- Initialize the chart item
 
- 
- Overrides:
- initializein 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:
- preprocessin 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:
- processin 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:
- postprocessin 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:
- terminatein class- ChartItem
 
- 
- Throws:
- MaltChainedException
 
equals
public boolean equals(Object obj)
- 
- Overrides:
- equalsin class- Object
 
- 
 
hashCode
public int hashCode()
- 
- Overrides:
- hashCodein class- Object
 
- 
 
toString
public String toString()
- 
- Overrides:
- toStringin class- Object
 
- 
 
Copyright 2007-2010 Johan Hall, Jens Nilsson and Joakim Nivre.