fmpe-test.cc File Reference
Include dependency graph for fmpe-test.cc:

Go to the source code of this file.

Namespaces

 kaldi
 This code computes Goodness of Pronunciation (GOP) and extracts phone-level pronunciation feature for mispronunciations detection tasks, the reference:
 

Functions

void GetFeatDeriv (const DiagGmm &gmm, const Matrix< BaseFloat > &feats, Matrix< BaseFloat > *deriv)
 
BaseFloat GetGmmLike (const DiagGmm &gmm, const Matrix< BaseFloat > &feats)
 
void TestFmpe ()
 
int main ()
 

Function Documentation

◆ main()

int main ( )

Definition at line 171 of file fmpe-test.cc.

References kaldi::g_kaldi_verbose_level, rnnlm::i, and kaldi::TestFmpe().

171  {
173  for (int i = 0; i <= 10; i++)
174  kaldi::TestFmpe();
175  std::cout << "Test OK.\n";
176 }
void TestFmpe()
Definition: fmpe-test.cc:79
int32 g_kaldi_verbose_level
This is set by util/parse-options.
Definition: kaldi-error.cc:46