AlignConfig Struct Reference

#include <decoder-wrappers.h>

Collaboration diagram for AlignConfig:

Public Member Functions

 AlignConfig ()
 
void Register (OptionsItf *opts)
 

Public Attributes

BaseFloat beam
 
BaseFloat retry_beam
 
bool careful
 

Detailed Description

Definition at line 35 of file decoder-wrappers.h.

Constructor & Destructor Documentation

◆ AlignConfig()

AlignConfig ( )
inline

Definition at line 40 of file decoder-wrappers.h.

40 : beam(200.0), retry_beam(0.0), careful(false) { }

Member Function Documentation

◆ Register()

void Register ( OptionsItf opts)
inline

Definition at line 42 of file decoder-wrappers.h.

References kaldi::AlignUtteranceWrapper(), kaldi::DecodeUtteranceLatticeFaster(), kaldi::DecodeUtteranceLatticeIncremental(), kaldi::ModifyGraphForCarefulAlignment(), and OptionsItf::Register().

Referenced by main().

42  {
43  opts->Register("beam", &beam, "Decoding beam used in alignment");
44  opts->Register("retry-beam", &retry_beam,
45  "Decoding beam for second try at alignment");
46  opts->Register("careful", &careful,
47  "If true, do 'careful' alignment, which is better at detecting "
48  "alignment failure (involves loop to start of decoding graph).");
49  }

Member Data Documentation

◆ beam

BaseFloat beam

Definition at line 36 of file decoder-wrappers.h.

Referenced by kaldi::AlignUtteranceWrapper().

◆ careful

bool careful

Definition at line 38 of file decoder-wrappers.h.

Referenced by kaldi::AlignUtteranceWrapper().

◆ retry_beam

BaseFloat retry_beam

Definition at line 37 of file decoder-wrappers.h.

Referenced by kaldi::AlignUtteranceWrapper().


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