24 namespace po = boost::program_options;
28 ,
bool addAllOptions=
true) {
33 po::value<std::string>()->default_value (
"1"),
34 "Indices of sentences to process" )
43 "Load a synchronous context-free grammar file" )
45 po::value<std::string>(),
"Load hifst sparse weight translation lattice" )
47 , po::value<unsigned>()->default_value ( 1 )
48 ,
"Number of language models" )
53 po::value<std::string>()->default_value (
"" ),
54 "Store the fst (tropical tuple sparse weight) containing a vector of features per arc " )
66 exit ( EXIT_FAILURE );
const std::string kRulesToWeightsNumberOfLanguageModels
void initRules2WeightsOptions(po::options_description &desc, bool addAllOptions=true)
std::string const kRangeExtended
List of constants to be used both across program options and class runners.
const std::string kRulesToWeightsLoadalilats
void checkRules2Weightptions(po::variables_map *vm)
const std::string kRulesToWeightsLoadGrammar
const std::string kRulesToWeightsLatticeStore