cmdln_macro.h File Reference

Go to the source code of this file.

Defines

#define vq_cluster_command_line_macro()
#define gmm_command_line_macro()
#define acoustic_model_command_line_macro()
#define language_model_command_line_macro()
#define finite_state_grammar_command_line_macro()
#define log_table_command_line_macro()
#define phoneme_lookahead_command_line_macro()
#define histogram_pruning_command_line_macro()
#define dictionary_command_line_macro()
#define gaussian_selection_command_line_macro()
#define fast_GMM_computation_command_line_macro()
#define speaker_adaptation_command_line_macro()
#define common_filler_properties_command_line_macro()
#define phone_insertion_penalty_command_line_macro()
#define common_s3x_beam_properties_command_line_macro()
#define common_application_properties_command_line_macro()
#define control_file_handling_command_line_macro()
#define hypothesis_file_handling_command_line_macro()
#define score_handling_command_line_macro()
#define cepstral_input_handling_command_line_macro()
#define output_lattice_handling_command_line_macro()
#define history_table_command_line_macro()
#define decode_specific_command_line_macro()
#define dag_handling_command_line_macro()
#define second_stage_dag_handling_command_line_macro()
#define input_lattice_handling_command_line_macro()
#define flat_fwd_debugging_command_line_macro()
#define search_specific_command_line_macro()
#define search_modeTST_specific_command_line_macro()
#define search_modeWST_specific_command_line_macro()
#define partial_hypothesis_command_line_macro()
#define control_lm_file_command_line_macro()
#define control_mllr_file_command_line_macro()
#define control_lm_mllr_file_command_line_macro()

Define Documentation

 
#define acoustic_model_command_line_macro (  ) 
Value:
gmm_command_line_macro(), \
    { "-hmm", \
      ARG_STRING, \
      NULL, \
      "Directory for specifying Sphinx 3's hmm, the following files are assummed to be present, mdef, mean, var, mixw, tmat. If -mdef, -mean, -var, -mixw or -tmat are specified, they will override this command. "}, \
    { "-featparams",                                                        \
      ARG_STRING,                                                               \
      NULL,                                                                     \
      "File containing feature extraction parameters."},                        \
    { "-mdef", \
      ARG_STRING,\
      NULL,\
      "Model definition input file" },\
    { "-tmat",\
      ARG_STRING,\
      NULL,\
      "HMM state transition matrix input file" },\
    { "-tmatfloor",\
      ARG_FLOAT32,\
      "0.0001",\
      "HMM state transition probability floor (applied to -tmat file)" },\
    { "-senmgau",\
      ARG_STRING,\
      ".cont.",\
      "Senone to mixture-gaussian mapping file (or .semi. or .cont.)" }, \
    { "-topn", \
      ARG_INT32, \
      "4", \
      "(S3.0 GMM Computation only) No. of top scoring densities computed in each mixture gaussian codebook (semi-continuous models only)" }
 
#define cepstral_input_handling_command_line_macro (  ) 
Value:
{ "-cepdir", \
      ARG_STRING, \
      NULL, \
      "Input cepstrum files directory (prefixed to filespecs in control file)" }, \
    { "-cepext", \
      ARG_STRING, \
      ".mfc", \
      "Input cepstrum files extension (prefixed to filespecs in control file)" },  \
    { "-adcin", \
      ARG_BOOLEAN, \
      "no", \
      "Input is waveform data rather than cepstra (-cepdir and -cepext are still used)" }, \
    { "-adchdr", \
      ARG_INT32, \
      "0", \
      "Number of bytes to skip at the beginning of a waveform file (44 for WAV, 1024 for Sphere)" }
 
#define common_application_properties_command_line_macro (  ) 
Value:
{ "-logfn", \
      ARG_STRING, \
      NULL, \
      "Log file (default stdout/stderr)" }
 
