|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.umn.cs.nlp.mt.huangchiang2005.Vertex<RuleApplication,Translation>
edu.umn.cs.nlp.mt.chiang2007.ChartCellEntry
public class ChartCellEntry
Represents a symbol that spans a portion of a parse chart.
The k-best extraction technique used in Huang & Chiang (2005) requires that a parse chart be viewed as a hypergraph. In that context, a ChartCellEntry serves as a vertex in a hypergraph.
| Field Summary |
|---|
| Fields inherited from class edu.umn.cs.nlp.mt.huangchiang2005.Vertex |
|---|
derivations, incomingHyperarcs |
| Constructor Summary | |
|---|---|
ChartCellEntry(String symbol,
int b,
double beta)
Chart cell with pruning parameters |
|
| Method Summary | |
|---|---|
String |
getElidedTargetLanguagePhrase()
Gets the possibly elided target language phrase which corresponds to this cell entry. |
LoglinearTranslationFeatures |
getFeatures()
Gets the loglinear feature values for this ChartCellEntry. |
double |
getRawScore()
Gets the score of this chart cell entry. |
double |
getScore()
Gets the score of this chart cell entry for use in pruning. |
String |
getSymbol()
Gets the symbol stored in this ChartCellEntry. |
String |
toString()
Returns a String object representing this ChartCellEntry. |
| Methods inherited from class edu.umn.cs.nlp.mt.huangchiang2005.Vertex |
|---|
add, backwardStar, getBestDerivations, getDerivation, getDerivations, inDegree, merge, merge |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ChartCellEntry(String symbol,
int b,
double beta)
symbol - b - beta - | Method Detail |
|---|
public String getSymbol()
public String toString()
toString in class Objectpublic double getScore()
getScore in interface Scorablepublic double getRawScore()
public LoglinearTranslationFeatures getFeatures()
public String getElidedTargetLanguagePhrase()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||