24 namespace po = boost::program_options;
29 po::value<std::string>()->default_value (
"1.0" ),
30 "Scaling factors applied to the language models (separated by commas). Assumed as 1 for all language models if not specified " )
32 po::value<std::string>()->default_value (
"0.0" ),
33 "Word penalty applied along the language models (separated by commas). Assumed as 0 if not specified " )
35 po::value<std::string>()->default_value (
"" ),
36 "Load one or more language models (separated by commas)" )
38 po::value<std::string>()->default_value (
"" ),
39 "Use external integer-map file for the language model" )
41 "Does not convert lm scores to natural log" )
50 LERROR (
"Language model file not defined" );
51 exit ( EXIT_FAILURE );
std::string const kLmLogTen
std::string const kLmFeatureweights
void checkApplyLmOptions(po::variables_map *vm)
std::string const kLmWordmap
std::string const kLmLoad
void initCommonApplylmOptions(po::options_description &desc)
std::string const kLmWordPenalty