#include <sent/stddefs.h>
#include <sent/htk_hmm.h>
Include dependency graph for init_phmm.c:
Go to the source code of this file.
Functions | |
HTK_HMM_INFO * | hmminfo_new () |
boolean | hmminfo_free (HTK_HMM_INFO *hmm) |
void | init_hmminfo (HTK_HMM_INFO *hmminfo, char *hmmfilename, char *namemapfile, Value *para) |
Load HTK HMM definition file and HMMList file, and setup phone HMM information. | |
void | htk_hmm_set_pause_model (HTK_HMM_INFO *hmminfo, char *spmodel_name) |
Definition in file init_phmm.c.
HTK_HMM_INFO* hmminfo_new | ( | ) |
Allocate memory for a new HMM definition data.
Definition at line 33 of file init_phmm.c.
Referenced by initialize_GMM(), initialize_GSHMM(), and initialize_HMM().
boolean hmminfo_free | ( | HTK_HMM_INFO * | hmm | ) |
Free memory of an HMM
hmm | [i/o] HMM definition data |
Definition at line 86 of file init_phmm.c.
void init_hmminfo | ( | HTK_HMM_INFO * | hmminfo, | |
char * | hmmfilename, | |||
char * | namemapfile, | |||
Value * | para | |||
) |
Load HTK HMM definition file and HMMList file, and setup phone HMM information.
First try ascii format, then try binary format.
hmminfo | [out] pointer to store all the HMM definition data. | |
hmmfilename | [in] file name of HTK HMM definition file, NULL if not. | |
namemapfile | [in] file name of HMMList mapping file. | |
para | [out] store acoustic analysis condition parameters if exist in hmmfilename. |
Definition at line 122 of file init_phmm.c.
Referenced by initialize_GMM(), initialize_GSHMM(), and initialize_HMM().
void htk_hmm_set_pause_model | ( | HTK_HMM_INFO * | hmminfo, | |
char * | spmodel_name | |||
) |
Set up pause model.
hmminfo | [i/o] HMM definition data | |
spmodel_name | [in] name string of short pause model |
Definition at line 200 of file init_phmm.c.
Referenced by initialize_HMM().