22 #ifndef KALDI_ITF_DECODABLE_ITF_H_    23 #define KALDI_ITF_DECODABLE_ITF_H_ 1   108     KALDI_ERR << 
"NumFramesReady() not implemented for this decodable type.";
   122 #endif  // KALDI_ITF_DECODABLE_ITF_H_ This code computes Goodness of Pronunciation (GOP) and extracts phone-level pronunciation feature for...
 
virtual int32 NumFramesReady() const
The call NumFramesReady() will return the number of frames currently available for this decodable obj...
 
DecodableInterface provides a link between the (acoustic-modeling and feature-processing) code and th...
 
virtual bool IsLastFrame(int32 frame) const =0
Returns true if this is the last frame. 
 
virtual ~DecodableInterface()
 
virtual int32 NumIndices() const =0
Returns the number of states in the acoustic model (they will be indexed one-based, i.e. 
 
virtual BaseFloat LogLikelihood(int32 frame, int32 index)=0
Returns the log likelihood, which will be negated in the decoder.