#include <sent/stddefs.h>
#include <sent/htk_hmm.h>
Go to the source code of this file.
Functions | |
HTK_HMM_Data * | htk_hmmdata_new (HTK_HMM_INFO *hmminfo) |
Allocate a new data and return it. | |
void | htk_hmmdata_add (HTK_HMM_INFO *hmm, HTK_HMM_Data *new) |
Add a new data to the global structure. | |
static HTK_HMM_Data * | htk_hmmdata_read (FILE *fp, HTK_HMM_INFO *hmm) |
Read one new data and returns the pointer. | |
void | def_HMM (char *name, FILE *fp, HTK_HMM_INFO *hmm) |
Read a new data and store it as a macro. | |
Variables | |
char * | rdhmmdef_token |
Current token. |
Definition in file rdhmmdef_data.c.
HTK_HMM_Data* htk_hmmdata_new | ( | HTK_HMM_INFO * | hmminfo | ) |
Allocate a new data and return it.
Definition at line 36 of file rdhmmdef_data.c.
Referenced by htk_hmmdata_read().
void htk_hmmdata_add | ( | HTK_HMM_INFO * | hmm, | |
HTK_HMM_Data * | 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 |
Definition at line 58 of file rdhmmdef_data.c.
static HTK_HMM_Data* htk_hmmdata_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 |
Definition at line 100 of file rdhmmdef_data.c.
Referenced by def_HMM().
void def_HMM | ( | 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 |
Definition at line 160 of file rdhmmdef_data.c.
Referenced by rdhmmdef().