kaldi-lattice.h File Reference
Include dependency graph for kaldi-lattice.h:

Go to the source code of this file.


class  CompactLatticeHolder
class  LatticeHolder


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


typedef fst::LatticeWeightTpl< BaseFloat > LatticeWeight
typedef fst::CompactLatticeWeightTpl< LatticeWeight, int32 > CompactLatticeWeight
typedef fst::CompactLatticeWeightCommonDivisorTpl< LatticeWeight, int32 > CompactLatticeWeightCommonDivisor
typedef fst::ArcTpl< LatticeWeight > LatticeArc
typedef fst::ArcTpl< CompactLatticeWeight > CompactLatticeArc
typedef fst::VectorFst< LatticeArc > Lattice
typedef fst::VectorFst< CompactLatticeArc > CompactLattice
typedef TableWriter< LatticeHolder > LatticeWriter
typedef SequentialTableReader< LatticeHolder > SequentialLatticeReader
typedef RandomAccessTableReader< LatticeHolder > RandomAccessLatticeReader
typedef TableWriter< CompactLatticeHolder > CompactLatticeWriter
typedef SequentialTableReader< CompactLatticeHolder > SequentialCompactLatticeReader
typedef RandomAccessTableReader< CompactLatticeHolder > RandomAccessCompactLatticeReader


bool WriteCompactLattice (std::ostream &os, bool binary, const CompactLattice &t)
bool WriteLattice (std::ostream &os, bool binary, const Lattice &t)
bool ReadCompactLattice (std::istream &is, bool binary, CompactLattice **clat)
bool ReadLattice (std::istream &is, bool binary, Lattice **lat)