dict2pid_t Struct Reference

Building composite triphone (as well as word internal triphones) with the dictionary. More...

#include <dict2pid.h>

Data Fields

int refcount
s3ssid_t ** internal
 For internal phone positions (not first, not last), the ssid; for first and last positions, the composite ssid.
s3ssid_t *** ldiph_lc
 For multi-phone words, [base][rc][lc] -> ssid; filled out for word-initial base x rc combinations in current vocabulary.
s3ssid_t *** rdiph_rc
 For multi-phone words, [base][lc][rc] -> ssid; filled out for word-final base x lc combinations in current vocabulary.
xwdssid_t ** rssid
 Right context state sequence id table First dimension: base phone, Second dimension: left context.
s3ssid_t *** lrdiph_rc
 For single-phone words, [base][lc][rc] -> ssid; filled out for single-phone base x lc combinations in current vocabulary.
xwdssid_t ** lrssid
 Left-Right context state sequence id table First dimension: base phone, Second dimension: left context.
int32 is_composite
 Whether we will build composite triphone.
s3ssid_t ** single_lc
 For single phone words, [base][lc] -> composite ssid; filled out for single phone words in current vocabulary.
s3senid_t ** comstate
 comstate[i] = BAD_S3SENID terminated set of senone IDs in the i-th composite state
s3senid_t ** comsseq
 comsseq[i] = sequence of composite state IDs in i-th composite phone (composite sseq).
int16 * comwt
 Weight associated with each composite state (scaled, negated logs3 value).
int32 n_comstate
 Composite states
int32 n_comsseq
 Composite senone sequences
int32 n_ci
 Number of CI phone in.
int32 n_dictsize
 Dictionary size.

Detailed Description

Building composite triphone (as well as word internal triphones) with the dictionary.

Definition at line 188 of file dict2pid.h.


Field Documentation

s3senid_t** dict2pid_t::comsseq

comsseq[i] = sequence of composite state IDs in i-th composite phone (composite sseq).

Definition at line 234 of file dict2pid.h.

Referenced by dict2pid_build(), dict2pid_comsseq2sen_active(), dict2pid_dump(), and dict2pid_free().

Weight associated with each composite state (scaled, negated logs3 value).

Final composite state score weighted by this amount

Definition at line 236 of file dict2pid.h.

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;

Definition at line 191 of file dict2pid.h.

Referenced by dict2pid_build(), dict2pid_dump(), and dict2pid_free().

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.

Definition at line 223 of file dict2pid.h.

Referenced by dict2pid_build(), and dict2pid_report().


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

Generated on 16 Jul 2011 for PocketSphinx by  doxygen 1.6.1