#include <jconf.h>
__Jconf__のコラボレーション図
変数 | |
struct { | |
int type | |
Input source type. | |
int speech_input | |
Input source. | |
int device | |
Input device. | |
int plugin_source | |
id of the selected plug-in if using plugin | |
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 |
Input source information, gathered from all AM conf. | |
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 |
Configurations for Voice activity detection | |
struct { | |
boolean strip_zero_sample | |
Strip off zero samples (-nostrip to unset) | |
boolean use_zmean | |
Remove DC offset by zero mean (-zmean / -nozmean) | |
} | preprocess |
Pre-processing parameters before frontends | |
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 |
Models and parameters for input rejection | |
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 |
decoding parameters to control recognition process (global) | |
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. | |
short | optsection |
Current option declaration mode while loading options | |
boolean | optsectioning |
Whether option sectioning ristriction should be applied or not |
int __Jconf__::type |
Input source type.
(waveform / mfc)
参照元 initialize_GMM()・initialize_HMM()・j_adin_init()・j_close_stream()・j_final_fusion()・j_jconf_finalize()・j_open_stream()・j_recognize_stream_core()・j_request_pause()・j_request_resume()・j_request_terminate()・jconf_set_default_values()・opt_parse()・print_engine_info()・RealTimeParam()・RealTimePipeLinePrepare()・RealTimeResume().
Check input parameter type with header of the hmmdefs for parameter file input.
FALSE avoids the check.
参照元 j_recognize_stream_core()・jconf_set_default_values()・mfc_module_set_header()・opt_parse()・RealTimePipeLinePrepare().
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().
Config parameters for GMM computation.
(only gmmconf->analysis.* is used)
参照元 create_mfcc_calc_instances()・initialize_GMM()・j_jconf_new()・j_load_all()・opt_parse().