WordBoundaryInfoNewOpts Struct Reference

#include <word-align-lattice.h>

Collaboration diagram for WordBoundaryInfoNewOpts:

Public Member Functions

 WordBoundaryInfoNewOpts ()
 
void Register (OptionsItf *opts)
 

Public Attributes

int32 silence_label
 
int32 partial_word_label
 
bool reorder
 

Detailed Description

Definition at line 96 of file word-align-lattice.h.

Constructor & Destructor Documentation

◆ WordBoundaryInfoNewOpts()

Member Function Documentation

◆ Register()

void Register ( OptionsItf opts)
inline

Definition at line 104 of file word-align-lattice.h.

References OptionsItf::Register().

Referenced by main().

104  {
105  opts->Register("silence-label", &silence_label, "Numeric id of word symbol "
106  "that is to be used for silence arcs in the word-aligned "
107  "lattice (zero is OK)");
108  opts->Register("partial-word-label", &partial_word_label, "Numeric id of "
109  "word symbol that is to be used for arcs in the word-aligned "
110  "lattice corresponding to partial words at the end of "
111  "\"forced-out\" utterances (zero is OK)");
112  opts->Register("reorder", &reorder, "True if the lattices were generated "
113  "from graphs that had the --reorder option true, relating to "
114  "reordering self-loops (typically true)");
115  }

Member Data Documentation

◆ partial_word_label

int32 partial_word_label

Definition at line 98 of file word-align-lattice.h.

Referenced by WordBoundaryInfo::WordBoundaryInfo().

◆ reorder

bool reorder

Definition at line 99 of file word-align-lattice.h.

Referenced by WordBoundaryInfo::WordBoundaryInfo().

◆ silence_label

int32 silence_label

Definition at line 97 of file word-align-lattice.h.

Referenced by WordBoundaryInfo::WordBoundaryInfo().


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