edu.cmu.sphinx.linguist.acoustic
Interface HMM

All Known Implementing Classes:
SenoneHMM

public interface HMM

Represents a hidden-markov-model. An HMM consists of a unit (context dependent or independent), a transition matrix from state to state, and a sequence of senones associated with each state. This representation of an HMM is a specialized left-to-right markov model. No backward transitions are allowed.


Method Summary
 Unit getBaseUnit()
          Gets the base unit associated with this HMM
 HMMState getInitialState()
          Gets the initial states (with probabilities) for this HMM
 int getOrder()
          Returns the order of the HMM
 HMMPosition getPosition()
          Retrieves the position of this HMM.
 HMMState getState(int which)
          Retrieves the hmm state
 Unit getUnit()
          Gets the unit associated with this HMM
 

Method Detail

getUnit

public Unit getUnit()
Gets the unit associated with this HMM

Returns:
the unit associated with this HMM

getBaseUnit

public Unit getBaseUnit()
Gets the base unit associated with this HMM

Returns:
the unit associated with this HMM

getState

public HMMState getState(int which)
Retrieves the hmm state

Parameters:
which - the state of interest

getOrder

public int getOrder()
Returns the order of the HMM

Returns:
the order of the HMM

getPosition

public HMMPosition getPosition()
Retrieves the position of this HMM.

Returns:
the position for this HMM

getInitialState

public HMMState getInitialState()
Gets the initial states (with probabilities) for this HMM

Returns:
the set of arcs that transition to the initial states for this HMM