diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2022-12-09 16:53:33 -0500 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2022-12-09 16:53:33 -0500 |
commit | 06e4672540094a851542b47abaf022f934b63b09 (patch) | |
tree | 5333fb4446fce0043600f7d06427dd243a15c543 /generator/main.cpp | |
parent | f2731325f551c4cfea861e2e31d214936b9bd619 (diff) | |
download | verbly-06e4672540094a851542b47abaf022f934b63b09.tar.gz verbly-06e4672540094a851542b47abaf022f934b63b09.tar.bz2 verbly-06e4672540094a851542b47abaf022f934b63b09.zip |
Generator now splits ImageNet list into per-notion files
Diffstat (limited to 'generator/main.cpp')
-rw-r--r-- | generator/main.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/generator/main.cpp b/generator/main.cpp index 1b07706..7db7203 100644 --- a/generator/main.cpp +++ b/generator/main.cpp | |||
@@ -4,22 +4,23 @@ | |||
4 | 4 | ||
5 | void printUsage() | 5 | void printUsage() |
6 | { | 6 | { |
7 | std::cout << "usage: generator verbnet agid wordnet cmudict imagenet output" << std::endl; | 7 | std::cout << "usage: generator verbnet agid wordnet cmudict imagenet 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 << "output :: datafile output path" << std::endl; | 13 | std::cout << "output :: datafile output path" << std::endl; |
14 | std::cout << "ino :: imagenet directory output path" << std::endl; | ||
14 | } | 15 | } |
15 | 16 | ||
16 | int main(int argc, char** argv) | 17 | int main(int argc, char** argv) |
17 | { | 18 | { |
18 | if (argc == 7) | 19 | if (argc == 8) |
19 | { | 20 | { |
20 | try | 21 | try |
21 | { | 22 | { |
22 | verbly::generator::generator app(argv[1], argv[2], argv[3], argv[4], argv[5], argv[6]); | 23 | verbly::generator::generator app(argv[1], argv[2], argv[3], argv[4], argv[5], argv[6], argv[7]); |
23 | 24 | ||
24 | try | 25 | try |
25 | { | 26 | { |