diag-gmm-test.cc File Reference
#include "gmm/diag-gmm.h"
#include "gmm/mle-diag-gmm.h"
#include "util/kaldi-io.h"
Include dependency graph for diag-gmm-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 InitRandomGmm (DiagGmm *gmm_in)
 
void UnitTestDiagGmmGenerate ()
 
void UnitTestDiagGmm ()
 
int main ()
 

Function Documentation

◆ main()

int main ( )

Definition at line 301 of file diag-gmm-test.cc.

References rnnlm::i, kaldi::UnitTestDiagGmm(), and kaldi::UnitTestDiagGmmGenerate().

301  {
302  // repeat the test ten times
303  for (int i = 0; i < 2; i++) {
306  }
307  std::cout << "Test OK.\n";
308 }
void UnitTestDiagGmmGenerate()
void UnitTestDiagGmm()