edu.umn.cs.nlp.parser
Class CNFChartCell

java.lang.Object
  extended by edu.umn.cs.nlp.parser.CNFChartCell

public class CNFChartCell
extends Object

Represents a chart cell in a standard CKY parse chart, where rules are required to be in Chomsky Normal Form.

Version:
$LastChangedDate: 2007-07-16 11:23:58 -0500 (Mon, 16 Jul 2007) $
Author:
Lane Schwartz

Constructor Summary
CNFChartCell(double logProb, int i, int k, int j, String leftChild, String rightChild)
           
CNFChartCell(double logProb, int i, int j, String onlyChild)
           
CNFChartCell(int i, int k, int j, String leftChild, String rightChild)
           
CNFChartCell(int i, int j, String onlyChild)
           
 
Method Summary
 String getLeftChild()
           
 double getLogProb()
           
 String getOnlyChild()
           
 String getRightChild()
           
 int getSpansFrom()
           
 int getSpansTo()
           
 int getSplitsAt()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CNFChartCell

public CNFChartCell(int i,
                    int k,
                    int j,
                    String leftChild,
                    String rightChild)

CNFChartCell

public CNFChartCell(double logProb,
                    int i,
                    int k,
                    int j,
                    String leftChild,
                    String rightChild)

CNFChartCell

public CNFChartCell(int i,
                    int j,
                    String onlyChild)

CNFChartCell

public CNFChartCell(double logProb,
                    int i,
                    int j,
                    String onlyChild)
Method Detail

getOnlyChild

public String getOnlyChild()

getLeftChild

public String getLeftChild()

getRightChild

public String getRightChild()

getLogProb

public double getLogProb()

getSpansFrom

public int getSpansFrom()
Returns:
the spansFrom

getSpansTo

public int getSpansTo()
Returns:
the spansTo

getSplitsAt

public int getSplitsAt()
Returns:
the splitsAt