21 #ifndef KALDI_GMM_INDIRECT_DIFF_DIAG_GMM_H_ 22 #define KALDI_GMM_INDIRECT_DIFF_DIAG_GMM_H_ 1 46 const AccumAmDiagGmm &num_accs,
47 const AccumAmDiagGmm &den_accs,
48 const AccumAmDiagGmm &ml_accs,
51 AccumAmDiagGmm *out_accs);
65 const AccumAmDiagGmm &new_ml_accs,
74 #endif // KALDI_GMM_INDIRECT_DIFF_DIAG_GMM_H_ This code computes Goodness of Pronunciation (GOP) and extracts phone-level pronunciation feature for...
void GetStatsDerivative(const DiagGmm &gmm, const AccumDiagGmm &num_acc, const AccumDiagGmm &den_acc, const AccumDiagGmm &ml_acc, BaseFloat min_variance, BaseFloat min_gaussian_occupancy, AccumDiagGmm *out_accs)
void DoRescalingUpdate(const AccumDiagGmm &old_ml_acc, const AccumDiagGmm &new_ml_acc, BaseFloat min_variance, BaseFloat min_gaussian_occupancy, DiagGmm *gmm, double *tot_count, double *tot_divergence)