kws-functions.h File Reference
#include <vector>
#include "lat/kaldi-lattice.h"
#include "kws/kaldi-kws.h"
Include dependency graph for kws-functions.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Interval
 
class  KwsProductFstToKwsLexicographicFstMapper
 

Namespaces

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

Functions

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)