From 092c5939ea1d07c35ccde9c5a2940a84d2942ebb Mon Sep 17 00:00:00 2001 From: Franck Dary <franck.dary@lis-lab.fr> Date: Sat, 8 Feb 2020 18:08:45 +0100 Subject: [PATCH] Fixed arguments in macaon_train --- trainer/src/macaon_train.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/trainer/src/macaon_train.cpp b/trainer/src/macaon_train.cpp index 6b817a5..896b9ae 100644 --- a/trainer/src/macaon_train.cpp +++ b/trainer/src/macaon_train.cpp @@ -12,10 +12,10 @@ po::options_description getOptionsDescription() po::options_description req("Required"); req.add_options() - ("expName", po::value<std::string>()->required(), - "Name of this experiment") ("model", po::value<std::string>()->required(), "Directory containing the machine file to train") + ("mcd", po::value<std::string>()->required(), + "Multi Column Description file that describes the input format") ("trainTSV", po::value<std::string>()->required(), "TSV file of the training corpus, in CONLLU format"); @@ -62,7 +62,6 @@ int main(int argc, char * argv[]) auto od = getOptionsDescription(); auto variables = checkOptions(od, argc, argv); - auto expName = variables["expName"].as<std::string>(); std::filesystem::path modelPath(variables["model"].as<std::string>()); auto machinePath = modelPath / "machine.rm"; auto mcdFile = variables["mcd"].as<std::string>(); -- GitLab