Julius 4.2
libjulius/src/m_usage.c
説明を見る。
00001 
00018 /*
00019  * Copyright (c) 1991-2011 Kawahara Lab., Kyoto University
00020  * Copyright (c) 2000-2005 Shikano Lab., Nara Institute of Science and Technology
00021  * Copyright (c) 2005-2011 Julius project team, Nagoya Institute of Technology
00022  * All rights reserved
00023  */
00024 
00025 #include <julius/julius.h>
00026 
00044 void
00045 j_output_argument_help(FILE *fp)
00046 {
00047   Jconf *jconf;
00048 #ifdef ENABLE_PLUGIN
00049   int id;
00050   char buf[64];
00051   PLUGIN_ENTRY *p;
00052   FUNC_VOID func;
00053 #endif
00054     
00055   /* load default values */
00056   jconf = j_jconf_new();
00057 
00058   j_put_header(fp);
00059   j_put_compile_defs(fp);
00060   fprintf(fp, "\nOptions:\n");
00061 
00062   fprintf(fp, "\n--- Global Options -----------------------------------------------\n");
00063 
00064   fprintf(fp, "\n Speech Input:\n");
00065   fprintf(fp, "    (Can extract only MFCC based features from waveform)\n");
00066   fprintf(fp, "    [-input devname]    input source  (default = htkparam)\n");
00067   fprintf(fp, "         htkparam/mfcfile  HTK parameter file\n");
00068   fprintf(fp, "         file/rawfile      waveform file (%s)\n", SUPPORTED_WAVEFILE_FORMAT);
00069 #ifdef USE_MIC
00070   fprintf(fp, "         mic               default microphone device\n");
00071 # ifdef HAS_ALSA
00072   fprintf(fp, "         alsa              use ALSA interface\n");
00073 # endif
00074 # ifdef HAS_OSS
00075   fprintf(fp, "         oss               use OSS interface\n");
00076 # endif
00077 # ifdef HAS_ESD
00078   fprintf(fp, "         esd               use ESounD interface\n");
00079 # endif
00080 # ifdef HAS_PULSEAUDIO
00081   fprintf(fp, "         pulseaudio        use PulseAudio interface\n");
00082 # endif
00083 #endif
00084 #ifdef USE_NETAUDIO
00085   fprintf(fp, "         netaudio          DatLink/NetAudio server\n");
00086 #endif
00087   fprintf(fp, "         adinnet           adinnet client (TCP/IP)\n");
00088   fprintf(fp, "         stdin             standard input\n");
00089 #ifdef ENABLE_PLUGIN
00090   if (global_plugin_list) {
00091     if ((id = plugin_get_id("adin_get_optname")) >= 0) {
00092       for(p=global_plugin_list[id];p;p=p->next) {
00093         func = (FUNC_VOID) p->func;
00094         (*func)(buf, (int)64);
00095         fprintf(fp, "         %-18s(adin plugin #%d)\n", buf, p->source_id);
00096       }
00097     }
00098     if ((id = plugin_get_id("fvin_get_optname")) >= 0) {
00099       for(p=global_plugin_list[id];p;p=p->next) {
00100         func = (FUNC_VOID) p->func;
00101         (*func)(buf, (int)64);
00102         fprintf(fp, "         %-18s(feature vector input plugin #%d)\n", buf, p->source_id);
00103       }
00104     }
00105   }
00106 #endif
00107   fprintf(fp, "    [-filelist file]    filename of input file list\n");
00108 #ifdef USE_NETAUDIO
00109   fprintf(fp, "    [-NA host:unit]     get audio from NetAudio server at host:unit\n");
00110 #endif
00111   fprintf(fp, "    [-adport portnum]   adinnet port number to listen         (%d)\n", jconf->input.adinnet_port);
00112   fprintf(fp, "    [-48]               enable 48kHz sampling with internal down sampler (OFF)\n");
00113   fprintf(fp, "    [-zmean/-nozmean]   enable/disable DC offset removal      (OFF)\n");
00114   fprintf(fp, "    [-nostrip]          disable stripping off zero samples\n");
00115   fprintf(fp, "    [-record dir]       record triggered speech data to dir\n");
00116   fprintf(fp, "    [-rejectshort msec] reject an input shorter than specified\n");
00117 #ifdef POWER_REJECT
00118   fprintf(fp, "    [-powerthres value] rejection threshold of average power  (%.1f)\n", jconf->reject.powerthres);
00119 #endif
00120   
00121   fprintf(fp, "\n Speech Detection: (default: on=mic/net off=files)\n");
00122   /*fprintf(fp, "    [-pausesegment]     turn on (force) pause detection\n");*/
00123   /*fprintf(fp, "    [-nopausesegment]   turn off (force) pause detection\n");*/
00124   fprintf(fp, "    [-cutsilence]       turn on (force) skipping long silence\n");
00125   fprintf(fp, "    [-nocutsilence]     turn off (force) skipping long silence\n");
00126   fprintf(fp, "    [-lv unsignedshort] input level threshold (0-32767)       (%d)\n", jconf->detect.level_thres);
00127   fprintf(fp, "    [-zc zerocrossnum]  zerocross num threshold per sec.      (%d)\n", jconf->detect.zero_cross_num);
00128   fprintf(fp, "    [-headmargin msec]  header margin length in msec.         (%d)\n", jconf->detect.head_margin_msec);
00129   fprintf(fp, "    [-tailmargin msec]  tail margin length in msec.           (%d)\n", jconf->detect.tail_margin_msec);
00130 
00131   fprintf(fp, "\n GMM utterance verification:\n");
00132   fprintf(fp, "    -gmm filename       GMM definition file\n");
00133   fprintf(fp, "    -gmmnum num         GMM Gaussian pruning num              (%d)\n", jconf->reject.gmm_gprune_num);
00134   fprintf(fp, "    -gmmreject string   comma-separated list of noise model name to reject\n");
00135 #ifdef GMM_VAD
00136   fprintf(fp, "\n GMM-based VAD:\n");
00137   fprintf(fp, "    -gmmmargin frames   backstep margin on speech trigger     (%d)\n", jconf->detect.gmm_margin);
00138   fprintf(fp, "    -gmmup score        up-trigger threshold                  (%.1f)\n", jconf->detect.gmm_uptrigger_thres);
00139   fprintf(fp, "    -gmmdown score      down-trigger threshold                (%.1f)\n", jconf->detect.gmm_downtrigger_thres);
00140 #endif
00141 
00142   fprintf(fp, "\n On-the-fly Decoding: (default: on=mic/net off=files)\n");
00143   fprintf(fp, "    [-realtime]         turn on, input streamed with MAP-CMN\n");
00144   fprintf(fp, "    [-norealtime]       turn off, input buffered with sentence CMN\n");
00145 
00146   fprintf(fp, "\n Others:\n");
00147   fprintf(fp, "    [-C jconffile]      load options from jconf file\n");
00148   fprintf(fp, "    [-quiet]            reduce output to only word string\n");
00149   fprintf(fp, "    [-demo]             equal to \"-quiet -progout\"\n");
00150   fprintf(fp, "    [-debug]            (for debug) dump numerous log\n");
00151   fprintf(fp, "    [-callbackdebug]    (for debug) output message per callback\n");
00152   fprintf(fp, "    [-check (wchmm|trellis)] (for debug) check internal structure\n");
00153   fprintf(fp, "    [-check triphone]   triphone mapping check\n");
00154   fprintf(fp, "    [-setting]          print engine configuration and exit\n");
00155   fprintf(fp, "    [-help]             print this message and exit\n");
00156 
00157   fprintf(fp, "\n--- Instance Declarations ----------------------------------------\n\n");
00158 
00159   fprintf(fp, "    [-AM]               start a new acoustic model instance\n");
00160   fprintf(fp, "    [-LM]               start a new language model instance\n");
00161   fprintf(fp, "    [-SR]               start a new recognizer (search) instance\n");
00162   fprintf(fp, "    [-AM_GMM]           start an AM feature instance for GMM\n");
00163   fprintf(fp, "    [-GLOBAL]           start a global section\n");
00164   fprintf(fp, "    [-nosectioncheck]   disable option location check\n");
00165   fprintf(fp, "\n--- Acoustic Model Options (-AM) ---------------------------------\n");
00166 
00167   fprintf(fp, "\n Acoustic analysis:\n");
00168   fprintf(fp, "    [-htkconf file]     load parameters from the HTK Config file\n");
00169   fprintf(fp, "    [-smpFreq freq]     sample period (Hz)                    (%ld)\n", jconf->am_root->analysis.para_default.smp_freq);
00170   fprintf(fp, "    [-smpPeriod period] sample period (100ns)                 (%ld)\n", jconf->am_root->analysis.para_default.smp_period);
00171   fprintf(fp, "    [-fsize sample]     window size (sample)                  (%d)\n", jconf->am_root->analysis.para_default.framesize);
00172   fprintf(fp, "    [-fshift sample]    frame shift (sample)                  (%d)\n", jconf->am_root->analysis.para_default.frameshift);
00173   fprintf(fp, "    [-preemph]          pre-emphasis coef.                    (%.2f)\n", jconf->am_root->analysis.para_default.preEmph);
00174   fprintf(fp, "    [-fbank]            number of filterbank channels         (%d)\n", jconf->am_root->analysis.para_default.fbank_num);
00175   fprintf(fp, "    [-ceplif]           cepstral liftering coef.              (%d)\n", jconf->am_root->analysis.para_default.lifter);
00176   fprintf(fp, "    [-rawe] [-norawe]   toggle using raw energy               (no)\n");
00177   fprintf(fp, "    [-enormal] [-noenormal] toggle normalizing log energy     (no)\n");
00178   fprintf(fp, "    [-escale]           scaling log energy for enormal        (%.1f)\n", jconf->am_root->analysis.para_default.escale);
00179   fprintf(fp, "    [-silfloor]         energy silence floor in dB            (%.1f)\n", jconf->am_root->analysis.para_default.silFloor);
00180   fprintf(fp, "    [-delwin frame]     delta windows length (frame)          (%d)\n", jconf->am_root->analysis.para_default.delWin);
00181   fprintf(fp, "    [-accwin frame]     accel windows length (frame)          (%d)\n", jconf->am_root->analysis.para_default.accWin);
00182   fprintf(fp, "    [-hifreq freq]      freq. of upper band limit, off if <0  (%d)\n", jconf->am_root->analysis.para_default.hipass);
00183   fprintf(fp, "    [-lofreq freq]      freq. of lower band limit, off if <0  (%d)\n", jconf->am_root->analysis.para_default.lopass);
00184   fprintf(fp, "    [-sscalc]           do spectral subtraction (file input only)\n");
00185   fprintf(fp, "    [-sscalclen msec]   length of head silence for SS (msec)  (%d)\n", jconf->am_root->frontend.sscalc_len);
00186   fprintf(fp, "    [-ssload filename]  load constant noise spectrum from file for SS\n");
00187   fprintf(fp, "    [-ssalpha value]    alpha coef. for SS                    (%f)\n", jconf->am_root->frontend.ss_alpha);
00188   fprintf(fp, "    [-ssfloor value]    spectral floor for SS                 (%f)\n", jconf->am_root->frontend.ss_floor);
00189   fprintf(fp, "    [-zmeanframe/-nozmeanframe] frame-wise DC removal like HTK(OFF)\n");
00190   fprintf(fp, "    [-usepower/-nousepower] use power in fbank analysis       (OFF)\n");
00191   fprintf(fp, "    [-cmnload file]     load initial CMN param from file on startup\n");
00192   fprintf(fp, "    [-cmnsave file]     save CMN param to file after each input\n");
00193   fprintf(fp, "    [-cmnnoupdate]      not update CMN param while recog. (use with -cmnload)\n");
00194   fprintf(fp, "    [-cmnmapweight]     weight value of initial cm for MAP-CMN (%6.2f)\n", jconf->am_root->analysis.cmn_map_weight);
00195   fprintf(fp, "    [-cvn]              cepstral variance normalisation       (%s)\n", jconf->amnow->analysis.para.cvn ? "on" : "off");
00196   fprintf(fp, "    [-vtln alpha lowcut hicut] enable VTLN (1.0 to disable)   (%f)\n", jconf->am_root->analysis.para_default.vtln_alpha);
00197 
00198   fprintf(fp, "\n Acoustic Model:\n");
00199   fprintf(fp, "    -h hmmdefsfile      HMM definition file name\n");
00200   fprintf(fp, "    [-hlist HMMlistfile] HMMlist filename (must for triphone model)\n");
00201   fprintf(fp, "    [-iwcd1 methodname] switch IWCD triphone handling on 1st pass\n");
00202   fprintf(fp, "             best N     use N best score (default of n-gram, N=%d)\n", jconf->am_root->iwcdmaxn);
00203   fprintf(fp, "             max        use maximum score\n");
00204   fprintf(fp, "             avg        use average score (default of dfa)\n");
00205   fprintf(fp, "    [-force_ccd]        force to handle IWCD\n");
00206   fprintf(fp, "    [-no_ccd]           don't handle IWCD\n");
00207   fprintf(fp, "    [-notypecheck]      don't check input parameter type\n");
00208   fprintf(fp, "    [-spmodel HMMname]  name of short pause model             (\"%s\")\n", SPMODEL_NAME_DEFAULT);
00209   fprintf(fp, "    [-multipath]        switch decoding for multi-path HMM    (auto)\n");
00210 
00211   fprintf(fp, "\n Acoustic Model Computation Method:\n");
00212   fprintf(fp, "    [-gprune methodname] select Gaussian pruning method:\n");
00213 #ifdef GPRUNE_DEFAULT_SAFE
00214   fprintf(fp, "             safe          safe pruning (default for TM/PTM)\n");
00215 #else
00216   fprintf(fp, "             safe          safe pruning\n");
00217 #endif
00218 #if GPRUNE_DEFAULT_HEURISTIC
00219   fprintf(fp, "             heuristic     heuristic pruning (default for TM/PTM)\n");
00220 #else
00221   fprintf(fp, "             heuristic     heuristic pruning\n");
00222 #endif
00223 #if GPRUNE_DEFAULT_BEAM
00224   fprintf(fp, "             beam          beam pruning (default for TM/PTM)\n");
00225 #else
00226   fprintf(fp, "             beam          beam pruning\n");
00227 #endif
00228   fprintf(fp, "             none          no pruning (default for non tmix models)\n");
00229 #ifdef ENABLE_PLUGIN
00230   if (global_plugin_list) {
00231     if ((id = plugin_get_id("calcmix_get_optname")) >= 0) {
00232       for(p=global_plugin_list[id];p;p=p->next) {
00233         func = (FUNC_VOID) p->func;
00234         (*func)(buf, (int)64);
00235         fprintf(fp, "             %-14s(calculation plugin #%d)\n", buf, p->source_id);
00236       }
00237     }
00238   }
00239 #endif
00240   fprintf(fp, "    [-tmix gaussnum]    Gaussian num threshold per mixture for pruning (%d)\n", jconf->am_root->mixnum_thres);
00241   fprintf(fp, "    [-gshmm hmmdefs]    monophone hmmdefs for GS\n");
00242   fprintf(fp, "    [-gsnum N]          N-best state will be selected        (%d)\n", jconf->am_root->gs_statenum);
00243 
00244   fprintf(fp, "\n--- Language Model Options (-LM) ---------------------------------\n");
00245 
00246   fprintf(fp, "\n N-gram:\n");
00247   fprintf(fp, "    -d file.bingram     n-gram file in Julius binary format\n");
00248   fprintf(fp, "    -nlr file.arpa      forward n-gram file in ARPA format\n");
00249   fprintf(fp, "    -nrl file.arpa      backward n-gram file in ARPA format\n");
00250   fprintf(fp, "    [-lmp float float]  weight and penalty (tri: %.1f %.1f mono: %.1f %1.f)\n", DEFAULT_LM_WEIGHT_TRI_PASS1, DEFAULT_LM_PENALTY_TRI_PASS1, DEFAULT_LM_WEIGHT_MONO_PASS1, DEFAULT_LM_PENALTY_MONO_PASS1);
00251   fprintf(fp, "    [-lmp2 float float]       for 2nd pass (tri: %.1f %.1f mono: %.1f %1.f)\n", DEFAULT_LM_WEIGHT_TRI_PASS2, DEFAULT_LM_PENALTY_TRI_PASS2, DEFAULT_LM_WEIGHT_MONO_PASS2, DEFAULT_LM_PENALTY_MONO_PASS2);
00252   fprintf(fp, "    [-transp float]     penalty for transparent word (%+2.1f)\n", jconf->search_root->lmp.lm_penalty_trans);
00253 
00254   fprintf(fp, "\n DFA Grammar:\n");
00255   fprintf(fp, "    -dfa file.dfa       DFA grammar file\n");
00256   fprintf(fp, "    -gram file[,file2...] (list of) grammar prefix(es)\n");
00257   fprintf(fp, "    -gramlist filename  filename of grammar list\n");
00258   fprintf(fp, "    [-penalty1 float]   word insertion penalty (1st pass)     (%.1f)\n", jconf->search_root->lmp.penalty1);
00259   fprintf(fp, "    [-penalty2 float]   word insertion penalty (2nd pass)     (%.1f)\n", jconf->search_root->lmp.penalty2);
00260 
00261   fprintf(fp, "\n Word Dictionary for N-gram and DFA:\n");
00262   fprintf(fp, "    -v dictfile         dictionary file name\n");
00263   fprintf(fp, "    [-silhead wordname] (n-gram) beginning-of-sentence word   (%s)\n", BEGIN_WORD_DEFAULT);
00264   fprintf(fp, "    [-siltail wordname] (n-gram) end-of-sentence word         (%s)\n", END_WORD_DEFAULT);
00265   fprintf(fp, "    [-mapunk wordname]  (n-gram) map unknown words to this    (%s)\n", UNK_WORD_DEFAULT);
00266   fprintf(fp, "    [-forcedict]        ignore error entry and keep running\n");
00267   fprintf(fp, "    [-iwspword]         (n-gram) add short-pause word for inter-word CD sp\n");
00268   fprintf(fp, "    [-iwspentry entry]  (n-gram) word entry for \"-iwspword\" (%s)\n", IWSPENTRY_DEFAULT);
00269   fprintf(fp, "    [-adddict dictfile] (n-gram) load extra dictionary\n");
00270   fprintf(fp, "    [-addentry entry]   (n-gram) load extra word entry\n");
00271   
00272   fprintf(fp, "\n Isolated Word Recognition:\n");
00273   fprintf(fp, "    -w file[,file2...]  (list of) wordlist file name(s)\n");
00274   fprintf(fp, "    -wlist filename     file that contains list of wordlists\n");
00275   fprintf(fp, "    -wsil head tail sp  name of silence/pause model\n");
00276   fprintf(fp, "                          head - BOS silence model name       (%s)\n", jconf->lm_root->wordrecog_head_silence_model_name);
00277   fprintf(fp, "                          tail - EOS silence model name       (%s)\n", jconf->lm_root->wordrecog_tail_silence_model_name);
00278   fprintf(fp, "                           sp  - their name as context or \"NULL\" (%s)\n", (jconf->lm_root->wordrecog_silence_context_name[0] == '\0') ? "NULL" : jconf->lm_root->wordrecog_silence_context_name);
00279 #ifdef DETERMINE
00280   fprintf(fp, "    -wed float int      thresholds for early word determination\n");
00281   fprintf(fp, "                        float: score threshold    (%.1f)\n", jconf->search_root->pass1.determine_score_thres);
00282   fprintf(fp, "                        int: frame duration thres (%d)\n", jconf->search_root->pass1.determine_duration_thres);
00283 #endif
00284 
00285   fprintf(fp, "\n--- Recognizer / Search Options (-SR) ----------------------------\n");
00286 
00287 
00288   fprintf(fp, "\n Search Parameters for the First Pass:\n");
00289   fprintf(fp, "    [-b beamwidth]      beam width (by state num)             (guessed)\n");
00290   fprintf(fp, "                        (0: full search, -1: force guess)\n");
00291 #ifdef SCORE_PRUNING
00292   fprintf(fp, "    [-bs score_width]   beam width (by score offset)          (disabled)\n");
00293   fprintf(fp, "                        (-1: disable)\n");
00294 #endif
00295 #ifdef WPAIR
00296 # ifdef WPAIR_KEEP_NLIMIT
00297   fprintf(fp, "    [-nlimit N]         keeps only N tokens on each state     (%d)\n", jconf->search_root->pass1.wpair_keep_nlimit);
00298 # endif
00299 #endif
00300 #ifdef SEPARATE_BY_UNIGRAM
00301   fprintf(fp, "    [-sepnum wordnum]   (n-gram) # of hi-freq word isolated from tree (%d)\n", jconf->lm_root->separate_wnum);
00302 #endif
00303 #ifdef HASH_CACHE_IW
00304   fprintf(fp, "    [-iwcache percent]  (n-gram) amount of inter-word LM cache (%3d)\n", jconf->search_root->pass1.iw_cache_rate);
00305 #endif
00306   fprintf(fp, "    [-1pass]            do 1st pass only, omit 2nd pass\n");
00307   fprintf(fp, "    [-inactive]         recognition process not active on startup\n");
00308 
00309   fprintf(fp, "\n Search Parameters for the Second Pass:\n");
00310   fprintf(fp, "    [-b2 hyponum]       word envelope beam width (by hypo num) (%d)\n",jconf->search_root->pass2.enveloped_bestfirst_width);
00311   fprintf(fp, "    [-n N]              # of sentence to find                 (%d)\n", jconf->search_root->pass2.nbest);
00312   fprintf(fp, "    [-output N]         # of sentence to output               (%d)\n",jconf->search_root->output.output_hypo_maxnum);
00313 #ifdef SCAN_BEAM
00314   fprintf(fp, "    [-sb score]         score beam threshold (by score)       (%.1f)\n", jconf->search_root->pass2.scan_beam_thres);
00315 #endif
00316   fprintf(fp, "    [-s hyponum]        global stack size of hypotheses       (%d)\n", jconf->search_root->pass2.stack_size);
00317   fprintf(fp, "    [-m hyponum]        hypotheses overflow threshold num     (%d)\n", jconf->search_root->pass2.hypo_overflow);
00318 
00319   fprintf(fp, "    [-lookuprange N]    frame lookup range in word expansion  (%d)\n", jconf->search_root->pass2.lookup_range);
00320   fprintf(fp, "    [-looktrellis]      (dfa) expand only backtrellis words\n");
00321   fprintf(fp, "    [-[no]multigramout] (dfa) output per-grammar results\n");
00322   fprintf(fp, "    [-oldtree]          (dfa) use old build_wchmm()\n");
00323 #ifdef PASS1_IWCD
00324   fprintf(fp, "    [-oldiwcd]          (dfa) use full lcdset\n");
00325 #endif
00326   fprintf(fp, "    [-iwsp]             insert sp for all word end (multipath)(off)\n");
00327   fprintf(fp, "    [-iwsppenalty]      trans. penalty for iwsp (multipath)   (%.1f)\n", jconf->am_root->iwsp_penalty);
00328 
00329   fprintf(fp, "\n Short-pause Segmentation:\n");
00330   fprintf(fp, "    [-spsegment]        enable short-pause segmentation\n");
00331   fprintf(fp, "    [-spdur]            length threshold of sp frames         (%d)\n", jconf->search_root->successive.sp_frame_duration);
00332 #ifdef SPSEGMENT_NAIST
00333   fprintf(fp, "    [-spmargin]         backstep margin on speech trigger     (%d)\n", jconf->search_root->successive.sp_margin);
00334   fprintf(fp, "    [-spdelay]          delay on speech trigger               (%d)\n", jconf->search_root->successive.sp_delay);
00335 #endif
00336   fprintf(fp, "    [-pausemodels str]  comma-delimited list of pause models for segment\n");
00337 
00338   fprintf(fp, "\n Graph Output with graph-oriented search:\n");
00339   fprintf(fp, "    [-lattice]          enable word graph (lattice) output\n");
00340   fprintf(fp, "    [-confnet]          enable confusion network output\n");
00341   fprintf(fp, "    [-nolattice]][-noconfnet] disable lattice / confnet output\n");
00342   fprintf(fp, "    [-graphrange N]     merge same words in graph (%d)\n", jconf->search_root->graph.graph_merge_neighbor_range);
00343   fprintf(fp, "                        -1: not merge, leave same loc. with diff. score\n");
00344   fprintf(fp, "                         0: merge same words at same location\n");
00345   fprintf(fp, "                        >0: merge same words around the margin\n");
00346 #ifdef GRAPHOUT_DEPTHCUT
00347   fprintf(fp, "    [-graphcut num]     graph cut depth at postprocess (-1: disable)(%d)\n", jconf->search_root->graph.graphout_cut_depth);
00348 #endif
00349 #ifdef GRAPHOUT_LIMIT_BOUNDARY_LOOP
00350   fprintf(fp, "    [-graphboundloop num] max. num of boundary adjustment loop (%d)\n", jconf->search_root->graph.graphout_limit_boundary_loop_num);
00351 #endif
00352 #ifdef GRAPHOUT_SEARCH_DELAY_TERMINATION
00353   fprintf(fp, "    [-graphsearchdelay] inhibit search termination until 1st sent. found\n");
00354   fprintf(fp, "    [-nographsearchdelay] disable it (default)\n");
00355 #endif
00356 
00357   fprintf(fp, "\n Forced Alignment:\n");
00358   fprintf(fp, "    [-walign]           optionally output word alignments\n");
00359   fprintf(fp, "    [-palign]           optionally output phoneme alignments\n");
00360   fprintf(fp, "    [-salign]           optionally output state alignments\n");
00361 #ifdef CONFIDENCE_MEASURE
00362   fprintf(fp, "\n Confidence Score:\n");
00363 #ifdef CM_MULTIPLE_ALPHA
00364   fprintf(fp, "    [-cmalpha f t s]    CM smoothing factor        (from, to, step)\n");
00365 #else
00366   fprintf(fp, "    [-cmalpha value]    CM smoothing factor                    (%f)\n", jconf->search_root->annotate.cm_alpha);
00367 #endif
00368 #ifdef CM_SEARCH_LIMIT
00369   fprintf(fp, "    [-cmthres value]    CM threshold to cut hypo on 2nd pass   (%f)\n", jconf->search_root->annotate.cm_cut_thres);
00370 #endif
00371 #endif /* CONFIDENCE_MEASURE */
00372   fprintf(fp, "\n Message Output:\n");
00373   fprintf(fp, "    [-fallback1pass]    use 1st pass result when search failed\n");
00374   fprintf(fp, "    [-progout]          progressive output in 1st pass\n");
00375   fprintf(fp, "    [-proginterval]     interval of progout in msec           (%d)\n", jconf->search_root->output.progout_interval);
00376 
00377   fprintf(fp, "\n-------------------------------------------------\n");
00378 
00379   j_jconf_free(jconf);
00380 
00381   /* output application-side options */
00382   useropt_show_desc(fp);
00383 
00384 }
00385 
00386 /* end of file */