#define common_filler_properties_command_line_macro (  ) 
Value:
{ "-fillpen", \
      ARG_STRING, \
      NULL, \
      "Filler word probabilities input file (used in place of -silpen and -noisepen)" }, \
    { "-silprob", \
      ARG_FLOAT32, \
      "0.1", \
      "Default silence word probability" }, \
    { "-fillprob", \
      ARG_FLOAT32, \
      "0.1", \
      "Default non-silence filler word probability" }, \
    { "-lw", \
      ARG_FLOAT32, \
      "9.5", \
      "Language weight" }, \
    { "-wip", \
      ARG_FLOAT32, \
      "0.7", \
      "Word insertion penalty" }, \
    { "-uw", \
      ARG_FLOAT32, \
      "0.7", \
      "Unigram weight" }
 
#define common_s3x_beam_properties_command_line_macro (  ) 
Value:
{ "-beam", \
      ARG_FLOAT64, \
      "1.0e-55", \
      "Beam selecting active HMMs (relative to best) in each frame [0(widest)..1(narrowest)]" }, \
    { "-pbeam", \
      ARG_FLOAT64, \
      "1.0e-50", \
      "Beam selecting HMMs transitioning to successors in each frame [0(widest)..1(narrowest)]" }, \
    { "-wbeam", \
      ARG_FLOAT64, \
      "1.0e-35", \
      "Beam selecting word-final HMMs exiting in each frame [0(widest)..1(narrowest)]" }, \
    { "-wend_beam", \
      ARG_FLOAT64, \
      "1.0e-80", \
      "Beam selecting word-final HMMs exiting in each frame [0(widest) .. 1(narrowest)]" }, \
    { "-ptranskip", \
      ARG_INT32, \
      "0", \
      "(Not used in Mode 3) Use wbeam for phone transitions every so many frames (if >= 1)" }
 
#define control_file_handling_command_line_macro (  ) 
Value:
{ "-ctl", \
      ARG_STRING, \
      NULL, \
      "Control file listing utterances to be processed" }, \
    { "-ctloffset", \
      ARG_INT32, \
      "0", \
      "No. of utterances at the beginning of -ctl file to be skipped" }, \
    { "-ctlcount", \
      ARG_INT32, \
      "1000000000",     /* A big number to approximate the default: "until EOF" */ \
      "No. of utterances to be processed (after skipping -ctloffset entries)" }
 
#define control_lm_file_command_line_macro (  ) 
Value:
{ "-ctl_lm", \
      ARG_STRING, \
      NULL, \
      "(Not used in mode 2 and 3) Control file that list the corresponding LMs" }
 
#define control_lm_mllr_file_command_line_macro (  ) 
 
#define control_mllr_file_command_line_macro (  ) 
Value:
{ "-ctl_mllr", \
      ARG_STRING, \
      NULL, \
      "Control file that list the corresponding MLLR matrix for an utterance"}
 
#define dag_handling_command_line_macro (  ) 
Value:
{ "-min_endfr", \
      ARG_INT32, \
      "3", \
      "Nodes ignored during search if they persist for fewer than so many end frames" }, \
    { "-dagfudge", \
      ARG_INT32, \
      "2", \
      "(0..2); 1 or 2: add edge if endframe == startframe; 2: if start == end-1" }, \
    { "-maxedge", \
      ARG_INT32, \
      "2000000", \
      "Max DAG edges allowed in utterance; aborted if exceeded; controls memory usage" }, \
    { "-maxlmop", \
      ARG_INT32, \
      "100000000", \
      "Max LMops in utterance after which it is aborted; controls CPU use (see maxlpf)" }, \
    { "-maxlpf", \
      ARG_INT32, \
      "40000", \
      "Max LMops/frame after which utterance aborted; controls CPU use (see maxlmop)" }, \
    {"-latcompress", \
      ARG_BOOLEAN, \
      "yes", \
      "Whether lattice is compressed."}
 
#define decode_specific_command_line_macro (  ) 
Value:
{ "-mode", \
    ARG_STRING, \
    "fwdtree",\
    "Decoding mode, one of allphone, fsg, fwdflat, fwdtree."}, \
    { "-op_mode", \
      ARG_INT32, \
      "-1", \
      "Operation mode, for internal use only."}, \
    { "-hmmdump", \
      ARG_BOOLEAN, \
      "no", \
      "Whether to dump active HMM details to stderr (for debugging)" }, \
    { "-lextreedump", \
      ARG_INT32, \
      "0", \
      "Whether to dump the lextree structure to stderr (for debugging), 1 for Ravi's format, 2 for Dot format, Larger than 2 will be treated as Ravi's format" }, \
    { "-bghist", \
      ARG_BOOLEAN, \
      "no", \
      "Bigram-mode: If TRUE only one BP entry/frame; else one per LM state" }, \
    { "-treeugprob", \
      ARG_BOOLEAN, \
      "yes", \
      "If true, Use unigram probs in lextree" }
 
#define dictionary_command_line_macro (  ) 
Value:
{ "-dict", \
      ARG_STRING, \
      NULL, \
      "Main pronunciation dictionary (lexicon) input file" }, \
    { "-fdict", \
      ARG_STRING, \
      NULL, \
      "Silence and filler (noise) word pronunciation dictionary input file" }, \
    { "-lts_mismatch", \
      ARG_BOOLEAN, \
      "no", \
      "Use CMUDict letter-to-sound rules to generate pronunciations for LM words doesn't appear in the dictionary . Use it with care. It assumes that the phone set in the mdef and dict are the same as the LTS rule. "}
 
#define fast_GMM_computation_command_line_macro (  ) 
 
#define finite_state_grammar_command_line_macro (  ) 
Value:
{ "-fsg", \
      ARG_STRING, \
      NULL, \
      "(FSG Mode (Mode 2) only) Finite state grammar"}, \
    { "-fsgusealtpron", \
      ARG_BOOLEAN, \
      "yes", \
      "(FSG Mode (Mode 2) only) Use alternative pronunciations for FSG"}, \
    { "-fsgusefiller", \
      ARG_BOOLEAN, \
      "yes", \
      "(FSG Mode (Mode 2) only) Insert filler words at each state."}
 
#define flat_fwd_debugging_command_line_macro (  ) 
Value:
{ "-tracewhmm", \
      ARG_STRING, \
      NULL, \
      "(Mode 3 only) Word whose active HMMs are to be traced (for debugging/diagnosis/analysis)" }, \
    { "-hmmdumpef", \
      ARG_INT32, \
      "200000000", \
      "(Mode 3 only) Ending frame for dumping all active HMMs (for debugging/diagnosis/analysis)" }, \
    { "-hmmdumpsf", \
      ARG_INT32, \
      "200000000", \
      "(Mode 3 only) Starting frame for dumping all active HMMs (for debugging/diagnosis/analysis)" }, \
    { "-worddumpef", \
      ARG_INT32, \
      "200000000", \
      "(Mode 3 only) Ending frame for dumping all active words (for debugging/diagnosis/analysis)" }, \
    { "-worddumpsf", \
      ARG_INT32, \
      "200000000", \
      "(Mode 3 only) Starting frame for dumping all active words (for debugging/diagnosis/analysis)" }
 
#define gaussian_selection_command_line_macro (  ) 
Value:
{ "-gs", \
      ARG_STRING, \
      NULL, \
      "Gaussian Selection Mapping." }
 
#define gmm_command_line_macro (  ) 
Value:
{ "-mean",\
      ARG_STRING,\
      NULL,\
      "Mixture gaussian means input file" },\
    { "-var",\
      ARG_STRING,\
      NULL,\
      "Mixture gaussian variances input file" },\
    { "-varfloor",\
      ARG_FLOAT32,\
      "0.0001",\
      "Mixture gaussian variance floor (applied to data from -var file)" },\
    { "-mixw",\
      ARG_STRING,\
      NULL,\
      "Senone mixture weights input file" },\
    { "-mixwfloor",\
      ARG_FLOAT32,\
      "0.0000001",\
      "Senone mixture weights floor (applied to data from -mixw file)" }
 
