Skip to content
Snippets Groups Projects
Commit 371b3e02 authored by Franck Dary's avatar Franck Dary
Browse files

Added option showFeatureRepresentation to macaon_decoder

parent 5d2214cb
No related branches found
No related tags found
No related merge requests found
......@@ -42,11 +42,11 @@ po::options_description getOptionsDescription()
"The name of the buffer's tape that contains the delimiter token for a sequence")
("sequenceDelimiter", po::value<std::string>()->default_value("1"),
"The value of the token that act as a delimiter for sequences")
("showFeatureRepresentation", po::value<bool>()->default_value(false),
"For each state of the Config, show its feature representation")
("lang", po::value<std::string>()->default_value("fr"),
"Language you are working with");
desc.add(req).add(opt);
return desc;
......@@ -110,6 +110,7 @@ int main(int argc, char * argv[])
ProgramParameters::lang = vm["lang"].as<std::string>();
ProgramParameters::sequenceDelimiterTape = vm["sequenceDelimiterTape"].as<std::string>();
ProgramParameters::sequenceDelimiter = vm["sequenceDelimiter"].as<std::string>();
ProgramParameters::showFeatureRepresentation = vm["showFeatureRepresentation"].as<bool>();
const char * MACAON_DIR = std::getenv("MACAON_DIR");
std::string slash = "/";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment