OnlineFasterDecoderOpts Struct Reference

#include <online-faster-decoder.h>

Inheritance diagram for OnlineFasterDecoderOpts:
Collaboration diagram for OnlineFasterDecoderOpts:

Public Member Functions

 OnlineFasterDecoderOpts ()
 
void Register (OptionsItf *opts, bool full)
 
- Public Member Functions inherited from FasterDecoderOptions
 FasterDecoderOptions ()
 
void Register (OptionsItf *opts, bool full)
 

Public Attributes

BaseFloat rt_min
 
BaseFloat rt_max
 
int32 batch_size
 
int32 inter_utt_sil
 
int32 max_utt_len_
 
int32 update_interval
 
BaseFloat beam_update
 
BaseFloat max_beam_update
 
- Public Attributes inherited from FasterDecoderOptions
BaseFloat beam
 
int32 max_active
 
int32 min_active
 
BaseFloat beam_delta
 
BaseFloat hash_ratio
 

Detailed Description

Definition at line 35 of file online-faster-decoder.h.

Constructor & Destructor Documentation

◆ OnlineFasterDecoderOpts()

Member Function Documentation

◆ Register()

void Register ( OptionsItf opts,
bool  full 
)
inline

Definition at line 51 of file online-faster-decoder.h.

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

Referenced by main().

51  {
53  opts->Register("rt-min", &rt_min,
54  "Approximate minimum decoding run time factor");
55  opts->Register("rt-max", &rt_max,
56  "Approximate maximum decoding run time factor");
57  opts->Register("update-interval", &update_interval,
58  "Beam update interval in frames");
59  opts->Register("beam-update", &beam_update, "Beam update rate");
60  opts->Register("max-beam-update", &max_beam_update, "Max beam update rate");
61  opts->Register("inter-utt-sil", &inter_utt_sil,
62  "Maximum # of silence frames to trigger new utterance");
63  opts->Register("max-utt-length", &max_utt_len_,
64  "If the utterance becomes longer than this number of frames, "
65  "shorter silence is acceptable as an utterance separator");
66  }
void Register(OptionsItf *opts, bool full)

Member Data Documentation

◆ batch_size

int32 batch_size

Definition at line 38 of file online-faster-decoder.h.

Referenced by OnlineFasterDecoder::Decode(), and main().

◆ beam_update

BaseFloat beam_update

Definition at line 42 of file online-faster-decoder.h.

Referenced by OnlineFasterDecoder::Decode().

◆ inter_utt_sil

int32 inter_utt_sil

Definition at line 39 of file online-faster-decoder.h.

Referenced by OnlineFasterDecoder::EndOfUtterance().

◆ max_beam_update

BaseFloat max_beam_update

Definition at line 43 of file online-faster-decoder.h.

Referenced by OnlineFasterDecoder::Decode().

◆ max_utt_len_

int32 max_utt_len_

Definition at line 40 of file online-faster-decoder.h.

Referenced by OnlineFasterDecoder::EndOfUtterance().

◆ rt_max

BaseFloat rt_max

Definition at line 37 of file online-faster-decoder.h.

Referenced by OnlineFasterDecoder::Decode().

◆ rt_min

BaseFloat rt_min

Definition at line 36 of file online-faster-decoder.h.

Referenced by OnlineFasterDecoder::Decode().

◆ update_interval

int32 update_interval

Definition at line 41 of file online-faster-decoder.h.

Referenced by OnlineFasterDecoder::Decode().


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