diff options
author | Paul Baltescu <pauldb89@gmail.com> | 2013-11-26 16:03:16 +0000 |
---|---|---|
committer | Paul Baltescu <pauldb89@gmail.com> | 2013-11-26 16:03:16 +0000 |
commit | 3ece9d5cf8c58edd55da35ac96f1a5869d7d6608 (patch) | |
tree | 3f94bd94d3dac4a145e2b913429c6d72ac10c10d /extractor/extract.cc | |
parent | a3826db61847a55f59bb9666f61fd1bb88888085 (diff) |
Write config file after compiling data structures.
Diffstat (limited to 'extractor/extract.cc')
-rw-r--r-- | extractor/extract.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extractor/extract.cc b/extractor/extract.cc index 2d5831fa..387cbe9b 100644 --- a/extractor/extract.cc +++ b/extractor/extract.cc @@ -72,7 +72,7 @@ int main(int argc, char** argv) { po::options_description cmdline_options("Command line options"); cmdline_options.add_options() ("help", "Show available options") - ("config", po::value<string>()->required(), "Path to config file"); + ("config,c", po::value<string>()->required(), "Path to config file"); cmdline_options.add(general_options); po::options_description config_options("Config file options"); @@ -236,7 +236,7 @@ int main(int argc, char** argv) { Grammar grammar = extractor.GetGrammar( sentences[i], blacklisted_sentence_ids); ofstream output(GetGrammarFilePath(grammar_path, i).c_str()); - // output << grammar; + output << grammar; } for (size_t i = 0; i < sentences.size(); ++i) { |