diff options
Diffstat (limited to 'kgramstats.h')
-rw-r--r-- | kgramstats.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kgramstats.h b/kgramstats.h index 49fe04e..848af24 100644 --- a/kgramstats.h +++ b/kgramstats.h | |||
@@ -9,6 +9,7 @@ | |||
9 | #include "identifier.h" | 9 | #include "identifier.h" |
10 | #include <functional> | 10 | #include <functional> |
11 | #include <set> | 11 | #include <set> |
12 | #include <random> | ||
12 | 13 | ||
13 | class rawr { | 14 | class rawr { |
14 | public: | 15 | public: |
@@ -19,7 +20,7 @@ class rawr { | |||
19 | 20 | ||
20 | void setTransformCallback(transform_callback _arg); | 21 | void setTransformCallback(transform_callback _arg); |
21 | void setMinCorpora(int _arg); | 22 | void setMinCorpora(int _arg); |
22 | std::string randomSentence(int maxL) const; | 23 | std::string randomSentence(int maxL, std::mt19937& rng) const; |
23 | 24 | ||
24 | private: | 25 | private: |
25 | struct terminator { | 26 | struct terminator { |