HTK HMM 定義ファイルの読み込み:グローバルオプション. [詳細]
#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) |
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) |
変数 | |
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. |
HTK HMM 定義ファイルの読み込み:グローバルオプション.
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 の 56 行で定義されています。
参照元 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 の 133 行で定義されています。
参照元 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 の 148 行で定義されています。
参照元 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 の 168 行で定義されています。
参照元 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 の 181 行で定義されています。
参照元 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} }
Strings to make mapping between HMM covariance option strings and code definitions.
rdhmmdef_options.c の 29 行で定義されています。