From ed4e289590d53623311ce42e44e873292211f7ab Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Sun, 7 Feb 2016 23:20:56 -0500 Subject: Tweaked the kgram cutting rate again --- kgramstats.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kgramstats.cpp') diff --git a/kgramstats.cpp b/kgramstats.cpp index da8c326..b25c61f 100644 --- a/kgramstats.cpp +++ b/kgramstats.cpp @@ -557,7 +557,7 @@ std::string kgramstats::randomSentence(int n) break; } - if (next.all == max) + if ((next.all == max) && (rand() % 3 == 0)) { cut = true; } -- cgit 1.4.1