⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cmdln_macro.h

📁 WinCE平台上的语音识别程序
💻 H
📖 第 1 页 / 共 2 页
字号:
      ARG_BOOLEAN,							\      "yes",								\      "Use alternative pronunciations for FSG"},			\{ "-fsgusefiller",							\      ARG_BOOLEAN,							\      "yes",								\      "(FSG Mode (Mode 2) only) Insert filler words at each state."}, 	\{ "-fsgctlfn", 								\      ARG_STRING, 							\      NULL, 								\      "A finite state grammar control file" }/** Command-line options for statistical language models. */#define lm_cmdln_options()								\{ "-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. "},					\{ "-lmstartsym",									\      ARG_STRING,									\      "<s>",										\      "Language model start symbol" },							\{ "-lmendsym",										\      ARG_STRING,									\      "</s>",										\      "Language model end symbol" },							\{ "-startsymfn",									\      ARG_STRING,									\      NULL,										\      "Start symbols file name"},							\{ "-lmnamedir",										\      ARG_STRING,									\      NULL,										\      "Directory for LM-name file for each utt"},					\{ "-lmnameext",										\      ARG_STRING,									\      NULL,										\      "Filename extension for LM-name files"},						\{ "-startworddir",									\      ARG_STRING,									\      NULL,										\      "Directory for start-word file for each utt"},					\{ "-startwordext",									\      ARG_STRING,									\      NULL,										\      "Filename extension for start-word files"},					\{ "-lw",										\      ARG_FLOAT32,									\      "6.5",										\      "Language model probability weight" },						\{ "-fwdflatlw",										\      ARG_FLOAT32,									\      "8.5",										\      "Language model probability weight for flat lexicon (2nd pass) decoding" },	\{ "-bestpathlw",									\      ARG_FLOAT32,									\      "9.5",										\      "Language model probability weight for bestpath search" },			\{ "-wip",										\      ARG_FLOAT32,									\      "0.65",										\      "Word insertion penalty" },							\{ "-nwpen",										\      ARG_FLOAT32,									\      "1.0",										\      "New word transition penalty" },							\{ "-pip",										\      ARG_FLOAT32,									\      "1.0",										\      "Phone insertion penalty" },							\{ "-uw",										\      ARG_FLOAT32,									\      "1.0",										\      "Unigram weight" }, 								\{ "-silpen",										\      ARG_FLOAT32,									\      "0.005",										\      "Silence word transition penalty" },						\{ "-fillpen",										\      ARG_FLOAT32,									\      "1e-8",										\      "Filler word transition penalty" }/** Command-line options for dictionaries. */#define dictionary_cmdln_options()				\    { "-dict",							\      REQARG_STRING,						\      NULL,							\      "Main pronunciation dictionary (lexicon) input file" },	\    { "-fdict",							\      ARG_STRING,						\      NULL,							\      "Noise word pronunciation dictionary input file" },	\    { "-oovdict",						\      ARG_STRING,						\      NULL,							\      "OOV dictionary input file" },				\    { "-perdict",						\      ARG_STRING,						\      NULL,							\      "Personal dictionary input file" },			\    { "-maxnewoov",						\      ARG_INT32,						\      "0",							\      "Maximum new OOVs that can be added at run time" },	\    { "-oovugprob",						\      ARG_FLOAT32,						\      "-4.5",							\      "OOV unigram log (base 10) probability" },		\    { "-usewdphones",						\      ARG_BOOLEAN,						\      "no",							\      "Use within-word phones only" }/** Command-line options for acoustic modeling */#define am_cmdln_options()                                                      \{ "-feat",                                                                      \      ARG_STRING,                                                               \      "s2_4x",                                                                  \      "Feature stream type, depends on the acoustic model" },                   \{ "-ceplen",                                                                    \      ARG_INT32,                                                                \      "13",                                                                     \     "Number of components in the input feature vector" },			\{ "-hmm",                                                                       \      ARG_STRING,                                                               \      NULL,                                                                     \      "Directory containing acoustic model files."},                            \{ "-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)" },       \{ "-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)" },       \{ "-sendump",                                                                   \      ARG_STRING,                                                               \      NULL,                                                                     \      "Senone dump (compressed mixture weights) input file" },                  \{ "-mmap",                                                                      \      ARG_BOOLEAN,                                                              \      "yes",                                                                    \      "Use memory-mapped I/O (if possible) for model files" },                  \{ "-dsratio",                                                                   \      ARG_INT32,                                                                \      "1",                                                                      \      "Frame GMM computation downsampling ratio" },                             \{ "-topn",                                                                      \      ARG_INT32,                                                                \      "4",                                                                      \      "Number of top Gaussians to use in scoring" },                            \{ "-kdtree",                                                                    \      ARG_STRING,                                                               \      NULL,                                                                     \      "kd-Tree file for Gaussian selection" },                                  \{ "-kdmaxdepth",                                                                \      ARG_INT32,                                                                \      "0",                                                                      \      "Maximum depth of kd-Trees to use" },                                     \{ "-kdmaxbbi",                                                                  \      ARG_INT32,                                                                \      "-1",                                                                     \      "Maximum number of Gaussians per leaf node in kd-Trees" },                \{ "-vqeval",                                                                    \      ARG_INT32,                                                                \      "3",                                                                      \      "Number of subvectors to use for SubVQ-based"                             \      " frame evaluation (3 for all) (UNUSED)"},                                \{ "-logbase",                                                                   \      ARG_FLOAT32,                                                              \      "1.0001",                                                                 \      "Base in which all log-likelihoods calculated (UNUSED)" }/** Options for force alignment mode. */#define time_align_cmdln_options()						\{ "-tactl",									\      ARG_STRING,								\      NULL,									\      "Time align control (input sentence) file" },				\{ "-taword",									\      ARG_BOOLEAN,								\      "yes",									\      "Time align words" },							\{ "-taphone",									\      ARG_BOOLEAN,								\      "yes",									\      "Time align phones" },							\{ "-tastate",									\      ARG_BOOLEAN,								\      "no",									\      "Time align states" },							\{ "-outsent",									\      ARG_STRING,								\      NULL,									\      "Output sentence file name" },						\{ "-segdir",									\      ARG_STRING,								\      NULL,									\      "Directory for writing state segmentation files from time alignment" },	\{ "-segext",									\      ARG_STRING,								\      "v8_seg",									\      "Extension for state segmentation files" },				\{ "-phonelabdir",								\      ARG_STRING,								\      NULL,									\      "Directory for writing phoneme label files from time alignment" },	\{ "-phonelabext",								\      ARG_STRING,								\      "lab",									\      "Extension for phoneme label files" },					\{ "-phonelabtype",								\      ARG_STRING,								\      "xlabel",									\      "Type of phoneme label files to write" }/** Options for allphone mode. */#define allphone_cmdln_options()					\{ "-allphone",								\      ARG_BOOLEAN,							\      "no",								\      "Do phoneme recognition" },					\{"-phonetp",								\     ARG_STRING,							\     NULL,								\     "Phone transition probabilities inputfile (default: flat probs)"},	\{"-ptplw",								\     ARG_FLOAT32,							\     "5.0",								\     "Weight (exponent) applied to phone transition probabilities"},	\{"-uptpwt",								\     ARG_FLOAT32,							\     "0.001",								\     "Uniform phone transition prob weight"}#define CMDLN_EMPTY_OPTION { NULL, 0, NULL, NULL }#endif /* __PS_CMDLN_MACRO_H__ */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -