public class DiagGmm extends ScoreCachingSenone
class in Kaldi.,
Serialized Form| Constructor and Description |
|---|
DiagGmm(int id,
KaldiTextParser parser)
Constructs new mixture model.
|
| Modifier and Type | Method and Description |
|---|---|
float[] |
calculateComponentScore(Data data)
Calculates the component scores for the mixture components in this senone based upon the given feature.
|
float |
calculateScore(Data data)
Calculates the score for this senone based upon the given feature.
|
void |
dump(java.lang.String msg)
Dumps a senone
|
int |
getId()
Convenient method if 32-bit ID is required.
|
long |
getID()
Gets the ID for this senone
|
float[] |
getLogMixtureWeights() |
MixtureComponent[] |
getMixtureComponents()
Returns the mixture components associated with this Gaussian
|
getScorepublic DiagGmm(int id,
KaldiTextParser parser)
id - identifier of this GMM as defined in the modelparser - text format parserpublic int getId()
public float calculateScore(Data data)
ScoreCachingSenonecalculateScore in class ScoreCachingSenonedata - the feature vector to score this senone againstpublic float[] calculateComponentScore(Data data)
Senonedata - the feature vector to score this senone againstpublic long getID()
Senonepublic void dump(java.lang.String msg)
Senonemsg - an annotation for the dumppublic MixtureComponent[] getMixtureComponents()
Senonepublic float[] getLogMixtureWeights()