Julius 4.2
関数 | 変数
libsent/src/hmminfo/rdhmmdef_options.c

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)
 Read in global options.
boolean 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.

説明

HTK HMM 定義ファイルの読み込み:グローバルオプション

作者:
Akinobu LEE
日付:
Wed Feb 16 01:53:45 2005
Revision:
1.4

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.c57 行で定義されています。

参照元 set_global_opt().

boolean 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
戻り値:
TRUE on success, FALSE on failure or error.

rdhmmdef_options.c146 行で定義されています。

参照元 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
戻り値:
name string if found, or NULL if not found.

rdhmmdef_options.c177 行で定義されています。

参照元 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
戻り値:
the name string if found, or NULL if not found.

rdhmmdef_options.c197 行で定義されています。

参照元 print_hmmdef_info().

char* get_dur_str ( short  durtype)

Get duration option name string from its type code.

引数:
durtype[in] type code to search
戻り値:
the name string if found, or NULL if not found.

rdhmmdef_options.c210 行で定義されています。

参照元 print_hmmdef_info().


変数

OptionStr optcov[] [static]
初期値:
 {      
  {"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.c30 行で定義されています。

OptionStr optdur[] [static]
初期値:
 {      
  {"NULLD", D_NULL, "Null", TRUE},
  {"POISSOND", D_POISSON, "Poisson", FALSE},
  {"GAMMAD", D_GAMMA, "Gamma", FALSE},
  {"GEND", D_GEN, "Gen", FALSE},
  {NULL,0,NULL,FALSE}
}

Strings to make mapping between HMM duration option strings and code definitions.

rdhmmdef_options.c39 行で定義されています。