Class StdToLatticeMapper maps a normal arc (StdArc) to a LatticeArc by putting the StdArc weight as the first element of the LatticeWeight. More...
#include <lattice-utils.h>
Public Member Functions | |
LatticeArc | operator() (const StdArc &arc) |
MapFinalAction | FinalAction () |
MapSymbolsAction | InputSymbolsAction () |
MapSymbolsAction | OutputSymbolsAction () |
uint64 | Properties (uint64 props) |
Private Types | |
typedef LatticeWeightTpl< Real > | LatticeWeight |
typedef ArcTpl< LatticeWeight > | LatticeArc |
Class StdToLatticeMapper maps a normal arc (StdArc) to a LatticeArc by putting the StdArc weight as the first element of the LatticeWeight.
Useful when doing LM rescoring.
Definition at line 196 of file lattice-utils.h.
|
private |
Definition at line 198 of file lattice-utils.h.
|
private |
Definition at line 197 of file lattice-utils.h.
|
inline |
Definition at line 211 of file lattice-utils.h.
|
inline |
Definition at line 213 of file lattice-utils.h.
|
inline |
Definition at line 200 of file lattice-utils.h.
|
inline |
Definition at line 215 of file lattice-utils.h.
|
inline |
Definition at line 218 of file lattice-utils.h.