#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <complex>
#include <utility>
#include <vector>
#include "base/kaldi-common.h"
#include "util/common-utils.h"
#include "matrix/matrix-lib.h"
Go to the source code of this file.
|
| kaldi |
| This code computes Goodness of Pronunciation (GOP) and extracts phone-level pronunciation feature for mispronunciations detection tasks, the reference:
|
|
|
void | ComputeLifterCoeffs (BaseFloat Q, VectorBase< BaseFloat > *coeffs) |
|
BaseFloat | Durbin (int n, const BaseFloat *pAC, BaseFloat *pLP, BaseFloat *pTmp) |
|
BaseFloat | ComputeLpc (const VectorBase< BaseFloat > &autocorr_in, Vector< BaseFloat > *lpc_out) |
|
void | Lpc2Cepstrum (int n, const BaseFloat *pLPC, BaseFloat *pCepst) |
|
void | GetEqualLoudnessVector (const MelBanks &mel_banks, Vector< BaseFloat > *ans) |
|