Julius 4.2
関数
libsent/src/voca/init_voca.c

単語辞書ファイルをメモリに読み込む [詳細]

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

ソースコードを見る。

関数

boolean init_voca (WORD_INFO *winfo, char *filename, HTK_HMM_INFO *hmminfo, boolean not_conv_tri, boolean force_dict)
 Load and initialize a word dictionary.
boolean init_wordlist (WORD_INFO *winfo, char *filename, HTK_HMM_INFO *hmminfo, char *headphone, char *tailphone, char *contextphone, boolean force_dict)
 Load and initialize a word list for isolated word recognition.

説明

単語辞書ファイルをメモリに読み込む

作者:
Akinobu LEE
日付:
Fri Feb 18 19:41:12 2005
Revision:
1.3

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


関数

boolean init_voca ( WORD_INFO winfo,
char *  filename,
HTK_HMM_INFO hmminfo,
boolean  not_conv_tri,
boolean  force_dict 
)

Load and initialize a word dictionary.

引数:
winfo[out] pointer to a word dictionary data to store the read data
filename[in] file name of the word dictionary to read
hmminfo[in] HMM definition data, needed for triphone conversion.
not_conv_tri[in] TRUE if not converting monophone to triphone.
force_dict[in] TRUE if want to ignore the error words in the dictionary
戻り値:
TRUE on success, FALSE on failure.

init_voca.c41 行で定義されています。

参照元 initialize_dict(), と multigram_read_file_and_add().

boolean init_wordlist ( WORD_INFO winfo,
char *  filename,
HTK_HMM_INFO hmminfo,
char *  headphone,
char *  tailphone,
char *  contextphone,
boolean  force_dict 
)

Load and initialize a word list for isolated word recognition.

引数:
winfo[out] pointer to a word dictionary data to store the read data
filename[in] file name of the word dictionary to read
hmminfo[in] HMM definition data, needed for triphone conversion.
headphone[in] word head silence phone name
tailphone[in] word tail silence phone name
conextphone[in] silence context name at head and tail phoneme
force_dict[in] TRUE if want to ignore the error words in the dictionary
戻り値:
TRUE on success, FALSE on failure.

init_voca.c81 行で定義されています。

参照元 multigram_read_file_and_add().