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

入力に対するViterbi アライメントの実行 [詳細]

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

ソースコードを見る。

関数

LOGPROB viterbi_segment (HMM *hmm, HTK_Param *param, HMMWork *wrk, boolean multipath, int *endstates, int ulen, int **id_ret, int **seg_ret, LOGPROB **uscore_ret, int *slen_ret)
 Perform Viterbi alignment.

説明

入力に対するViterbi アライメントの実行

作者:
Akinobu LEE
日付:
Fri Feb 18 19:29:22 2005
Revision:
1.3

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


関数

LOGPROB viterbi_segment ( HMM hmm,
HTK_Param param,
HMMWork wrk,
boolean  multipath,
int *  endstates,
int  ulen,
int **  id_ret,
int **  seg_ret,
LOGPROB **  uscore_ret,
int *  slen_ret 
)

Perform Viterbi alignment.

This function performs viterbi alignment for the given sentence HMM, input parameter and unit definition. Any segmentatino unit (word, phoneme state, etc.) is allowed: the segmentation unit should be specified by specifying a list of state id which are the end of each unit. For example, if you want to obtain phoneme alignment, the list of state number that exist at the end of phones should be specified by endstates.

引数:
hmm[in] sentence HMM to be matched
param[in] input parameter data
wrk[i/o] HMM computation work area
multipath[in] TRUE if need multi-path handling
endstates[in] list of state id that corrsponds to the ends of units
ulen[in] total number of units in the hmm
id_ret[out] Pointer to store the newly allocated array of the resulting id sequence of units on the best path.
seg_ret[out] Pointer to store the newly allocated array of the resulting end frame of each unit on the best path.
uscore_ret[out] Pointer to store the newly allocated array of the resulting score at the end frame of each unit on the best path.
slen_ret[out] Pointer to store the total number of units on the best path.
戻り値:
the total acoustic score for the whole input.

vsegment.c53 行で定義されています。

参照元 do_align().