|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.cmu.sphinx.result.Edge
Edges are part of Lattices. They connect Nodes, and contain the score associated with that sequence.
Method Summary | |
double |
getAcousticScore()
Get the acoustic score associated with an Edge |
Node |
getFromNode()
Get the "from" Node associated with an Edge |
double |
getLMScore()
Get the language model score associated with an Edge |
Node |
getToNode()
Get the "to" Node associated with an Edge |
boolean |
isEquivalent(Edge other)
Returns true if the given edge is equivalent to this edge. |
void |
setAcousticScore(double v)
Sets the acoustic score |
void |
setLMScore(double v)
Sets the language model score |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
public java.lang.String toString()
public double getAcousticScore()
public double getLMScore()
public Node getFromNode()
public Node getToNode()
public void setAcousticScore(double v)
v
- the acoustic score.public void setLMScore(double v)
v
- the lm score.public boolean isEquivalent(Edge other)
other
- the Edge to compare this Edge against
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |