Public Attributes | List of all members
mdef_t Struct Reference

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_tciphone
 
phone_tphone
 
s3senid_t ** sseq
 
int32 n_sseq
 
s3senid_tcd2cisen
 
s3cipid_tsen2cimap
 
s3cipid_t sil
 
ph_lc_t *** wpos_ci_lclist
 
s3senid_tst2senmap
 

Detailed Description

strcture for storing the model definition.

The main model definition structure

Member Data Documentation

◆ cd2cisen

s3senid_t* mdef_t::cd2cisen

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

◆ ciphone

ciphone_t* mdef_t::ciphone

CI-phone information for all ciphones

◆ ciphone_ht

hash_table_t* mdef_t::ciphone_ht

Hash table for mapping ciphone strings to ids

◆ n_ci_sen

int32 mdef_t::n_ci_sen

#CI senones; these are the first

◆ n_ciphone

int32 mdef_t::n_ciphone

#basephones actually present

◆ n_emit_state

int32 mdef_t::n_emit_state

#emitting states per phone

◆ n_phone

int32 mdef_t::n_phone

#basephones + #triphones actually present

◆ n_sen

int32 mdef_t::n_sen

#senones (CI+CD)

◆ n_sseq

int32 mdef_t::n_sseq

No. of unique senone sequences in this model

◆ n_tmat

int32 mdef_t::n_tmat

#transition matrices

◆ phone

phone_t* mdef_t::phone

Information for all ciphones and triphones

◆ sen2cimap

s3cipid_t* mdef_t::sen2cimap

Parent CI-phone for each senone (CI or CD)

◆ sil

s3cipid_t mdef_t::sil

SILENCE_CIPHONE id

◆ sseq

s3senid_t** mdef_t::sseq

Unique state (or senone) sequences in this model, shared among all phones/triphones

◆ st2senmap

s3senid_t* mdef_t::st2senmap

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

ph_lc_t*** mdef_t::wpos_ci_lclist

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.)


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