WordBoundaryInfoOpts Struct Reference

#include <word-align-lattice.h>

Collaboration diagram for WordBoundaryInfoOpts:

Public Member Functions

 WordBoundaryInfoOpts ()
 
void Register (OptionsItf *opts)
 

Public Attributes

std::string wbegin_phones
 
std::string wend_phones
 
std::string wbegin_and_end_phones
 
std::string winternal_phones
 
std::string silence_phones
 
int32 silence_label
 
int32 partial_word_label
 
bool reorder
 
bool silence_may_be_word_internal
 
bool silence_has_olabels
 

Detailed Description

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

Constructor & Destructor Documentation

◆ WordBoundaryInfoOpts()

Member Function Documentation

◆ Register()

void Register ( OptionsItf opts)
inline

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

References OptionsItf::Register().

62  {
63  opts->Register("wbegin-phones", &wbegin_phones, "Colon-separated list of "
64  "numeric ids of phones that begin a word");
65  opts->Register("wend-phones", &wend_phones, "Colon-separated list of "
66  "numeric ids of phones that end a word");
67  opts->Register("winternal-phones", &winternal_phones, "Colon-separated list "
68  "of numeric ids of phones that are internal to a word");
69  opts->Register("wbegin-and-end-phones", &wbegin_and_end_phones, "Colon-separated "
70  "list of numeric ids of phones that are used for "
71  "single-phone words.");
72  opts->Register("silence-phones", &silence_phones, "Colon-separated list of "
73  "numeric ids of phones that are used for silence (and other "
74  "non-word events such as noise - anything that doesn't have "
75  "a corresponding symbol in the lexicon.");
76  opts->Register("silence-label", &silence_label, "Numeric id of word symbol "
77  "that is to be used for silence arcs in the word-aligned "
78  "lattice (zero is OK)");
79  opts->Register("partial-word-label", &partial_word_label, "Numeric id of "
80  "word symbol that is to be used for arcs in the word-aligned "
81  "lattice corresponding to partial words at the end of "
82  "\"forced-out\" utterances (zero is OK)");
83  opts->Register("reorder", &reorder, "True if the lattices were generated "
84  "from graphs that had the --reorder option true, relating to "
85  "reordering self-loops (typically true)");
86  opts->Register("silence-may-be-word-internal", &silence_may_be_word_internal,
87  "If true, silence may appear inside words' prons (but not at begin/end!)\n");
88  opts->Register("silence-has-olabels", &silence_has_olabels,
89  "If true, silence phones have output labels in the lattice, just\n"
90  "like regular words. [This means you can't have un-labeled silences]");
91  }

Member Data Documentation

◆ partial_word_label

int32 partial_word_label

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

Referenced by WordBoundaryInfo::WordBoundaryInfo().

◆ reorder

bool reorder

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

Referenced by WordBoundaryInfo::WordBoundaryInfo().

◆ silence_has_olabels

bool silence_has_olabels

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

Referenced by WordBoundaryInfo::WordBoundaryInfo().

◆ silence_label

int32 silence_label

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

Referenced by WordBoundaryInfo::WordBoundaryInfo().

◆ silence_may_be_word_internal

bool silence_may_be_word_internal

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

◆ silence_phones

std::string silence_phones

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

Referenced by WordBoundaryInfo::WordBoundaryInfo().

◆ wbegin_and_end_phones

std::string wbegin_and_end_phones

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

Referenced by WordBoundaryInfo::WordBoundaryInfo().

◆ wbegin_phones

std::string wbegin_phones

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

Referenced by WordBoundaryInfo::WordBoundaryInfo().

◆ wend_phones

std::string wend_phones

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

Referenced by WordBoundaryInfo::WordBoundaryInfo().

◆ winternal_phones

std::string winternal_phones

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

Referenced by WordBoundaryInfo::WordBoundaryInfo().


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