public interface Loader extends Configurable
Modifier and Type | Method and Description |
---|---|
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.
|
GaussianWeights |
getMixtureWeights()
Gets the mixture weight pool.
|
java.util.Properties |
getProperties() |
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
|
void |
update(Transform transform,
ClusteredDensityFileData clusters)
Apply the transform
|
newProperties
void load() throws java.io.IOException
java.io.IOException
- if an error occurs while loading the modelPool<float[]> getMeansPool()
Pool<float[][]> getMeansTransformationMatrixPool()
Pool<float[]> getMeansTransformationVectorPool()
Pool<float[]> getVariancePool()
Pool<float[][]> getVarianceTransformationMatrixPool()
Pool<float[]> getVarianceTransformationVectorPool()
GaussianWeights getMixtureWeights()
Pool<float[][]> getTransitionMatrixPool()
float[][] getTransformMatrix()
HMMManager getHMMManager()
java.util.Map<java.lang.String,Unit> getContextIndependentUnits()
void logInfo()
int getLeftContextSize()
int getRightContextSize()
java.util.Properties getProperties()
void update(Transform transform, ClusteredDensityFileData clusters)
transform
- transform to apply to the modelclusters
- transform clusters