#include <sent/stddefs.h>
#include <sent/htk_hmm.h>
関数 | |
static void | update_gconst (HTK_HMM_Dens *d) |
Calculate and set the GCONST value. | |
static HTK_HMM_Dens * | dens_new (HTK_HMM_INFO *hmm) |
Allocate a new data area and return it. | |
void | dens_add (HTK_HMM_INFO *hmm, HTK_HMM_Dens *new) |
Add a new data to the global structure. | |
HTK_HMM_Dens * | dens_lookup (HTK_HMM_INFO *hmm, char *keyname) |
Look up a data macro by the name. | |
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) |
Read a new data and store it as a macro. | |
変数 | |
char * | rdhmmdef_token |
Current token |
rdhmmdef_dens.c で定義されています。
static void update_gconst | ( | HTK_HMM_Dens * | d | ) | [static] |
Calculate and set the GCONST value.
d | [i/o] density data |
rdhmmdef_dens.c の 39 行で定義されています。
参照元 dens_read().
static HTK_HMM_Dens* dens_new | ( | HTK_HMM_INFO * | hmm | ) | [static] |
Allocate a new data area and return it.
rdhmmdef_dens.c の 57 行で定義されています。
参照元 dens_read().
void dens_add | ( | HTK_HMM_INFO * | hmm, | |
HTK_HMM_Dens * | new | |||
) |
Add a new data to the global structure.
hmm | [i/o] HMM definition data to store it | |
new | [in] new data to be added |
rdhmmdef_dens.c の 80 行で定義されています。
参照元 def_dens_macro(), get_dens_data(), と rd_dens().
HTK_HMM_Dens* dens_lookup | ( | HTK_HMM_INFO * | hmm, | |
char * | keyname | |||
) |
Look up a data macro by the name.
hmm | [in] HMM definition data | |
keyname | [in] macro name to find |
rdhmmdef_dens.c の 113 行で定義されています。
static HTK_HMM_Dens* dens_read | ( | FILE * | fp, | |
HTK_HMM_INFO * | hmm | |||
) | [static] |
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.
fp | [in] file pointer | |
hmm | [in] HMM definition data |
rdhmmdef_dens.c の 140 行で定義されています。
参照元 def_dens_macro(), と get_dens_data().
HTK_HMM_Dens* get_dens_data | ( | FILE * | fp, | |
HTK_HMM_INFO * | hmm | |||
) |
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.
fp | [in] file pointer | |
hmm | [i/o] HMM definition data |
rdhmmdef_dens.c の 200 行で定義されています。
参照元 state_read().
void def_dens_macro | ( | char * | name, | |
FILE * | fp, | |||
HTK_HMM_INFO * | hmm | |||
) |
Read a new data and store it as a macro.
name | [in] macro name | |
fp | [in] file pointer | |
hmm | [i/o] HMM definition data |
rdhmmdef_dens.c の 234 行で定義されています。
参照元 rdhmmdef().