public class HMMSet
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.util.List<GMMDiag> |
gmms
contains GMMDiag instances
|
java.util.List<SingleHMM> |
hmms
contains HMM instances
|
java.util.List<HMMState> |
states
contains HMMState instances
|
java.util.List<float[][]> |
transitions |
java.util.Map<java.lang.String,java.lang.Integer> |
transNames |
Constructor and Description |
---|
HMMSet() |
Modifier and Type | Method and Description |
---|---|
GMMDiag |
findState(Lab l) |
java.util.Iterator<SingleHMM> |
get1phIt() |
java.util.Iterator<SingleHMM> |
get3phIt() |
SingleHMM |
getHMM(int idx) |
SingleHMM |
getHMM(java.lang.String nom) |
int |
getHMMidx(SingleHMM hmm) |
int |
getHMMIndex(SingleHMM h) |
java.lang.String[] |
getHMMnames() |
int |
getNhmms() |
int |
getNhmmsMono() |
int |
getNhmmsTri() |
int |
getNstates() |
int |
getStateIdx(HMMState st) |
int |
getStateIdx(int hmmidx,
int stateidx) |
void |
loadHTK(java.lang.String nomFich) |
void |
loadTiedList(java.lang.String nomFich) |
public final java.util.List<HMMState> states
public final java.util.List<float[][]> transitions
public final java.util.Map<java.lang.String,java.lang.Integer> transNames
public final java.util.List<GMMDiag> gmms
public final java.util.List<SingleHMM> hmms
public java.util.Iterator<SingleHMM> get1phIt()
public java.util.Iterator<SingleHMM> get3phIt()
public int getStateIdx(HMMState st)
public int getHMMidx(SingleHMM hmm)
public int getNstates()
public java.lang.String[] getHMMnames()
public int getNhmms()
public int getNhmmsMono()
public int getNhmmsTri()
public int getHMMIndex(SingleHMM h)
public int getStateIdx(int hmmidx, int stateidx)
hmmidx
- index of the HMM (begins at 0)stateidx
- index of the state WITHIN the HMM ! (begins at 1, as in MMF)public SingleHMM getHMM(int idx)
public SingleHMM getHMM(java.lang.String nom)
public void loadHTK(java.lang.String nomFich)
public void loadTiedList(java.lang.String nomFich)