word-align-lattice.cc File Reference
Include dependency graph for word-align-lattice.cc:

Go to the source code of this file.

Classes

class  LatticeWordAligner
 
class  LatticeWordAligner::ComputationState
 
struct  LatticeWordAligner::Tuple
 
struct  LatticeWordAligner::TupleHash
 
struct  LatticeWordAligner::TupleEqual
 
class  WordAlignedLatticeTester
 

Namespaces

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

Functions

static bool IsPlausibleWord (const WordBoundaryInfo &info, const TransitionModel &tmodel, const std::vector< int32 > &transition_ids)
 
bool WordAlignLattice (const CompactLattice &lat, const TransitionModel &tmodel, const WordBoundaryInfo &info, int32 max_states, CompactLattice *lat_out)
 Align lattice so that each arc has the transition-ids on it that correspond to the word that is on that arc. More...
 
void TestWordAlignedLattice (const CompactLattice &lat, const TransitionModel &tmodel, const WordBoundaryInfo &info, const CompactLattice &aligned_lat)
 You should only test a lattice if WordAlignLattice returned true (i.e. More...