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

All Superinterfaces:
Configurable

public interface Saver
extends Configurable

Generic interface for a saver of acoustic models


Field Summary
static java.lang.String PROP_MC_FLOOR
          Mixture component score floor.
static java.lang.String PROP_MW_FLOOR
          Mixture weight floor.
static java.lang.String PROP_SPARSE_FORM
           
static java.lang.String PROP_VARIANCE_FLOOR
           
 
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 pool of means transformation matrices for this loader.
 Pool<float[]> getMeansTransformationVectorPool()
          Gets the pool of means transformation vectors for this loader.
 int getRightContextSize()
          Returns the size of the right context for context dependent units.
 Pool<Senone> getSenonePool()
          Gets the senone pool for this loader.
 Pool<float[]> getVariancePool()
          Gets the variance pool.
 Pool<float[][]> getVarianceTransformationMatrixPool()
          Gets the variance transformation matrix pool.
 Pool<float[]> getVarianceTransformationVectorPool()
          Gets the variance transformation vectorpool.
 void logInfo()
          logs information about this loader
 void save(java.lang.String name, boolean b)
           
 
Methods inherited from interface edu.cmu.sphinx.util.props.Configurable
newProperties
 

Field Detail

PROP_VARIANCE_FLOOR

@S4Double(defaultValue=9.999999747378752E-5)
static final java.lang.String PROP_VARIANCE_FLOOR
See Also:
Constant Field Values

PROP_MC_FLOOR

@S4Double(defaultValue=0.0)
static final java.lang.String PROP_MC_FLOOR
Mixture component score floor.

See Also:
Constant Field Values

PROP_MW_FLOOR

@S4Double(defaultValue=1.0000000116860974E-7)
static final java.lang.String PROP_MW_FLOOR
Mixture weight floor.

See Also:
Constant Field Values

PROP_SPARSE_FORM

@S4Boolean(defaultValue=true)
static final java.lang.String PROP_SPARSE_FORM
See Also:
Constant Field Values
Method Detail

getMeansPool

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

Returns:
the pool

getMeansTransformationMatrixPool

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

Returns:
the pool

getMeansTransformationVectorPool

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

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 vectorpool.

Returns:
the pool

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

save

void save(java.lang.String name,
          boolean b)
          throws java.io.IOException
Throws:
java.io.IOException