edu.cmu.sphinx.linguist.acoustic.tiedstate
Interface Loader

All Superinterfaces:
Configurable
All Known Implementing Classes:
HTKLoader, Sphinx3Loader

public interface Loader
extends Configurable

Generic interface for a loader of acoustic models


Method Summary
 java.util.Map<java.lang.String,Unit> getContextIndependentUnits()
          Returns the map of context indepent units.
 HMMManager getHMMManager()
          Returns the HMM Manager for this loader.
 int getLeftContextSize()
          Returns the size of the left context for context dependent units.
 Pool<float[]> getMeansPool()
          Gets the pool of means for this loader.
 Pool<float[][]> getMeansTransformationMatrixPool()
          Gets the means transformation matrix pool.
 Pool<float[]> getMeansTransformationVectorPool()
          Gets the means transformation vectors pool.
 Pool<float[]> getMixtureWeightPool()
          Gets the mixture weight pool.
 int getRightContextSize()
          Returns the size of the right context for context dependent units.
 Pool<Senone> getSenonePool()
          Gets the senone pool for this loader.
 float[][] getTransformMatrix()
          Gets the transformation matrix.
 Pool<float[][]> getTransitionMatrixPool()
          Gets the transition matrix pool.
 Pool<float[]> getVariancePool()
          Gets the variance pool.
 Pool<float[][]> getVarianceTransformationMatrixPool()
          Gets the variance transformation matrix pool.
 Pool<float[]> getVarianceTransformationVectorPool()
          Gets the variance transformation vectors pool.
 void load()
          Loads the acoustic model.
 void logInfo()
          logs information about this loader
 
Methods inherited from interface edu.cmu.sphinx.util.props.Configurable
newProperties
 

Method Detail

load

void load()
          throws java.io.IOException
Loads the acoustic model.

Throws:
java.io.IOException - if an error occurs while loading the model

getMeansPool

Pool<float[]> getMeansPool()
Gets the pool of means for this loader.

Returns:
the pool

getMeansTransformationMatrixPool

Pool<float[][]> getMeansTransformationMatrixPool()
Gets the means transformation matrix pool.

Returns:
the pool

getMeansTransformationVectorPool

Pool<float[]> getMeansTransformationVectorPool()
Gets the means transformation vectors pool.

Returns:
the pool

getVariancePool

Pool<float[]> getVariancePool()
Gets the variance pool.

Returns:
the pool

getVarianceTransformationMatrixPool

Pool<float[][]> getVarianceTransformationMatrixPool()
Gets the variance transformation matrix pool.

Returns:
the pool

getVarianceTransformationVectorPool

Pool<float[]> getVarianceTransformationVectorPool()
Gets the variance transformation vectors pool.

Returns:
the pool

getMixtureWeightPool

Pool<float[]> getMixtureWeightPool()
Gets the mixture weight pool.

Returns:
the pool

getTransitionMatrixPool

Pool<float[][]> getTransitionMatrixPool()
Gets the transition matrix pool.

Returns:
the pool

getTransformMatrix

float[][] getTransformMatrix()
Gets the transformation matrix.

Returns:
the matrix

getSenonePool

Pool<Senone> getSenonePool()
Gets the senone pool for this loader.

Returns:
the pool

getHMMManager

HMMManager getHMMManager()
Returns the HMM Manager for this loader.

Returns:
the HMM Manager

getContextIndependentUnits

java.util.Map<java.lang.String,Unit> getContextIndependentUnits()
Returns the map of context indepent units. The map can be accessed by unit name.

Returns:
the map of context independent units

logInfo

void logInfo()
logs information about this loader


getLeftContextSize

int getLeftContextSize()
Returns the size of the left context for context dependent units.

Returns:
the left context size

getRightContextSize

int getRightContextSize()
Returns the size of the right context for context dependent units.

Returns:
the left context size