libsent/src/hmminfo/init_phmm.c File Reference

Load HMM definition file and HMMList mapping file into memory and set it up. More...

#include <sent/stddefs.h>
#include <sent/htk_hmm.h>

Go to the source code of this file.

Functions

HTK_HMM_INFOhmminfo_new ()
 Allocate memory for a new HMM definition data.
boolean hmminfo_free (HTK_HMM_INFO *hmm)
 Free memory of an HMM.
boolean 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)
 Set up pause model.


Detailed Description

Load HMM definition file and HMMList mapping file into memory and set it up.

Author:
Akinobu LEE
Date:
Tue Feb 15 23:05:33 2005
Revision
1.1.1.1

Definition in file init_phmm.c.


Function Documentation

HTK_HMM_INFO* hmminfo_new (  ) 

Allocate memory for a new HMM definition data.

Returns:
pointer to the newly allocated HMM definition data.

Definition at line 34 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.

Parameters:
hmm [i/o] HMM definition data
Returns:
TRUE on success, or FALSE if failed.

Definition at line 87 of file init_phmm.c.

Referenced by initialize_GMM(), initialize_GSHMM(), initialize_HMM(), j_process_am_free(), and j_recog_free().

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

Parameters:
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 123 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.

Parameters:
hmminfo [i/o] HMM definition data
spmodel_name [in] name string of short pause model

Definition at line 211 of file init_phmm.c.

Referenced by initialize_HMM().


Generated on Tue Dec 18 16:01:39 2007 for Julius by  doxygen 1.5.4