online-feat-test.cc File Reference
Include dependency graph for online-feat-test.cc:

Go to the source code of this file.

Classes

class  OnlineMatrixInput
 

Namespaces

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

Functions

template<class Real >
static void AssertEqual (const Matrix< Real > &A, const Matrix< Real > &B, float tol=0.001)
 
void GetOutput (OnlineFeatInputItf *a, Matrix< BaseFloat > *output)
 
void TestOnlineMatrixInput ()
 
void TestOnlineFeatureMatrix ()
 
void TestOnlineLdaInput ()
 
void TestOnlineDeltaInput ()
 
void TestOnlineCmnInput ()
 
int main ()
 

Function Documentation

◆ main()

int main ( )

Definition at line 249 of file online-feat-test.cc.

References rnnlm::i, kaldi::TestOnlineCmnInput(), kaldi::TestOnlineDeltaInput(), kaldi::TestOnlineFeatureMatrix(), kaldi::TestOnlineLdaInput(), and kaldi::TestOnlineMatrixInput().

249  {
250  using namespace kaldi;
251  for (int i = 0; i < 40; i++) {
256  TestOnlineCmnInput(); // also tests cache input.
257  // I have not tested the delta input yet.
258  }
259  std::cout << "Test OK.\n";
260 }
This code computes Goodness of Pronunciation (GOP) and extracts phone-level pronunciation feature for...
Definition: chain.dox:20
void TestOnlineDeltaInput()
void TestOnlineFeatureMatrix()
void TestOnlineCmnInput()
void TestOnlineLdaInput()
void TestOnlineMatrixInput()