NnetDiscriminativeUpdateOptions Struct Reference

#include <nnet-compute-discriminative.h>

Collaboration diagram for NnetDiscriminativeUpdateOptions:

Public Member Functions

 NnetDiscriminativeUpdateOptions ()
void Register (OptionsItf *opts)

Public Attributes

std::string criterion
BaseFloat acoustic_scale
bool drop_frames
bool one_silence_class
BaseFloat boost
std::string silence_phones_str

Detailed Description

Definition at line 35 of file nnet-compute-discriminative.h.

Constructor & Destructor Documentation

◆ NnetDiscriminativeUpdateOptions()

Member Function Documentation

◆ Register()

void Register ( OptionsItf opts)

Definition at line 51 of file nnet-compute-discriminative.h.

References OptionsItf::Register().

Referenced by main().

51  {
52  opts->Register("criterion", &criterion, "Criterion, 'mmi'|'mpfe'|'smbr', "
53  "determines the objective function to use. Should match "
54  "option used when we created the examples.");
55  opts->Register("acoustic-scale", &acoustic_scale, "Weighting factor to "
56  "apply to acoustic likelihoods.");
57  opts->Register("drop-frames", &drop_frames, "For MMI, if true we drop frames "
58  "with no overlap of num and den frames");
59  opts->Register("boost", &boost, "Boosting factor for boosted MMI (e.g. 0.1)");
60  opts->Register("one-silence-class", &one_silence_class, "If true, newer "
61  "behavior which will tend to reduce insertions.");
62  opts->Register("silence-phones", &silence_phones_str,
63  "For MPFE or SMBR, colon-separated list of integer ids of "
64  "silence phones, e.g. 1:2:3");
66  }

Member Data Documentation

◆ acoustic_scale

BaseFloat acoustic_scale

◆ boost

◆ criterion

◆ drop_frames

◆ one_silence_class

bool one_silence_class

◆ silence_phones_str

std::string silence_phones_str

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