forked from an/flokati
		
	markov
This commit is contained in:
		
							parent
							
								
									75b18d7107
								
							
						
					
					
						commit
						fac04ea3dc
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -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…
	
	Add table
		Add a link
		
	
		Reference in a new issue