diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2023-02-03 09:15:28 -0500 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2023-02-03 09:16:28 -0500 |
commit | 64f26d4a3b80969e08a607f80dde87d49ad5c2e3 (patch) | |
tree | 92ab69c6550d696ac6b15e1366b54222e773ada9 /generator/main.cpp | |
parent | f2aacc40f4c26b3f4d71d81090f05261f4969e29 (diff) | |
download | verbly-64f26d4a3b80969e08a607f80dde87d49ad5c2e3.tar.gz verbly-64f26d4a3b80969e08a607f80dde87d49ad5c2e3.tar.bz2 verbly-64f26d4a3b80969e08a607f80dde87d49ad5c2e3.zip |
Added word frequency information
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 7db7203..7d6e4dc 100644 --- a/generator/main.cpp +++ b/generator/main.cpp | |||
@@ -4,23 +4,24 @@ | |||
4 | 4 | ||
5 | void printUsage() | 5 | void 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 | ||
17 | int main(int argc, char** argv) | 18 | int 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 | { |