forked from an/flokati
		
	markov.go: dont remove commas from messages
This commit is contained in:
		
							parent
							
								
									59bf94f173
								
							
						
					
					
						commit
						426511785e
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -114,7 +114,7 @@ func markovParseText(text string) string {
 | 
			
		|||
	text = strings.Replace(text, "<", "<", -1)
 | 
			
		||||
	text = strings.Replace(text, ">", ">", -1)
 | 
			
		||||
	text = strings.Replace(text, "&", "&", -1)
 | 
			
		||||
	text = strings.Replace(text, ",", " ", -1)
 | 
			
		||||
	//text = strings.Replace(text, ",", " ", -1)
 | 
			
		||||
	//reg := regexp.MustCompile("[^a-zA-Z0-9 ]+")
 | 
			
		||||
	//delText := reg.ReplaceAllString(text, "")
 | 
			
		||||
	return strings.ToLower(text)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue