edu.cmu.sphinx.linguist.lextree
Class LexTreeLinguist.LexTreeEndWordState

java.lang.Object
  extended by edu.cmu.sphinx.linguist.lextree.LexTreeLinguist.LexTreeWordState
      extended by edu.cmu.sphinx.linguist.lextree.LexTreeLinguist.LexTreeEndWordState
All Implemented Interfaces:
SearchState, SearchStateArc, WordSearchState
Enclosing class:
LexTreeLinguist

public class LexTreeLinguist.LexTreeEndWordState
extends LexTreeLinguist.LexTreeWordState
implements WordSearchState

Represents the final end of utterance word


Method Summary
 float getAcousticProbability()
          Gets the language probability of entering this state
 float getInsertionProbability()
          Gets the insertion probability of entering this state
 java.lang.Object getLexState()
          Returns the lex tree state
 int getOrder()
          Returns the order of this particular state
 float getProbability()
          Gets the composite probability of entering this state
 float getSmearProb()
           
 float getSmearTerm()
           
 SearchState getState()
          Gets a successor to this search state
 WordSequence getWordHistory()
          Returns the word sequence for this state
 boolean isEmitting()
          Determines if this is an emitting state
 java.lang.String toPrettyString()
          Returns a pretty version of the string representation for this object
 java.lang.String toString()
          Returns the string representation of this object
 
Methods inherited from class edu.cmu.sphinx.linguist.lextree.LexTreeLinguist.LexTreeWordState
equals, getLanguageProbability, getPronunciation, getSignature, getSuccessors, hashCode, isFinal, isWordStart
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface edu.cmu.sphinx.linguist.WordSearchState
getPronunciation, isWordStart
 
Methods inherited from interface edu.cmu.sphinx.linguist.SearchState
getLexState, getSignature, getSuccessors, getWordHistory, isEmitting, isFinal, toPrettyString
 

Method Detail

getOrder

public int getOrder()
Description copied from interface: SearchState
Returns the order of this particular state

Specified by:
getOrder in interface SearchState
Overrides:
getOrder in class LexTreeLinguist.LexTreeWordState
Returns:
the state order for this state

getSmearTerm

public float getSmearTerm()

getSmearProb

public float getSmearProb()

getState

public SearchState getState()
Gets a successor to this search state

Specified by:
getState in interface SearchStateArc
Returns:
the sucessor state

getProbability

public float getProbability()
Gets the composite probability of entering this state

Specified by:
getProbability in interface SearchStateArc
Returns:
the log probability

getAcousticProbability

public float getAcousticProbability()
Gets the language probability of entering this state

Specified by:
getAcousticProbability in interface SearchStateArc
Returns:
the log probability

getInsertionProbability

public float getInsertionProbability()
Gets the insertion probability of entering this state

Specified by:
getInsertionProbability in interface SearchStateArc
Returns:
the log probability

isEmitting

public boolean isEmitting()
Determines if this is an emitting state

Specified by:
isEmitting in interface SearchState
Returns:
true if this is an emitting state.

getWordHistory

public WordSequence getWordHistory()
Returns the word sequence for this state

Specified by:
getWordHistory in interface SearchState
Returns:
the word sequence

getLexState

public java.lang.Object getLexState()
Description copied from interface: SearchState
Returns the lex tree state

Specified by:
getLexState in interface SearchState
Returns:
the lex tree state

toString

public java.lang.String toString()
Returns the string representation of this object

Overrides:
toString in class java.lang.Object
Returns:
the string representation

toPrettyString

public java.lang.String toPrettyString()
Returns a pretty version of the string representation for this object

Specified by:
toPrettyString in interface SearchState
Returns:
a pretty string