ComposeLatticePrunedOptions Struct Reference

#include <compose-lattice-pruned.h>

Collaboration diagram for ComposeLatticePrunedOptions:

Public Member Functions

 ComposeLatticePrunedOptions ()
 
void Register (OptionsItf *po)
 

Public Attributes

float lattice_compose_beam
 
int32 max_arcs
 
int32 initial_num_arcs
 
BaseFloat growth_ratio
 

Detailed Description

Definition at line 94 of file compose-lattice-pruned.h.

Constructor & Destructor Documentation

◆ ComposeLatticePrunedOptions()

Member Function Documentation

◆ Register()

void Register ( OptionsItf po)
inline

Definition at line 128 of file compose-lattice-pruned.h.

References kaldi::ComposeCompactLatticePruned(), and OptionsItf::Register().

Referenced by main().

128  {
129  po->Register("lattice-compose-beam", &lattice_compose_beam,
130  "Beam used in pruned lattice composition, which determines how "
131  "large the composed lattice may be.");
132  po->Register("max-arcs", &max_arcs, "Maximum number of arcs we allow in "
133  "any given lattice, during pruned composition (limits max size "
134  "of lattices; also see lattice-compose-beam).");
135  po->Register("growth-ratio", &growth_ratio, "Factor used in the lattice "
136  "composition algorithm; must be >1.0. Affects speed vs. "
137  "the optimality of the best-first composition.");
138  }

Member Data Documentation

◆ growth_ratio

BaseFloat growth_ratio

◆ initial_num_arcs

int32 initial_num_arcs

◆ lattice_compose_beam

float lattice_compose_beam

◆ max_arcs


The documentation for this struct was generated from the following file: