diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-10-16 11:23:22 -0400 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-10-16 11:23:22 -0400 |
commit | f221fa9d721f5df96107010bb95c12dc9d19700e (patch) | |
tree | 003a7059c40b3646391762e1c6ae93fafd6d42fa /patterner.h | |
parent | 0b9af5d95b281049cbf50e3eb6f3e738b1da393a (diff) | |
download | insult-f221fa9d721f5df96107010bb95c12dc9d19700e.tar.gz insult-f221fa9d721f5df96107010bb95c12dc9d19700e.tar.bz2 insult-f221fa9d721f5df96107010bb95c12dc9d19700e.zip |
Made insultifer bot
Diffstat (limited to 'patterner.h')
-rw-r--r-- | patterner.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/patterner.h b/patterner.h new file mode 100644 index 0000000..df631b1 --- /dev/null +++ b/patterner.h | |||
@@ -0,0 +1,21 @@ | |||
1 | #ifndef PATTERNER_H_AB6883F5 | ||
2 | #define PATTERNER_H_AB6883F5 | ||
3 | |||
4 | #include <verbly.h> | ||
5 | #include <random> | ||
6 | |||
7 | class patterner { | ||
8 | public: | ||
9 | |||
10 | patterner(std::string datafile, verbly::database& data, std::mt19937& rng); | ||
11 | |||
12 | std::string generate(); | ||
13 | |||
14 | private: | ||
15 | |||
16 | std::map<std::string, std::vector<std::string>> groups_; | ||
17 | verbly::database& data_; | ||
18 | std::mt19937& rng_; | ||
19 | }; | ||
20 | |||
21 | #endif /* end of include guard: PATTERNER_H_AB6883F5 */ | ||