event-map-test.cc File Reference
#include "tree/event-map.h"
#include "util/kaldi-io.h"
#include <map>
Include dependency graph for event-map-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 TestEventMap ()
 
void TestEventTypeIo (bool binary)
 
EventMapRandomEventMap (const std::vector< EventKeyType > &keys)
 
void TestEventMapIo (bool binary)
 
void TestEventMapPrune ()
 
void TestEventMapMapValues ()
 
int main ()
 

Variables

const int32 kMaxVal = 20
 

Function Documentation

◆ main()

int main ( )

Definition at line 318 of file event-map-test.cc.

References rnnlm::i, kaldi::TestEventMap(), kaldi::TestEventMapIo(), kaldi::TestEventMapMapValues(), kaldi::TestEventMapPrune(), and kaldi::TestEventTypeIo().

318  {
319  using namespace kaldi;
320  TestEventTypeIo(false);
321  TestEventTypeIo(true);
322  TestEventMapIo(false);
323  TestEventMapIo(true);
324  for (int32 i = 0; i < 10; i++) {
325  TestEventMap();
328  }
329 }
This code computes Goodness of Pronunciation (GOP) and extracts phone-level pronunciation feature for...
Definition: chain.dox:20
void TestEventMapPrune()
void TestEventTypeIo(bool binary)
kaldi::int32 int32
void TestEventMapIo(bool binary)
void TestEventMap()
void TestEventMapMapValues()