diff --git a/dajarep.go b/dajarep.go index aae6adf..fa3e436 100644 --- a/dajarep.go +++ b/dajarep.go @@ -77,6 +77,10 @@ func fixWord(text string) string { func fixSentence(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) + text = strings.Replace(text, " ", "", -1) return text }