Julius 4.2
関数
libsent/src/phmm/mkwhmm.c

音素列から計算用の結合HMMを生成する [詳細]

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

ソースコードを見る。

関数

static int totalstatelen (HMM_Logical **hdseq, int hdseqlen, boolean *has_sp, HTK_HMM_INFO *hmminfo)
 Calculate total number of states in a phoneme sequence.
static void add_arc (HMM_STATE *state, int arc, LOGPROB a)
 Add a transition arc on the HMM state.
HMMnew_make_word_hmm_with_lm (HTK_HMM_INFO *hmminfo, HMM_Logical **hdseq, int hdseqlen, boolean *has_sp, LOGPROB *lscore)
 Make a HMM instance for recognition from phoneme sequence, with connection probabiliry given for each phoneme.
HMMnew_make_word_hmm (HTK_HMM_INFO *hmminfo, HMM_Logical **hdseq, int hdseqlen, boolean *has_sp)
 Make a HMM instance for recognition from phoneme sequence.
void free_hmm (HMM *d)
 Free an HMM instance.

説明

音素列から計算用の結合HMMを生成する

作者:
Akinobu LEE
日付:
Fri Feb 18 18:31:40 2005
Revision:
1.4

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


関数

static int totalstatelen ( HMM_Logical **  hdseq,
int  hdseqlen,
boolean has_sp,
HTK_HMM_INFO hmminfo 
) [static]

Calculate total number of states in a phoneme sequence.

引数:
hdseq[in] phoneme sequence as given by pointer list of logical HMM
hdseqlen[in] length of above
has_sp[in] indicates where short-pause insertion is possible
hmminfo[in] HMM definition
戻り値:
the total number of states in the sequence.

mkwhmm.c42 行で定義されています。

参照元 new_make_word_hmm_with_lm().

static void add_arc ( HMM_STATE state,
int  arc,
LOGPROB  a 
) [static]

Add a transition arc on the HMM state.

引数:
state[out] HMM state to add the arc
arc[in] state id of destination
a[in] transition log probability

mkwhmm.c70 行で定義されています。

参照元 new_make_word_hmm_with_lm().

HMM* new_make_word_hmm_with_lm ( HTK_HMM_INFO hmminfo,
HMM_Logical **  hdseq,
int  hdseqlen,
boolean has_sp,
LOGPROB lscore 
)

Make a HMM instance for recognition from phoneme sequence, with connection probabiliry given for each phoneme.

引数:
hmminfo[in] HTK HMM definitions data
hdseq[in] phoneme sequence as given by pointer list of logical HMM
hdseqlen[in] length of above
has_sp[in] indicates where short-pause insertion is possible
lscore[in] list of log probability to be added at the emitting transition of each phoneme, or NULL if not needed.
戻り値:
newly allocated HMM instance generated from the given data.

mkwhmm.c99 行で定義されています。

参照元 new_make_word_hmm().

HMM* new_make_word_hmm ( HTK_HMM_INFO hmminfo,
HMM_Logical **  hdseq,
int  hdseqlen,
boolean has_sp 
)

Make a HMM instance for recognition from phoneme sequence.

引数:
hmminfo[in] HTK HMM definitions data
hdseq[in] phoneme sequence as given by pointer list of logical HMM
hdseqlen[in] length of above
has_sp[in] indicates where short-pause insertion is possible
戻り値:
newly allocated HMM instance generated from the given data.

mkwhmm.c356 行で定義されています。

参照元 do_align(), と scan_word().

void free_hmm ( HMM d)

Free an HMM instance.

引数:
d[in] HMM instance to free

mkwhmm.c367 行で定義されています。

参照元 do_align(), と scan_word().