Julius 4.2
|
Configuration parameters (global) [詳細]
#include <jconf.h>
変数 | |
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 |
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. | |
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_get_current_filename(), 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().
id of the selected plug-in if using plugin
参照元 adin_initialize(), jconf_set_default_values(), opt_parse(), と print_engine_info().
long Jconf::sfreq |
long Jconf::period |
Sampling period in 100ns units.
参照元 decode_end(), decode_end_segmented(), j_load_all(), j_recognize_stream_core(), jconf_set_default_values(), と status_param().
int Jconf::framesize |
Window size in samples, similar to WINDOWSIZE in HTK (unit is different)
参照元 j_load_all(), jconf_set_default_values(), RealTimeInit(), と wav2mfcc().
Frame shift length in samples.
参照元 decode_end(), decode_end_segmented(), j_load_all(), j_recognize_stream_core(), jconf_set_default_values(), RealTimeInit(), RealTimePipeLine(), RealTimeResume(), status_param(), と wav2mfcc().
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(), 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(), と print_engine_info().
TRUE if a kind of speech segmentation is enabled.
参照元 adin_setup_param(), decode_end(), decode_end_segmented(), decode_proceed(), get_back_trellis(), j_jconf_finalize(), j_recognize_stream_core(), jconf_set_default_values(), RealTimeCMNUpdate(), RealTimeParam(), RealTimePipeLine(), RealTimePipeLinePrepare(), RealTimeResume(), result_gmm(), spsegment_need_restart(), status_pass1_begin(), status_pass1_end(), status_recognition_begin(), と status_recognition_end().
Configurations for acoustic models (HMM, HMMList) and am-specific parameters.
参照元 initialize_GMM(), j_config_remove_initial(), j_get_amconf_by_id(), j_get_amconf_by_name(), j_get_amconf_default(), j_jconf_am_regist(), j_jconf_finalize(), j_jconf_free(), j_jconf_new(), j_load_all(), j_output_argument_help(), j_process_am_remove(), opt_parse(), opt_release(), と print_jconf_overview().
Search parameters (LM/AM independent), annotation, and output parameters.
参照元 j_config_remove_initial(), j_final_fusion(), j_get_searchconf_by_id(), j_get_searchconf_by_name(), j_jconf_finalize(), j_jconf_free(), j_jconf_new(), j_jconf_search_regist(), j_load_lm(), j_output_argument_help(), j_process_remove(), opt_parse(), opt_release(), と print_jconf_overview().
Current JCONF_AM for reading options.
Config parameters for GMM computation.
(only gmmconf->analysis.* is used)
参照元 create_mfcc_calc_instances(), initialize_GMM(), j_jconf_new(), j_load_all(), と opt_parse().
short Jconf::optsection |
Current option declaration mode while loading options.
Whether option sectioning ristriction should be applied or not.