edu.cmu.sphinx.linguist.acoustic
Interface HMMState

All Known Implementing Classes:
SenoneHMMState

public interface HMMState

Represents a single state in an HMM


Method Summary
 HMM getHMM()
          Gets the HMM associated with this state
 float getScore(Data data)
          Gets the score for this HMM state
 int getState()
          Gets the state
 HMMStateArc[] getSuccessors()
          Retrieves the state of successor states for this state
 boolean isEmitting()
          Determines if this HMMState is an emittting state
 boolean isExitState()
          Determines if this state is an exit state of the HMM
 

Method Detail

getHMM

public HMM getHMM()
Gets the HMM associated with this state

Returns:
the HMM

getState

public int getState()
Gets the state

Returns:
the state

getScore

public float getScore(Data data)
Gets the score for this HMM state

Parameters:
data - the data to be scored
Returns:
the acoustic score for this state.

isEmitting

public boolean isEmitting()
Determines if this HMMState is an emittting state

Returns:
true if the state is an emitting state

getSuccessors

public HMMStateArc[] getSuccessors()
Retrieves the state of successor states for this state

Returns:
the set of successor state arcs

isExitState

public boolean isExitState()
Determines if this state is an exit state of the HMM

Returns:
true if the state is an exit state