if ((state != null) && (state.isEmitting())) {
// get the index and the HMM for this HMMState
int stateIndex = state.getState();
SenoneHMM hmm = (SenoneHMM) state.getHMM();
// Get the senone sequence associated with this HMM
SenoneSequence ss = hmm.getSenoneSequence();
// Get the senone associated with this HMMState, located
// in the stateIndex-th position in the senone sequence
senone = ss.getSenones()[stateIndex];
// After this, we need to go to the senone pool to find
// out the senone id... Or maybe we can operate directly
// on the senone
}
// Now, the probabilities