public class MixtureComponentSet
extends java.lang.Object
Constructor and Description |
---|
MixtureComponentSet(java.util.ArrayList<PrunableMixtureComponent[]> components,
int topGauNum) |
Modifier and Type | Method and Description |
---|---|
void |
clearStoredScores()
Should be called on each new utterance to scores for old frames
|
protected int |
dimension() |
int |
getGauId(int streamId,
int topGauId) |
int |
getGauNum() |
float |
getGauScore(int streamId,
int topGauId) |
int |
getTopGauId(int streamId,
int topGauId) |
int |
getTopGauNum() |
float |
getTopGauScore(int streamId,
int topGauId) |
void |
setScoreQueueLength(int scoresQueueLen)
How long scores for previous frames should be stored.
|
protected int |
size() |
protected MixtureComponent[] |
toArray() |
void |
updateScores(Data feature) |
void |
updateTopScores(Data feature) |
public MixtureComponentSet(java.util.ArrayList<PrunableMixtureComponent[]> components, int topGauNum)
public void updateTopScores(Data feature)
public void updateScores(Data feature)
public void clearStoredScores()
public void setScoreQueueLength(int scoresQueueLen)
scoresQueueLen
- queue lengthpublic int getTopGauNum()
public int getGauNum()
public float getTopGauScore(int streamId, int topGauId)
public int getTopGauId(int streamId, int topGauId)
public float getGauScore(int streamId, int topGauId)
public int getGauId(int streamId, int topGauId)
protected MixtureComponent[] toArray()
protected int dimension()
protected int size()