From 17778ac3ab8598eb3d43f562a092b9aa7c0a1a42 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Sat, 2 Dec 2023 17:10:48 -0500 Subject: Filter out profane words --- generator/main.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'generator/main.cpp') diff --git a/generator/main.cpp b/generator/main.cpp index c958421..94bf0a1 100644 --- a/generator/main.cpp +++ b/generator/main.cpp @@ -4,20 +4,21 @@ #include "generator.h" void printUsage() { - std::cout << "usage: generator agid wordnet cmudict wordfreq output" + std::cout << "usage: generator agid wordnet cmudict wordfreq datadir output" << std::endl; std::cout << "agid :: path to an AGID infl.txt file" << std::endl; std::cout << "wordnet :: path to a WordNet prolog data directory" << std::endl; std::cout << "cmudict :: path to a CMUDICT pronunciation file" << std::endl; std::cout << "wordfreq :: path to a word frequency CSV file" << std::endl; + std::cout << "datadir :: path to the Lingo Randomizer datadir" << std::endl; std::cout << "output :: datafile output path" << std::endl; } int main(int argc, char** argv) { - if (argc == 6) { + if (argc == 7) { try { - generator app(argv[1], argv[2], argv[3], argv[4], argv[5]); + generator app(argv[1], argv[2], argv[3], argv[4], argv[5], argv[6]); try { app.run(); -- cgit 1.4.1