LatticeSimpleDecoderConfig Struct Reference

#include <lattice-simple-decoder.h>

Collaboration diagram for LatticeSimpleDecoderConfig:

Public Member Functions

 LatticeSimpleDecoderConfig ()
 
void Register (OptionsItf *opts)
 
void Check () const
 

Public Attributes

BaseFloat beam
 
BaseFloat lattice_beam
 
int32 prune_interval
 
bool determinize_lattice
 
bool prune_lattice
 
BaseFloat beam_ratio
 
BaseFloat prune_scale
 
fst::DeterminizeLatticePhonePrunedOptions det_opts
 

Detailed Description

Definition at line 37 of file lattice-simple-decoder.h.

Constructor & Destructor Documentation

◆ LatticeSimpleDecoderConfig()

Member Function Documentation

◆ Check()

void Check ( ) const
inline

◆ Register()

void Register ( OptionsItf opts)
inline

Definition at line 56 of file lattice-simple-decoder.h.

References OptionsItf::Register(), and DeterminizeLatticePhonePrunedOptions::Register().

Referenced by main().

56  {
57  det_opts.Register(opts);
58  opts->Register("beam", &beam, "Decoding beam.");
59  opts->Register("lattice-beam", &lattice_beam, "Lattice generation beam");
60  opts->Register("prune-interval", &prune_interval, "Interval (in frames) at "
61  "which to prune tokens");
62  opts->Register("determinize-lattice", &determinize_lattice, "If true, "
63  "determinize the lattice (in a special sense, keeping only "
64  "best pdf-sequence for each word-sequence).");
65  }
fst::DeterminizeLatticePhonePrunedOptions det_opts

Member Data Documentation

◆ beam

◆ beam_ratio

BaseFloat beam_ratio

Definition at line 44 of file lattice-simple-decoder.h.

◆ det_opts

◆ determinize_lattice

bool determinize_lattice

Definition at line 41 of file lattice-simple-decoder.h.

Referenced by main().

◆ lattice_beam

◆ prune_interval

int32 prune_interval

Definition at line 40 of file lattice-simple-decoder.h.

Referenced by LatticeSimpleDecoder::Decode().

◆ prune_lattice

bool prune_lattice

Definition at line 43 of file lattice-simple-decoder.h.

◆ prune_scale

BaseFloat prune_scale

Definition at line 45 of file lattice-simple-decoder.h.

Referenced by LatticeSimpleDecoder::Decode().


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