#define histogram_pruning_command_line_macro (  ) 
Value:
{ "-maxwpf", \
      ARG_INT32, \
      "20", \
      "(Only used in Mode 4 and 5) Max no. of distinct word exits to maintain at each frame" }, \
    { "-maxhistpf", \
      ARG_INT32, \
      "100", \
      "(Only used in Mode 4 and 5) Max no. of histories to maintain at each frame" }, \
    { "-hmmhistbinsize", \
      ARG_INT32, \
      "5000", \
      "(Only used in Mode 4 and 5) Performance histogram: #frames vs #HMMs active; #HMMs/bin in this histogram" }, \
    { "-maxhmmpf", \
      ARG_INT32, \
      "20000", \
      "(Only used in Mode 4 and 5) Max no. of active HMMs to maintain at each frame; approx." }
 
#define history_table_command_line_macro (  ) 
Value:
{ "-bptbldir", \
      ARG_STRING, \
      NULL, \
      "Directory in which to dump word Viterbi back pointer table (for debugging)" }, \
    { "-bptblsize", \
      ARG_INT32, \
      "32768", \
      "Number of BPtable entries to allocate initially (grown as necessary)" }
 
#define hypothesis_file_handling_command_line_macro (  ) 
Value:
{ "-hyp", \
      ARG_STRING, \
      NULL, \
      "Recognition result file, with only words" }, \
    { "-hypseg", \
      ARG_STRING, \
      NULL, \
      "Recognition result file, with word segmentations and scores" }
 
#define input_lattice_handling_command_line_macro (  ) 
Value:
{ "-inlatdir", \
      ARG_STRING, \
      NULL, \
      "Input word-lattice directory with per-utt files for restricting words searched" }, \
    { "-inlatwin", \
      ARG_INT32, \
      "50", \
      "Input word-lattice words starting within +/- <this argument> of current frame considered during search" }
 
#define language_model_command_line_macro (  ) 
Value:
{ "-lm", \
      ARG_STRING, \
      NULL, \
      "Word trigram language model input file" }, \
    { "-lmctlfn", \
      ARG_STRING, \
      NULL, \
      "Specify a set of language model\n"}, \
    { "-lmdumpdir", \
      ARG_STRING, \
      NULL, \
      "The directory for dumping the DMP file. "}, \
    { "-lmname", \
      ARG_STRING, \
      NULL, \
      "Name of language model in -lmctlfn to use for all utterances" }
 
#define log_table_command_line_macro (  ) 
Value:
{ "-logbase", \
      ARG_FLOAT32, \
      "1.0003", \
      "Base in which all log-likelihoods calculated" }, \
    { "-log3table", \
      ARG_BOOLEAN, \
      "yes", \
      "Determines whether to use the logs3 table or to compute the values at run time."}
 
#define output_lattice_handling_command_line_macro (  ) 
Value:
{ "-outlatdir", \
      ARG_STRING, \
      NULL, \
      "Directory in which to dump word lattices" }, \
    { "-outlatfmt", \
      ARG_STRING, \
      "s3", \
      "Format in which to dump word lattices (either 's3' or 'htk')" }, \
    { "-latext", \
      ARG_STRING, \
      "lat.gz", \
      "Filename extension for lattice files (gzip compressed, by default - remove .gz for uncompressed)" }
 
#define partial_hypothesis_command_line_macro (  ) 
Value:
{ "-maxhyplen", \
      ARG_INT32, \
      "1000", \
      "(Live-decoder only) Maximum number of words in a partial hypothesis (for block decoding)" }, \
    { "-phypdump", \
      ARG_BOOLEAN, \
      "yes", \
      "(Live-decoder only) dump parital hypothesis on the screen"}
 
#define phone_insertion_penalty_command_line_macro (  ) 
Value:
{ "-phonepen", \
      ARG_FLOAT32, \
      "1.0", \
      "(Mode 2 and 3 only) Word insertion penalty" }
 
#define phoneme_lookahead_command_line_macro (  ) 
Value:
{ "-pheurtype", \
      ARG_INT32, \
      "0", \
      "0 = bypass, 1= sum of max, 2 = sum of avg, 3 = sum of 1st senones only" }, \
    { "-pl_window", \
      ARG_INT32, \
      "1", \
      "Window size (actually window size-1) of phoneme look-ahead." }, \
    { "-pl_beam", \
      ARG_FLOAT64, \
      "1.0e-80", \
      "Beam for phoneme look-ahead. [1 (narrowest)..10000000(very wide)]" }
 
#define score_handling_command_line_macro (  ) 
Value:
{ "-hypsegscore_unscale", \
      ARG_BOOLEAN, \
      "yes", \
      "When displaying the results, whether to unscale back the acoustic score with the best score in a frame"}
 
#define search_modeTST_specific_command_line_macro (  ) 
Value:
{ "-Nlextree", \
      ARG_INT32, \
      "3", \
      "(Mode 4 only) No. of lextrees to be instantiated; entries into them staggered in time" }, \
    { "-epl", \
      ARG_INT32, \
      "3", \
      "(Mode 4 only) Entries Per Lextree; #successive entries into one lextree before lextree-entries shifted to the next" }
 
#define search_modeWST_specific_command_line_macro (  ) 
Value:
{ "-Nstalextree", \
      ARG_INT32, \
      "25", \
      "(Mode 5 only) No. of lextrees to be instantiated statically; " }
 
#define search_specific_command_line_macro (  ) 
Value:
{"-backtrace", \
     ARG_BOOLEAN, \
      "yes", \
      "Whether detailed backtrace information (word segmentation/scores) shown in log" }, \
    { "-bestsenscrdir", \
      ARG_STRING, \
      NULL, \
      "When Best senone score directory." }
 
#define second_stage_dag_handling_command_line_macro (  ) 
Value:
{ "-bestpath", \
      ARG_BOOLEAN, \
      "no", \
      "Whether to run bestpath DAG search after forward Viterbi pass" }, \
    { "-bestpathlw", \
      ARG_FLOAT32, \
      NULL, \
      "Language weight for bestpath DAG search (default: same as -lw)" }, \
    {"-nbestdir", \
     ARG_STRING, \
     NULL, \
     "Input word-lattice directory with per-utt files for restricting words searched"}, \
    {"-nbestext", \
     ARG_STRING, \
     "nbest.gz", \
     "N-best filename extension (.gz or .Z extension for compression)"}, \
    {"-nbest", \
     ARG_INT32, \
     "200", \
     "Max. n-best hypotheses to generate per utterance"}, \
    {"-maxppath", \
     ARG_INT32, \
     "1000000", \
     "Max partial paths created after which utterance aborted; controls CPU/memory use"}, \
    {"-ppathdebug", \
     ARG_BOOLEAN, \
     "no", \
     "Generate debugging information for N-best search. "}
 
#define speaker_adaptation_command_line_macro (  ) 
Value:
{ "-mllr", \
      ARG_STRING, \
      NULL, \
      "MLLR transfomation matrix to be applied to mixture gaussian means"}, \
    { "-cb2mllr", \
      ARG_STRING, \
      ".1cls.", \
      "Senone to MLLR transformation matrix mapping file (or .1cls.)" }
 
#define vq_cluster_command_line_macro (  ) 
Value:
{ "-stdev", \
      ARG_BOOLEAN, \
      "no", \
      "Use std.dev. (rather than var) in computing vector distances during clustering" }, \
    { "-eps", \
      ARG_FLOAT64, \
      "0.0001", \
      "Stopping criterion: stop iterations if relative decrease in sq(error) < eps" }, \
    { "-iter", \
      ARG_INT32, \
      "100", \
      "Max no. of k-means iterations for clustering" }

Generated on 7 Mar 2010 by  doxygen 1.6.1