#include <sent/stddefs.h>
#include <sent/htk_hmm.h>
Include dependency graph for rdhmmdef_dens.c:
Go to the source code of this file.
Functions | |
static void | update_gconst (HTK_HMM_Dens *d) |
static HTK_HMM_Dens * | dens_new () |
void | dens_add (HTK_HMM_INFO *hmm, HTK_HMM_Dens *new) |
HTK_HMM_Dens * | dens_lookup (HTK_HMM_INFO *hmm, char *keyname) |
static HTK_HMM_Dens * | dens_read (FILE *fp, HTK_HMM_INFO *hmm) |
Read one new data and returns the pointer. | |
HTK_HMM_Dens * | get_dens_data (FILE *fp, HTK_HMM_INFO *hmm) |
Return a pointer to the data located at the current point. | |
void | def_dens_macro (char *name, FILE *fp, HTK_HMM_INFO *hmm) |
Variables | |
char * | rdhmmdef_token |
Current token. |
Definition in file rdhmmdef_dens.c.
|
Calculate and set the GCONST value.
Definition at line 38 of file rdhmmdef_dens.c. Referenced by dens_read(). |
|
Allocate a new data area and return it.
Definition at line 56 of file rdhmmdef_dens.c. Referenced by dens_read(). |
|
Add a new data to the global structure.
Definition at line 79 of file rdhmmdef_dens.c. Referenced by def_dens_macro(), get_dens_data(), and rd_dens(). |
|
Look up a data macro by the name.
Definition at line 112 of file rdhmmdef_dens.c. Referenced by get_dens_data(), and tmix_create_codebook_index(). |
|
Read one new data and returns the pointer. If a sub-component of this data is directly defined at here, they will be read from here and assigned to this data. If a sub-component is not defined here but a macro name referencing to the component previously defined in other place, the data will be searched by the macro name and the pointer to the found component will be assigned to this model.
Definition at line 139 of file rdhmmdef_dens.c. Referenced by def_dens_macro(), and get_dens_data(). |
|
Return a pointer to the data located at the current point. If the current point is a macro reference, the pointer to the already defined data will be searched and returned. Otherwise, the definition of the data will be read from the current point and pointer to the newly allocated data will be returned.
Definition at line 199 of file rdhmmdef_dens.c. Referenced by state_read(). |
|
Read a new data and store it as a macro.
Definition at line 233 of file rdhmmdef_dens.c. Referenced by rdhmmdef(). |