about summary refs log tree commit diff stats
path: root/kgramstats.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kgramstats.cpp')
-rw-r--r--kgramstats.cpp2
1 files changed, 1 insertions, 1 deletions
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)
557 break; 557 break;
558 } 558 }
559 559
560 if (next.all == max) 560 if ((next.all == max) && (rand() % 3 == 0))
561 { 561 {
562 cut = true; 562 cut = true;
563 } 563 }