strcture for storing the model definition. More...
#include <mdef.h>
Public Attributes | |
int32 | n_ciphone |
int32 | n_phone |
int32 | n_emit_state |
int32 | n_ci_sen |
int32 | n_sen |
int32 | n_tmat |
hash_table_t * | ciphone_ht |
ciphone_t * | ciphone |
phone_t * | phone |
s3senid_t ** | sseq |
int32 | n_sseq |
s3senid_t * | cd2cisen |
s3cipid_t * | sen2cimap |
s3cipid_t | sil |
ph_lc_t *** | wpos_ci_lclist |
s3senid_t * | st2senmap |
strcture for storing the model definition.
The main model definition structure
Parent CI-senone id for each senone; the first n_ci_sen are identity mappings; the CD-senones are contiguous for each parent CI-phone
CI-phone information for all ciphones
hash_table_t* mdef_t::ciphone_ht |
Hash table for mapping ciphone strings to ids
int32 mdef_t::n_ci_sen |
#CI senones; these are the first
Referenced by approx_cont_mgau_frame_eval().
int32 mdef_t::n_ciphone |
#basephones actually present
Referenced by dict2pid_build(), and word_trans().
int32 mdef_t::n_emit_state |
#emitting states per phone
Referenced by align_build_sent_hmm(), and dict2pid_build().
int32 mdef_t::n_phone |
#basephones + #triphones actually present
int32 mdef_t::n_sen |
#senones (CI+CD)
Referenced by approx_cont_mgau_frame_eval().
int32 mdef_t::n_sseq |
No. of unique senone sequences in this model
Referenced by dict2pid_dump().
int32 mdef_t::n_tmat |
#transition matrices
Information for all ciphones and triphones
Parent CI-phone for each senone (CI or CD)
SILENCE_CIPHONE id
Unique state (or senone) sequences in this model, shared among all phones/triphones
Referenced by dict2pid_dump().
A mapping from State to senone. Only used in sphinx 3.0 HACK!, In general, there is only need for either one of st2senmap or sseq.
wpos_ci_lclist[wpos][ci] = list of lc for <wpos,ci>. wpos_ci_lclist[wpos][ci][lc].rclist = list of rc for <wpos,ci,lc>. Only entries for the known triphones are created to conserve space. (NOTE: FOR INTERNAL USE ONLY.)