diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2022-12-08 15:03:51 -0500 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2022-12-08 15:03:51 -0500 |
commit | 7ea3569e3894f19fbae6cfdb3406f2240570e3c1 (patch) | |
tree | e04caa4058baa9f0a9ff46771eef903be49ce3cb /generator/generator.h | |
parent | 6816abc1e89fd955524d7c772477d6483d12cbf9 (diff) | |
download | verbly-7ea3569e3894f19fbae6cfdb3406f2240570e3c1.tar.gz verbly-7ea3569e3894f19fbae6cfdb3406f2240570e3c1.tar.bz2 verbly-7ea3569e3894f19fbae6cfdb3406f2240570e3c1.zip |
Added a bunch of stuff for making LINGO puzzles
Diffstat (limited to 'generator/generator.h')
-rw-r--r-- | generator/generator.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/generator/generator.h b/generator/generator.h index 2cd2ba9..70f0657 100644 --- a/generator/generator.h +++ b/generator/generator.h | |||
@@ -3,6 +3,8 @@ | |||
3 | 3 | ||
4 | #include <string> | 4 | #include <string> |
5 | #include <map> | 5 | #include <map> |
6 | #include <unordered_map> | ||
7 | #include <unordered_set> | ||
6 | #include <list> | 8 | #include <list> |
7 | #include <set> | 9 | #include <set> |
8 | #include <libxml/parser.h> | 10 | #include <libxml/parser.h> |
@@ -64,6 +66,10 @@ namespace verbly { | |||
64 | 66 | ||
65 | void dumpObjects(); | 67 | void dumpObjects(); |
66 | 68 | ||
69 | void writeMerography(); | ||
70 | |||
71 | void writeMerophony(); | ||
72 | |||
67 | void readWordNetAntonymy(); | 73 | void readWordNetAntonymy(); |
68 | 74 | ||
69 | void readWordNetVariation(); | 75 | void readWordNetVariation(); |
@@ -138,8 +144,11 @@ namespace verbly { | |||
138 | std::map<std::pair<int, int>, word*> wordByWnidAndWnum_; | 144 | std::map<std::pair<int, int>, word*> wordByWnidAndWnum_; |
139 | std::map<std::string, std::set<word*>> wordsByBaseForm_; | 145 | std::map<std::string, std::set<word*>> wordsByBaseForm_; |
140 | std::map<std::string, lemma*> lemmaByBaseForm_; | 146 | std::map<std::string, lemma*> lemmaByBaseForm_; |
141 | std::map<std::string, form*> formByText_; | 147 | std::unordered_map<std::string, form*> formByText_; |
142 | std::map<std::string, pronunciation*> pronunciationByPhonemes_; | 148 | std::map<std::string, pronunciation*> pronunciationByPhonemes_; |
149 | std::unordered_map<std::string, pronunciation*> pronunciationByBlankPhonemes_; | ||
150 | std::map<std::string, int> anagramSets_; | ||
151 | std::map<std::string, int> anaphoneSets_; | ||
143 | 152 | ||
144 | // Caches | 153 | // Caches |
145 | 154 | ||