edu.umn.cs.nlp.mt.chiang2007
Class ChartCell
java.lang.Object
edu.umn.cs.nlp.mt.chiang2007.ChartCell
- All Implemented Interfaces:
- Iterable<ChartCellEntry>
public class ChartCell
- extends Object
- implements Iterable<ChartCellEntry>
- Version:
- $LastChangedDate: 2007-11-09 10:04:34 -0600 (Fri, 09 Nov 2007) $
- Author:
- Lane Schwartz
Constructor Summary |
ChartCell(int spansFrom,
int spansTo)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChartCell
public ChartCell(int spansFrom,
int spansTo)
getSpansFrom
public int getSpansFrom()
getSpansTo
public int getSpansTo()
addTerminal
public void addTerminal(String terminal)
add
public RuleApplication add(TranslationRule rule,
LanguageModel languageModel,
ChartCellEntry... children)
getTerminalCellEntry
public ChartCellEntry getTerminalCellEntry()
getXCellEntry
public ChartCellEntry getXCellEntry()
getSCellEntry
public ChartCellEntry getSCellEntry()
hasSCellEntry
public boolean hasSCellEntry()
isEmpty
public boolean isEmpty()
iterator
public Iterator<ChartCellEntry> iterator()
- Specified by:
iterator
in interface Iterable<ChartCellEntry>