File Reference
Include dependency graph for

Go to the source code of this file.


class  LatticePhoneAligner
class  LatticePhoneAligner::ComputationState
struct  LatticePhoneAligner::Tuple
struct  LatticePhoneAligner::TupleHash
struct  LatticePhoneAligner::TupleEqual


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


bool PhoneAlignLattice (const CompactLattice &lat, const TransitionModel &tmodel, const PhoneAlignLatticeOptions &opts, CompactLattice *lat_out)
 Outputs a lattice in which the arcs correspond exactly to sequences of phones, so the boundaries between the arcs correspond to the boundaries between phones If remove-epsilon == false and replace-output-symbols == false, but an arc may have >1 phone on it, but the boundaries will still correspond with the boundaries between phones. More...