public class LazyHmmManager extends HMMManager
HMMManager extension to load HMMs from Kaldi model.
Initially empty this class creates HMMs on request.| Constructor and Description |
|---|
LazyHmmManager(KaldiTextParser parser,
TransitionModel transitionModel,
Pool<Senone> senonePool,
java.util.Map<java.lang.String,java.lang.Integer> symbolTable) |
| Modifier and Type | Method and Description |
|---|---|
HMM |
get(HMMPosition position,
Unit unit)
Retrieves an HMM by position and unit
|
iterator, logInfo, putpublic LazyHmmManager(KaldiTextParser parser, TransitionModel transitionModel, Pool<Senone> senonePool, java.util.Map<java.lang.String,java.lang.Integer> symbolTable)
public HMM get(HMMPosition position, Unit unit)
HMMManagerget in class HMMManagerposition - the position of the HMMunit - the unit that this HMM represents