メインページ | モジュール | データ構造 | Directories | ファイル一覧 | データフィールド | グローバル | 関連ページ

rdhmmdef_trans.c

HTK HMM 定義ファイルの読み込み:遷移行列. [詳細]

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

rdhmmdef_trans.cのインクルード依存関係図

ソースコードを見る。

関数

static HTK_HMM_Transtrans_new ()
void trans_add (HTK_HMM_INFO *hmm, HTK_HMM_Trans *new)
static HTK_HMM_Transtrans_lookup (HTK_HMM_INFO *hmm, char *keyname)
static HTK_HMM_Transtrans_read (FILE *fp)
 Read one new data and returns the pointer.
HTK_HMM_Transget_trans_data (FILE *fp, HTK_HMM_INFO *hmm)
 Return a pointer to the data located at the current point.
void def_trans_macro (char *name, FILE *fp, HTK_HMM_INFO *hmm)

変数

char * rdhmmdef_token
 Current token.


説明

HTK HMM 定義ファイルの読み込み:遷移行列.

作者:
Akinobu LEE
日付:
Wed Feb 16 03:50:55 2005
遷移確率はファイル読み込み終了後に log10 に変換されます.

Revision
1.1.1.1

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


関数

static HTK_HMM_Trans* trans_new  )  [static]
 

Allocate a new data area and return it.

戻り値:
pointer to newly allocated data.

rdhmmdef_trans.c40 行で定義されています。

参照元 trans_read().

void trans_add HTK_HMM_INFO hmm,
HTK_HMM_Trans 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_trans.c60 行で定義されています。

参照元 def_trans_macro(), get_trans_data(), と rd_trans().

static HTK_HMM_Trans* trans_lookup HTK_HMM_INFO hmm,
char *  keyname
[static]
 

Look up a data macro by the name.

引数:
hmm [in] HMM definition data
keyname [in] macro name to find
戻り値:
pointer to the found data, or NULL if not found.

rdhmmdef_trans.c93 行で定義されています。

参照元 get_trans_data().

static HTK_HMM_Trans* trans_read FILE *  fp  )  [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
戻り値:
pointer to the newly read data.

rdhmmdef_trans.c119 行で定義されています。

参照元 def_trans_macro(), と get_trans_data().

HTK_HMM_Trans* get_trans_data FILE *  fp,
HTK_HMM_INFO hmm
 

Return a pointer to the data located at the current point.

If the current point is a macro reference, the pointer to the already defined data will be searched and returned. Otherwise, the definition of the data will be read from the current point and pointer to the newly allocated data will be returned.

引数:
fp [in] file pointer
hmm [i/o] HMM definition data
戻り値:
pointer to the data located at the current point.

rdhmmdef_trans.c171 行で定義されています。

参照元 htk_hmmdata_read().

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

参照元 rdhmmdef().


Juliusに対してTue Mar 28 16:22:24 2006に生成されました。  doxygen 1.4.2