ivector-extractor.cc File Reference
#include <vector>
#include "ivector/ivector-extractor.h"
#include "util/kaldi-thread.h"
Include dependency graph for ivector-extractor.cc:

Go to the source code of this file.


class  IvectorExtractorComputeDerivedVarsClass
struct  GaussInfo
class  IvectorExtractorUpdateProjectionClass
class  IvectorExtractorUpdateWeightClass


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


static double GetLogDetNoFailure (const SpMatrix< double > &var)
static void ConvertPostToGaussInfo (const std::vector< std::vector< std::pair< int32, BaseFloat > > > &gauss_post, std::unordered_map< int32, GaussInfo > *gauss_info)
double EstimateIvectorsOnline (const Matrix< BaseFloat > &feats, const Posterior &post, const IvectorExtractor &extractor, int32 ivector_period, int32 num_cg_iters, BaseFloat max_count, Matrix< BaseFloat > *ivectors)