libjulius/src/m_chkparam.c File Reference

Post processing of parameters for recognition. More...

#include <julius/julius.h>

Go to the source code of this file.

Functions

boolean checkpath (char *filename)
 Check if a file actually exist and is readable.
boolean j_jconf_finalize (Jconf *jconf)
 Check and finalize jconf parameters.
static int default_width (HTK_HMM_INFO *hmminfo)
 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.


Detailed Description

Post processing of parameters for recognition.

These functions will finalize the parameter values for recognition. They check for parameters given from jconf file or command line, set default values if needed, and prepare for recognition.

Author:
Akinobu LEE
Date:
Fri Mar 18 16:31:45 2005
Revision
1.1.1.1

Definition in file m_chkparam.c.


Function Documentation

boolean checkpath ( char *  filename  ) 

Check if a file actually exist and is readable.

Parameters:
filename [in] file path name

Definition at line 49 of file m_chkparam.c.

Referenced by j_jconf_finalize(), multigram_add_prefix_filelist(), and multigram_add_prefix_list().

static int default_width ( HTK_HMM_INFO hmminfo  )  [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.

Returns:
the selected default beam width.

Definition at line 365 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.

Parameters:
wchmm [in] tree lexicon data
specified [in] user-specified beam width (0: full search, -1: not specified)
Returns:
the final beam width to be used.

Definition at line 433 of file m_chkparam.c.

Referenced by j_launch_recognition_instance(), and multigram_rebuild_wchmm().

Here is the caller graph for this function:


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