Configuration class for the GetHTransducer() function; see The HTransducerConfig configuration class for context. More...

#include <hmm-utils.h>

Collaboration diagram for HTransducerConfig:

Public Member Functions

 HTransducerConfig ()
 
void Register (OptionsItf *opts)
 

Public Attributes

BaseFloat transition_scale
 Transition log-prob scale, see Scaling of transition and acoustic probabilities. More...
 
int32 nonterm_phones_offset
 

Detailed Description

Configuration class for the GetHTransducer() function; see The HTransducerConfig configuration class for context.

Definition at line 36 of file hmm-utils.h.

Constructor & Destructor Documentation

◆ HTransducerConfig()

HTransducerConfig ( )
inline

Definition at line 43 of file hmm-utils.h.

43  :
44  transition_scale(1.0),
45  nonterm_phones_offset(-1) { }
BaseFloat transition_scale
Transition log-prob scale, see Scaling of transition and acoustic probabilities.
Definition: hmm-utils.h:40

Member Function Documentation

◆ Register()

void Register ( OptionsItf opts)
inline

Definition at line 47 of file hmm-utils.h.

References OptionsItf::Register().

Referenced by main().

47  {
48  opts->Register("transition-scale", &transition_scale,
49  "Scale of transition probs (relative to LM)");
50  opts->Register("nonterm-phones-offset", &nonterm_phones_offset,
51  "The integer id of #nonterm_bos in phones.txt, if present. "
52  "Only needs to be set if you are doing grammar decoding, "
53  "see doc/grammar.dox.");
54  }
BaseFloat transition_scale
Transition log-prob scale, see Scaling of transition and acoustic probabilities.
Definition: hmm-utils.h:40

Member Data Documentation

◆ nonterm_phones_offset

int32 nonterm_phones_offset

Definition at line 41 of file hmm-utils.h.

Referenced by kaldi::GetHTransducer(), and main().

◆ transition_scale

BaseFloat transition_scale

Transition log-prob scale, see Scaling of transition and acoustic probabilities.

Note this doesn't apply to self-loops; GetHTransducer() does not include self-loops.

Definition at line 40 of file hmm-utils.h.

Referenced by TrainingGraphCompiler::CompileGraph(), TrainingGraphCompiler::CompileGraphs(), kaldi::GetHmmAsFsa(), and main().


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