markov.go: dont remove commas from messages
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Andreas Neue 2019-08-27 15:16:13 +02:00
parent 59bf94f173
commit 426511785e
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ func markovParseText(text string) string {
text = strings.Replace(text, "&lt;", "<", -1)
text = strings.Replace(text, "&gt;", ">", -1)
text = strings.Replace(text, "&amp;", "&", -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)