markov
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
75b18d7107
commit
fac04ea3dc
|
@ -217,6 +217,9 @@ func (c *MarkovChain) Generate(n int, in string) string {
|
|||
break
|
||||
}*/
|
||||
p.Shift(next)
|
||||
if rand.Intn(100) < n {
|
||||
break
|
||||
}
|
||||
}
|
||||
if len(words) > 0 {
|
||||
break
|
||||
|
|
Loading…
Reference in New Issue