#include <julius.h>
Include dependency graph for m_chkparam.c:
Go to the source code of this file.
Functions | |
void | checkpath (char *filename) |
static void | checkdir (char *dirname) |
void | check_specs () |
Check the user-specified parameters. | |
static int | default_width () |
Returns the pre-defined default beam width on 1st pass of beam search. | |
int | set_beam_width (WCHMM_INFO *wchmm, int specified) |
Determine beam width on the 1st pass. | |
void | set_lm_weight () |
void | set_lm_weight2 () |
Definition in file m_chkparam.c.
void checkpath | ( | char * | filename | ) |
Check if a file actually exist and is readable.
filename | [in] file path name |
Definition at line 39 of file m_chkparam.c.
Referenced by check_specs().
static void checkdir | ( | char * | dirname | ) | [static] |
Check if a directory exists and is writable.
dirname | [in] directory path name |
Definition at line 60 of file m_chkparam.c.
Referenced by check_specs().
void check_specs | ( | ) |
Check the user-specified parameters.
This functions checks whether the specified files actually exist, and also the mutual coherence of the parameters and their correspondence with used model is also checked. If a serious error is found, it produces error and exits.
Definition at line 87 of file m_chkparam.c.
Referenced by main().
static int default_width | ( | ) | [static] |
Returns the pre-defined default beam width on 1st pass of beam search.
The default beam width will be selected from the pre-defined values according to the compilation-time engine setting and the type of acoustic model. The pre-defined values were determined from the development experiments on IPA evaluation testset of Japanese 20k-word dictation task.
Definition at line 218 of file m_chkparam.c.
Referenced by set_beam_width().
int set_beam_width | ( | WCHMM_INFO * | wchmm, | |
int | specified | |||
) |
Determine beam width on the 1st pass.
wchmm | [in] tree lexicon data | |
specified | [in] user-specified beam width (0: full search, -1: not specified) |
Definition at line 283 of file m_chkparam.c.
Referenced by final_fusion().
void set_lm_weight | ( | ) |
Set default values of LM weight and word insertion penalty on the 1st pass depending on the acoustic model type.
Definition at line 318 of file m_chkparam.c.
Referenced by configure_param().
void set_lm_weight2 | ( | ) |
Set default values of LM weight and word insertion penalty on the 2nd pass depending on the acoustic model type.
Definition at line 342 of file m_chkparam.c.
Referenced by configure_param().