#include <julius.h>
Include dependency graph for hmm_check.c:
Go to the source code of this file.
Defines | |
#define | PHSTEP 10 |
Malloc step for phoneme conversion. | |
Functions | |
static HMM_Logical ** | new_str2phseq (char *str, HTK_HMM_INFO *hmminfo, int *len_ret) |
Convert phoneme sequences to logical HMM sequences, and output the result. | |
static void | test_expand_triphone (HTK_HMM_INFO *hmminfo) |
void | hmm_check (HTK_HMM_INFO *hmminfo, WORD_INFO *winfo) |
Definition in file hmm_check.c.
|
Convert phoneme sequences to logical HMM sequences, and output the result. This function is for testing procedure to convert words in dictionary to corresponding HMM sequences in Julius/Julian, given an HMMList and HTK HMM definition. Given a space-separated list of phoneme names in a string, each phonemes will be converted to context-dependent style (if using triphone model), and then converted to HMM sequence that will finally be used for recognition. Then, the following data will be output for all HMM:
Additionally, specifying '|' in the string gives a word boundary between phonemes, and triphone conversion will consider the cross-word expansion.
Definition at line 80 of file hmm_check.c. Referenced by test_expand_triphone(). |
|
Read in line from stdin as phoneme sequence and try convertion to triphone for checking.
Definition at line 252 of file hmm_check.c. Referenced by hmm_check(). |
|
Mode to do interactive triphone conversion check ("-check hmm").
Definition at line 289 of file hmm_check.c. Referenced by initialize_dict(), and multigram_read_file(). |