diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2023-12-02 17:10:48 -0500 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2023-12-02 17:10:48 -0500 |
commit | 17778ac3ab8598eb3d43f562a092b9aa7c0a1a42 (patch) | |
tree | 64604b3f8ef46e3f439229c80837e60768933c06 /generator/generator.h | |
parent | 90fbd47ca02f1a723134302ca978a7f9ef0eac04 (diff) | |
download | lingo-randomizer-17778ac3ab8598eb3d43f562a092b9aa7c0a1a42.tar.gz lingo-randomizer-17778ac3ab8598eb3d43f562a092b9aa7c0a1a42.tar.bz2 lingo-randomizer-17778ac3ab8598eb3d43f562a092b9aa7c0a1a42.zip |
Filter out profane words
Diffstat (limited to 'generator/generator.h')
-rw-r--r-- | generator/generator.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/generator/generator.h b/generator/generator.h index a97b0b0..923fc17 100644 --- a/generator/generator.h +++ b/generator/generator.h | |||
@@ -1,6 +1,7 @@ | |||
1 | #ifndef GENERATOR_H_D5C6A724 | 1 | #ifndef GENERATOR_H_D5C6A724 |
2 | #define GENERATOR_H_D5C6A724 | 2 | #define GENERATOR_H_D5C6A724 |
3 | 3 | ||
4 | #include <filesystem> | ||
4 | #include <optional> | 5 | #include <optional> |
5 | #include <set> | 6 | #include <set> |
6 | #include <string> | 7 | #include <string> |
@@ -22,7 +23,7 @@ class generator { | |||
22 | 23 | ||
23 | generator(std::string agidPath, std::string wordNetPath, | 24 | generator(std::string agidPath, std::string wordNetPath, |
24 | std::string cmudictPath, std::string wordfreqPath, | 25 | std::string cmudictPath, std::string wordfreqPath, |
25 | std::string outputPath); | 26 | std::string datadirPath, std::string outputPath); |
26 | 27 | ||
27 | // Action | 28 | // Action |
28 | 29 | ||
@@ -54,6 +55,7 @@ class generator { | |||
54 | std::string wordNetPath_; | 55 | std::string wordNetPath_; |
55 | std::string cmudictPath_; | 56 | std::string cmudictPath_; |
56 | std::string wordfreqPath_; | 57 | std::string wordfreqPath_; |
58 | std::filesystem::path datadirPath_; | ||
57 | 59 | ||
58 | // Output | 60 | // Output |
59 | 61 | ||