Building composite triphone (as well as word internal triphones) with the dictionary. More...
#include <dict2pid.h>
Public Attributes | |
s3ssid_t ** | internal |
s3ssid_t *** | ldiph_lc |
s3ssid_t *** | rdiph_rc |
xwdssid_t ** | rssid |
s3ssid_t *** | lrdiph_rc |
xwdssid_t ** | lrssid |
int32 | is_composite |
s3ssid_t ** | single_lc |
s3senid_t ** | comstate |
s3senid_t ** | comsseq |
int32 * | comwt |
int32 | n_comstate |
int32 | n_comsseq |
int32 | n_ci |
int32 | n_dictsize |
Building composite triphone (as well as word internal triphones) with the dictionary.
comsseq[i] = sequence of composite state IDs in i-th composite phone (composite sseq).
Referenced by dict2pid_build(), dict2pid_comsseq2sen_active(), dict2pid_dump(), and dict2pid_free().
comstate[i] = BAD_S3SENID terminated set of senone IDs in the i-th composite state
Referenced by dict2pid_build(), dict2pid_comsenscr(), dict2pid_comsseq2sen_active(), dict2pid_dump(), and dict2pid_free().
int32* dict2pid_t::comwt |
Weight associated with each composite state (logs3 value). Final composite state score weighted by this amount
Referenced by dict2pid_build(), dict2pid_comsenscr(), and dict2pid_free().
For internal phone positions (not first, not last), the ssid; for first and last positions, the composite ssid. ([word][phone-position]) if -composite is 0, then internal[0] and internal[pronlen-1] will equal to BAD_SSID;
Referenced by dict2pid_build(), dict2pid_dump(), and dict2pid_free().
int32 dict2pid_t::is_composite |
Whether we will build composite triphone. If yes, the structure will be in composite triphone mode, single_lc, comstate, comsseq and comwt will be initialized. Otherwise, the code will be in normal triphone mode. The parameters will be left NULL.
Referenced by dict2pid_build(), and dict2pid_report().
For multi-phone words, [base][rc][lc] -> ssid; filled out for word-initial base x rc combinations in current vocabulary
Referenced by dict2pid_build(), dict2pid_dump(), and dict2pid_free().
For single-phone words, [base][lc][rc] -> ssid; filled out for word-initial base x lc combinations in current vocabulary
Referenced by dict2pid_build(), and dict2pid_free().
Left-Right context state sequence id table First dimension: base phone, Second dimension: left context.
Referenced by dict2pid_build(), dict2pid_free(), dict2pid_get_rcmap(), and get_rc_nssid().
int32 dict2pid_t::n_ci |
Number of CI phone in
Referenced by dict2pid_build(), and dict2pid_free().
int32 dict2pid_t::n_comsseq |
#Composite senone sequences
Referenced by dict2pid_build(), dict2pid_comsseq2sen_active(), dict2pid_dump(), dict2pid_free(), and dict2pid_report().
int32 dict2pid_t::n_comstate |
#Composite states
Referenced by dict2pid_build(), dict2pid_comsenscr(), dict2pid_dump(), and dict2pid_report().
int32 dict2pid_t::n_dictsize |
Dictionary size
Referenced by dict2pid_build().
For multi-phone words, [base][lc][rc] -> ssid; filled out for word-initial base x lc combinations in current vocabulary
Referenced by dict2pid_build(), and dict2pid_free().
Right context state sequence id table First dimension: base phone, Second dimension: left context.
Referenced by dict2pid_build(), dict2pid_free(), dict2pid_get_rcmap(), and get_rc_nssid().
For single phone words, [base][lc] -> composite ssid; filled out for single phone words in current vocabulary
Referenced by dict2pid_build(), dict2pid_dump(), and dict2pid_free().