#include <sent/stddefs.h>
#include <sent/htk_param.h>
#include <sent/hmm.h>
Include dependency graph for vsegment.c:
Go to the source code of this file.
Functions | |
LOGPROB | viterbi_segment (HMM *hmm, HTK_Param *param, int *endstates, int ulen, int **id_ret, int **seg_ret, LOGPROB **uscore_ret, int *slen_ret) |
Perform Viterbi alignment. |
Definition in file vsegment.c.
|
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.
Definition at line 50 of file vsegment.c. Referenced by do_align(). |