public class TransitionModel
extends java.lang.Object
Constructor and Description |
---|
TransitionModel(KaldiTextParser parser)
Loads transition model using provided parser.
|
Modifier and Type | Method and Description |
---|---|
float[][] |
getTransitionMatrix(int phone,
int[] pdfs)
Returns transition matrix for the given context.
|
public TransitionModel(KaldiTextParser parser)
parser
- parserpublic float[][] getTransitionMatrix(int phone, int[] pdfs)
phone
- central phone in the contextpdfs
- array of pdf identifiers of the context unitsLogMath
domain of transition from state i to state j