summary refs log tree commit diff stats
path: root/generator/generator.h
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2023-02-03 09:15:28 -0500
committerStar Rauchenberger <fefferburbia@gmail.com>2023-02-03 09:16:28 -0500
commit64f26d4a3b80969e08a607f80dde87d49ad5c2e3 (patch)
tree92ab69c6550d696ac6b15e1366b54222e773ada9 /generator/generator.h
parentf2aacc40f4c26b3f4d71d81090f05261f4969e29 (diff)
downloadverbly-64f26d4a3b80969e08a607f80dde87d49ad5c2e3.tar.gz
verbly-64f26d4a3b80969e08a607f80dde87d49ad5c2e3.tar.bz2
verbly-64f26d4a3b80969e08a607f80dde87d49ad5c2e3.zip
Added word frequency information
Diffstat (limited to 'generator/generator.h')
-rw-r--r--generator/generator.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/generator/generator.h b/generator/generator.h index 3d51c35..82dec66 100644 --- a/generator/generator.h +++ b/generator/generator.h
@@ -35,6 +35,7 @@ namespace verbly {
35 std::string wordNetPath, 35 std::string wordNetPath,
36 std::string cmudictPath, 36 std::string cmudictPath,
37 std::string imageNetPath, 37 std::string imageNetPath,
38 std::string wordfreqPath,
38 std::string outputPath, 39 std::string outputPath,
39 std::string imageNetOutput); 40 std::string imageNetOutput);
40 41
@@ -62,6 +63,8 @@ namespace verbly {
62 63
63 void readCmudictPronunciations(); 64 void readCmudictPronunciations();
64 65
66 void readWordFrequency();
67
65 void writeSchema(); 68 void writeSchema();
66 69
67 void writeVersion(); 70 void writeVersion();
@@ -125,6 +128,7 @@ namespace verbly {
125 std::string wordNetPath_; 128 std::string wordNetPath_;
126 std::string cmudictPath_; 129 std::string cmudictPath_;
127 std::string imageNetPath_; 130 std::string imageNetPath_;
131 std::string wordfreqPath_;
128 132
129 // Output 133 // Output
130 134