KaldiRnnlmWrapperOpts Struct Reference

#include <kaldi-rnnlm.h>

Collaboration diagram for KaldiRnnlmWrapperOpts:

Public Member Functions

 KaldiRnnlmWrapperOpts ()
 
void Register (OptionsItf *opts)
 

Public Attributes

std::string unk_symbol
 
std::string eos_symbol
 

Detailed Description

Definition at line 33 of file kaldi-rnnlm.h.

Constructor & Destructor Documentation

◆ KaldiRnnlmWrapperOpts()

Definition at line 37 of file kaldi-rnnlm.h.

37 : unk_symbol("<RNN_UNK>"), eos_symbol("</s>") {}

Member Function Documentation

◆ Register()

void Register ( OptionsItf opts)
inline

Definition at line 39 of file kaldi-rnnlm.h.

References OptionsItf::Register().

Referenced by main().

39  {
40  opts->Register("unk-symbol", &unk_symbol, "Symbol for out-of-vocabulary "
41  "words in rnnlm.");
42  opts->Register("eos-symbol", &eos_symbol, "End of sentence symbol in "
43  "rnnlm.");
44  }

Member Data Documentation

◆ eos_symbol

std::string eos_symbol

Definition at line 35 of file kaldi-rnnlm.h.

Referenced by KaldiRnnlmWrapper::KaldiRnnlmWrapper().

◆ unk_symbol

std::string unk_symbol

Definition at line 34 of file kaldi-rnnlm.h.

Referenced by KaldiRnnlmWrapper::KaldiRnnlmWrapper().


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