libsent/src/voca/init_voca.c File Reference

Load a word dictionary into memory. More...

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

Go to the source code of this file.

Functions

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.


Detailed Description

Load a word dictionary into memory.

Author:
Akinobu LEE
Date:
Fri Feb 18 19:41:12 2005
Revision
1.1.1.1

Definition in file init_voca.c.


Function Documentation

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.

Parameters:
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
Returns:
TRUE on success, FALSE on failure.

Definition at line 41 of file init_voca.c.

Referenced by initialize_dict(), and 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.

Parameters:
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
Returns:
TRUE on success, FALSE on failure.

Definition at line 81 of file init_voca.c.

Referenced by multigram_read_file_and_add().


Generated on Tue Dec 18 16:01:41 2007 for Julius by  doxygen 1.5.4