From 15d2ad6dd644fd958a5d30ed56d500b8e9d9013a Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Sat, 6 Jan 2024 18:53:42 -0500 Subject: Combo generation --- generator/generator.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'generator/generator.h') diff --git a/generator/generator.h b/generator/generator.h index ea30bd9..cf304ea 100644 --- a/generator/generator.h +++ b/generator/generator.h @@ -61,6 +61,9 @@ class generator { void AddPronunciationToAnaphoneSet(size_t pronunciation_id, const std::string& sorted_phonemes); + void FindComboPuzzles(std::string text, PuzzleType left_type, + PuzzleType right_type); + // Input std::string agidPath_; @@ -88,6 +91,7 @@ class generator { struct Form { size_t id; std::string text; + bool is_base_form = false; std::vector word_ids; std::vector pronunciation_ids; std::optional anagram_set_id; @@ -127,6 +131,10 @@ class generator { std::unordered_map synset_by_wnid_; std::map wanderlust_; + + std::map>>> + combos_; }; #endif /* end of include guard: GENERATOR_H_D5C6A724 */ \ No newline at end of file -- cgit 1.4.1