Skip to content

Commit

Permalink
テキスト整形微調整
Browse files Browse the repository at this point in the history
  • Loading branch information
kurehajime committed Sep 27, 2015
1 parent daca2e1 commit 4d41654
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dajarep.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 4d41654

Please sign in to comment.