#include <jconf.h>
変数 | |
struct { | |
int speech_input | |
Input source. | |
long sfreq | |
Sampling frequency | |
long period | |
Sampling period in 100ns units | |
int framesize | |
Window size in samples, similar to WINDOWSIZE in HTK (unit is different) | |
int frameshift | |
Frame shift length in samples | |
boolean use_ds48to16 | |
Use 48kHz input and perform down sampling to 16kHz (-48) | |
char * inputlist_filename | |
List of input files for rawfile / mfcfile input (-filelist) | |
int adinnet_port | |
Port number for adinnet input (-adport) | |
char * netaudio_devname | |
Host/unit name for NetAudio/DatLink input (-NA) | |
boolean paramtype_check_flag | |
Check input parameter type with header of the hmmdefs for parameter file input. | |
} | input |
struct { | |
int level_thres | |
Input level threshold from 0 to 32767 (-lv) | |
int head_margin_msec | |
Head margin in msec (-headmargin) | |
int tail_margin_msec | |
Tail margin in msec (-tailmargin) | |
int zero_cross_num | |
Zero cross number threshold per a second (-zc) | |
int silence_cut | |
Silence detection and cutting: 0=off, 1=on, 2=accept device default (-cutsilence / -nocutsilence) | |
} | detect |
struct { | |
boolean strip_zero_sample | |
Strip off zero samples (-nostrip to unset) | |
boolean use_zmean | |
Remove DC offset by zero mean (-zmean / -nozmean) | |
} | preprocess |
struct { | |
char * gmm_filename | |
GMM definition file (-gmm) | |
int gmm_gprune_num | |
Number of Gaussians to be computed on GMM calculation (-gmmnum) | |
char * gmm_reject_cmn_string | |
Comma-separated list of GMM model name to be rejected (-gmmreject) | |
int rejectshortlen | |
Length threshold to reject input (-rejectshort) | |
} | reject |
struct { | |
boolean realtime_flag | |
INTERNAL: do on-the-fly decoding if TRUE (value depends on device default and forced_realtime. | |
boolean force_realtime_flag | |
INTERNAL: TRUE if either of "-realtime" or "-norealtime" is explicitly specified by user. | |
boolean forced_realtime | |
Force on-the-fly decoding on 1st pass with audio input and MAP-CMN (-realtime / -norealtime) | |
boolean segment | |
TRUE if a kind of speech segmentation is enabled | |
} | decodeopt |
JCONF_AM * | am_root |
Configurations for acoustic models (HMM, HMMList) and am-specific parameters | |
JCONF_LM * | lm_root |
Language models (N-gram / DFA), dictionary, and related parameters. | |
JCONF_SEARCH * | search_root |
Search parameters (LM/AM independent), annotation, and output parameters | |
JCONF_LM * | lmnow |
Current JCONF_AM for reading options | |
JCONF_AM * | amnow |
Current JCONF_AM for reading options | |
JCONF_SEARCH * | searchnow |
Current JCONF_AM for reading options | |
JCONF_AM * | gmm |
Config parameters for GMM computation. |
boolean Jconf::paramtype_check_flag |
Check input parameter type with header of the hmmdefs for parameter file input.
FALSE avoids the check.
boolean Jconf::force_realtime_flag |
INTERNAL: TRUE if either of "-realtime" or "-norealtime" is explicitly specified by user.
When TRUE, the user-specified value in forced_realtime will be applied to realtime_flag.
参照元 j_jconf_finalize(), jconf_set_default_values(), opt_parse(), と print_engine_info().
Config parameters for GMM computation.
(only gmmconf->analysis.* is used)
参照元 create_mfcc_calc_instances(), initialize_GMM(), j_jconf_new(), と opt_parse().