model-common.cc File Reference
#include "matrix/matrix-lib.h"
#include "gmm/model-common.h"
#include <queue>
#include <numeric>
Include dependency graph for model-common.cc:

Go to the source code of this file.

Classes

struct  CountStats
 

Namespaces

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

Functions

GmmFlagsType StringToGmmFlags (std::string str)
 Convert string which is some subset of "mSwa" to flags. More...
 
std::string GmmFlagsToString (GmmFlagsType gmm_flags)
 Convert GMM flags to string. More...
 
GmmFlagsType AugmentGmmFlags (GmmFlagsType f)
 Returns "augmented" version of flags: e.g. More...
 
SgmmUpdateFlagsType StringToSgmmUpdateFlags (std::string str)
 
SgmmUpdateFlagsType StringToSgmmWriteFlags (std::string str)
 
void GetSplitTargets (const Vector< BaseFloat > &state_occs, int32 target_components, BaseFloat power, BaseFloat min_count, std::vector< int32 > *targets)
 Get Gaussian-mixture or substate-mixture splitting targets, according to a power rule (e.g. More...