#include <sent/stddefs.h>
#include <sent/htk_param.h>
#include <sent/htk_hmm.h>
Include dependency graph for rdhmmdef_options.c:

Go to the source code of this file.
Functions | |
| static void | read_global_opt (FILE *fp, HTK_HMM_Options *op) |
| void | set_global_opt (FILE *fp, HTK_HMM_INFO *hmm) |
| static char * | get_opttype_str (OptionStr *confdata, short type) |
| char * | get_cov_str (short covtype) |
| char * | get_dur_str (short durtype) |
Variables | |
| static OptionStr | optcov [] |
| Strings to make mapping between HMM covariance option strings and code definitions. | |
| static OptionStr | optdur [] |
| Strings to make mapping between HMM duration option strings and code definitions. | |
| char * | rdhmmdef_token |
| Current token. | |
Definition in file rdhmmdef_options.c.
| static void read_global_opt | ( | FILE * | fp, | |
| HTK_HMM_Options * | op | |||
| ) | [static] |
Read in global options.
| fp | [in] file pointer | |
| op | [out] pointer to store the global options |
Definition at line 56 of file rdhmmdef_options.c.
Referenced by set_global_opt().
| void set_global_opt | ( | FILE * | fp, | |
| HTK_HMM_INFO * | hmm | |||
| ) |
Set global options starting at the current token to HMM definition data.
| fp | [in] file pointer | |
| hmm | [out] HMM definition data to store the global options |
Definition at line 133 of file rdhmmdef_options.c.
Referenced by rdhmmdef().
| static char* get_opttype_str | ( | OptionStr * | confdata, | |
| short | type | |||
| ) | [static] |
Get option name string from its type code.
| confdata | [in] option description data | |
| type | [in] type code to search |
Definition at line 148 of file rdhmmdef_options.c.
Referenced by get_cov_str(), and get_dur_str().
| char* get_cov_str | ( | short | covtype | ) |
Get covariance option name string from its type code.
| covtype | [in] type code to search |
Definition at line 168 of file rdhmmdef_options.c.
Referenced by print_hmmdef_info().
| char* get_dur_str | ( | short | durtype | ) |
Get duration option name string from its type code.
| durtype | [in] type code to search |
Definition at line 181 of file rdhmmdef_options.c.
Referenced by print_hmmdef_info().
Initial value:
{
{"DIAGC", C_DIAG_C, "Diag", TRUE},
{"INVDIAGC", C_INV_DIAG, "InvDiag", FALSE},
{"FULLC", C_FULL, "Full", FALSE},
{"LLTC", C_LLT, "LLT", FALSE},
{"XFORMC", C_XFORM, "Xform", FALSE},
{NULL,0,NULL,FALSE}
}
Definition at line 29 of file rdhmmdef_options.c.
Referenced by get_cov_str(), and read_global_opt().
Initial value:
{
{"NULLD", D_NULL, "Null", TRUE},
{"POISSOND", D_POISSON, "Poisson", FALSE},
{"GAMMAD", D_GAMMA, "Gamma", FALSE},
{"GEND", D_GEN, "Gen", FALSE},
{NULL,0,NULL,FALSE}
}
Definition at line 38 of file rdhmmdef_options.c.
Referenced by get_dur_str(), and read_global_opt().
1.5.0