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

All Superinterfaces:
Configurable
All Known Implementing Classes:
ModelLoader, ModelLoader, ModelLoader, ModelLoader, 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 getMeansPool()
          Gets the pool of means for this loader
 Pool getMeansTransformationMatrixPool()
          Gets the pool of means transformation matrices for this loader
 Pool getMeansTransformationVectorPool()
          Gets the pool of means transformation vectors for this loader
 Pool getMixtureWeightPool()
          Gets the mixture weight pool
 int getRightContextSize()
          Returns the size of the right context for context dependent units
 Pool getSenonePool()
          Gets the senone pool for this loader
 float[][] getTransformMatrix()
          Gets the transformation matrix
 Pool getTransitionMatrixPool()
          Gets the transition matrix pool
 Pool getVariancePool()
          Gets the variance pool
 Pool getVarianceTransformationMatrixPool()
          Gets the variance transformation matrix 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 getMeansPool()
Gets the pool of means for this loader

Returns:
the pool

getMeansTransformationMatrixPool

Pool getMeansTransformationMatrixPool()
Gets the pool of means transformation matrices for this loader

Returns:
the pool

getMeansTransformationVectorPool

Pool getMeansTransformationVectorPool()
Gets the pool of means transformation vectors for this loader

Returns:
the pool

getVariancePool

Pool getVariancePool()
Gets the variance pool

Returns:
the pool

getVarianceTransformationMatrixPool

Pool getVarianceTransformationMatrixPool()
Gets the variance transformation matrix pool

Returns:
the pool

getMixtureWeightPool

Pool getMixtureWeightPool()
Gets the mixture weight pool

Returns:
the pool

getTransitionMatrixPool

Pool getTransitionMatrixPool()
Gets the transition matrix pool

Returns:
the pool

getTransformMatrix

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

Returns:
the matrix

getSenonePool

Pool 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