#include <sent/stddefs.h>
#include <sent/htk_param.h>
#include <sent/htk_hmm.h>
関数 | |
static void | read_global_opt (FILE *fp, HTK_HMM_Options *op) |
Read in global options. | |
void | set_global_opt (FILE *fp, HTK_HMM_INFO *hmm) |
Set global options starting at the current token to HMM definition data. | |
static char * | get_opttype_str (OptionStr *confdata, short type) |
Get option name string from its type code. | |
char * | get_cov_str (short covtype) |
Get covariance option name string from its type code. | |
char * | get_dur_str (short durtype) |
Get duration option name string from its type code. | |
変数 | |
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 |
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 |
rdhmmdef_options.c の 57 行で定義されています。
参照元 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 |
rdhmmdef_options.c の 134 行で定義されています。
参照元 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 |
rdhmmdef_options.c の 149 行で定義されています。
参照元 get_cov_str(), と get_dur_str().
char* get_cov_str | ( | short | covtype | ) |
Get covariance option name string from its type code.
covtype | [in] type code to search |
rdhmmdef_options.c の 169 行で定義されています。
参照元 print_hmmdef_info().
char* get_dur_str | ( | short | durtype | ) |
Get duration option name string from its type code.
durtype | [in] type code to search |
rdhmmdef_options.c の 182 行で定義されています。
参照元 print_hmmdef_info().
初期値:
{ {"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} }
rdhmmdef_options.c の 30 行で定義されています。
初期値:
{ {"NULLD", D_NULL, "Null", TRUE}, {"POISSOND", D_POISSON, "Poisson", FALSE}, {"GAMMAD", D_GAMMA, "Gamma", FALSE}, {"GEND", D_GEN, "Gen", FALSE}, {NULL,0,NULL,FALSE} }
rdhmmdef_options.c の 39 行で定義されています。