summary refs log tree commit diff stats
path: root/generator/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'generator/main.cpp')
-rw-r--r--generator/main.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/generator/main.cpp b/generator/main.cpp index 7db7203..7d6e4dc 100644 --- a/generator/main.cpp +++ b/generator/main.cpp
@@ -4,23 +4,24 @@
4 4
5void printUsage() 5void printUsage()
6{ 6{
7 std::cout << "usage: generator verbnet agid wordnet cmudict imagenet output ino" << std::endl; 7 std::cout << "usage: generator verbnet agid wordnet cmudict imagenet wordfreq output ino" << std::endl;
8 std::cout << "verbnet :: path to a VerbNet data directory" << std::endl; 8 std::cout << "verbnet :: path to a VerbNet data directory" << std::endl;
9 std::cout << "agid :: path to an AGID infl.txt file" << std::endl; 9 std::cout << "agid :: path to an AGID infl.txt file" << std::endl;
10 std::cout << "wordnet :: path to a WordNet prolog data directory" << std::endl; 10 std::cout << "wordnet :: path to a WordNet prolog data directory" << std::endl;
11 std::cout << "cmudict :: path to a CMUDICT pronunciation file" << std::endl; 11 std::cout << "cmudict :: path to a CMUDICT pronunciation file" << std::endl;
12 std::cout << "imagenet :: path to an ImageNet urls.txt file" << std::endl; 12 std::cout << "imagenet :: path to an ImageNet urls.txt file" << std::endl;
13 std::cout << "wordfreq :: path to a word frequency CSV file" << std::endl;
13 std::cout << "output :: datafile output path" << std::endl; 14 std::cout << "output :: datafile output path" << std::endl;
14 std::cout << "ino :: imagenet directory output path" << std::endl; 15 std::cout << "ino :: imagenet directory output path" << std::endl;
15} 16}
16 17
17int main(int argc, char** argv) 18int main(int argc, char** argv)
18{ 19{
19 if (argc == 8) 20 if (argc == 9)
20 { 21 {
21 try 22 try
22 { 23 {
23 verbly::generator::generator app(argv[1], argv[2], argv[3], argv[4], argv[5], argv[6], argv[7]); 24 verbly::generator::generator app(argv[1], argv[2], argv[3], argv[4], argv[5], argv[6], argv[7], argv[8]);
24 25
25 try 26 try
26 { 27 {