diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2016-03-08 14:37:16 -0500 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2016-03-08 14:37:16 -0500 |
commit | 73821856c9648d030f4d148d2bc50f07f43ad369 (patch) | |
tree | 98f554e8cd55c859b71d5b2de5b9762baae6d563 /gen.cpp | |
parent | a791091a4da2335ee45f3716cfe68466e5ebd679 (diff) | |
download | rawr-ebooks-73821856c9648d030f4d148d2bc50f07f43ad369.tar.gz rawr-ebooks-73821856c9648d030f4d148d2bc50f07f43ad369.tar.bz2 rawr-ebooks-73821856c9648d030f4d148d2bc50f07f43ad369.zip |
Full sentences mode!
Diffstat (limited to 'gen.cpp')
-rw-r--r-- | gen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gen.cpp b/gen.cpp index a963740..0319283 100644 --- a/gen.cpp +++ b/gen.cpp | |||
@@ -51,7 +51,7 @@ int main(int argc, char** args) | |||
51 | std::cout << "Generating..." << std::endl; | 51 | std::cout << "Generating..." << std::endl; |
52 | for (;;) | 52 | for (;;) |
53 | { | 53 | { |
54 | std::string doc = stats->randomSentence(rand() % 35 + 15); | 54 | std::string doc = stats->randomSentence(140); |
55 | std::string hi = doc; | 55 | std::string hi = doc; |
56 | hi.resize(140); | 56 | hi.resize(140); |
57 | 57 | ||