DeterminizeLatticePrunedOptions Struct Reference

#include <determinize-lattice-pruned.h>

Collaboration diagram for DeterminizeLatticePrunedOptions:

Public Member Functions

 DeterminizeLatticePrunedOptions ()
 
void Register (kaldi::OptionsItf *opts)
 

Public Attributes

float delta
 
int max_mem
 
int max_loop
 
int max_states
 
int max_arcs
 
float retry_cutoff
 

Detailed Description

Definition at line 112 of file determinize-lattice-pruned.h.

Constructor & Destructor Documentation

◆ DeterminizeLatticePrunedOptions()

Member Function Documentation

◆ Register()

void Register ( kaldi::OptionsItf opts)
inline

Definition at line 127 of file determinize-lattice-pruned.h.

References OptionsItf::Register().

Referenced by main().

127  {
128  opts->Register("delta", &delta, "Tolerance used in determinization");
129  opts->Register("max-mem", &max_mem, "Maximum approximate memory usage in "
130  "determinization (real usage might be many times this)");
131  opts->Register("max-arcs", &max_arcs, "Maximum number of arcs in "
132  "output FST (total, not per state");
133  opts->Register("max-states", &max_states, "Maximum number of arcs in output "
134  "FST (total, not per state");
135  opts->Register("max-loop", &max_loop, "Option used to detect a particular "
136  "type of determinization failure, typically due to invalid input "
137  "(e.g., negative-cost loops)");
138  opts->Register("retry-cutoff", &retry_cutoff, "Controls pruning un-determinized "
139  "lattice and retrying determinization: if effective-beam < "
140  "retry-cutoff * beam, we prune the raw lattice and retry. Avoids "
141  "ever getting empty output for long segments.");
142  }
virtual void Register(const std::string &name, bool *ptr, const std::string &doc)=0

Member Data Documentation

◆ delta

float delta

Definition at line 113 of file determinize-lattice-pruned.h.

Referenced by fst::DeterminizeLatticePhonePruned().

◆ max_arcs

◆ max_loop

int max_loop

◆ max_mem

◆ max_states

◆ retry_cutoff

float retry_cutoff

Definition at line 120 of file determinize-lattice-pruned.h.

Referenced by fst::DeterminizeLatticePruned().


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