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

HTK HMM 定義ファイルの読み込み:HMM モデル [詳細]

#include <sent/stddefs.h>
#include <sent/htk_hmm.h>

ソースコードを見る。

関数

HTK_HMM_Datahtk_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_Datahtk_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.

変数

char * rdhmmdef_token
 Current token.

説明

HTK HMM 定義ファイルの読み込み:HMM モデル

作者:
Akinobu LEE
日付:
Wed Feb 16 01:12:19 2005
Revision:
1.4

rdhmmdef_data.c で定義されています。


関数

HTK_HMM_Data* htk_hmmdata_new ( HTK_HMM_INFO hmminfo)

Allocate a new data and return it.

戻り値:
pointer to newly allocated data.

rdhmmdef_data.c36 行で定義されています。

参照元 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

rdhmmdef_data.c58 行で定義されています。

参照元 def_HMM(), と rd_data().

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
戻り値:
pointer to the newly read data.

rdhmmdef_data.c100 行で定義されています。

参照元 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

rdhmmdef_data.c160 行で定義されています。

参照元 rdhmmdef().