22 #ifndef KALDI_LAT_PUSH_LATTICE_H_ 23 #define KALDI_LAT_PUSH_LATTICE_H_ 45 template<
class Weight,
class IntType>
47 MutableFst<ArcTpl<CompactLatticeWeightTpl<Weight, IntType> > > *clat);
55 template<
class Weight,
class IntType>
57 MutableFst<ArcTpl<CompactLatticeWeightTpl<Weight, IntType> > > *clat);
61 #endif // KALDI_LAT_PUSH_LATTICE_H_
For an extended explanation of the framework of which grammar-fsts are a part, please see Support for...
bool PushCompactLatticeStrings(MutableFst< ArcTpl< CompactLatticeWeightTpl< Weight, IntType > > > *clat)
This function pushes the transition-ids as far towards the start as they will go. ...
bool PushCompactLatticeWeights(MutableFst< ArcTpl< CompactLatticeWeightTpl< Weight, IntType > > > *clat)
This function pushes the weights in the CompactLattice so that all states except possibly the start s...