#include <vector>
#include "lat/kaldi-lattice.h"
#include "kws/kaldi-kws.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:
|
|
|
bool | CompareInterval (const Interval &i1, const Interval &i2) |
|
bool | ClusterLattice (CompactLattice *clat, const std::vector< int32 > &state_times) |
|
bool | CreateFactorTransducer (const CompactLattice &clat, const std::vector< int32 > &state_times, int32 utterance_id, KwsProductFst *factor_transducer) |
|
void | RemoveLongSilences (int32 max_silence_frames, const std::vector< int32 > &state_times, KwsProductFst *factor_transducer) |
|
void | DoFactorMerging (KwsProductFst *factor_transducer, KwsLexicographicFst *index_transducer) |
|
void | DoFactorDisambiguation (KwsLexicographicFst *index_transducer) |
|
void | OptimizeFactorTransducer (KwsLexicographicFst *index_transducer, int32 max_states, bool allow_partial) |
|
void | MaybeDoSanityCheck (const KwsProductFst &product_transducer) |
|
void | MaybeDoSanityCheck (const KwsLexicographicFst &index_transducer) |
|