diff --git a/analyzeWords.go b/analyzeWords.go index c623c72..dd629d0 100644 --- a/analyzeWords.go +++ b/analyzeWords.go @@ -18,8 +18,8 @@ func mapWords(text string, words map[string]int) map[string]int { v = strings.Replace(v, "!", "", -1) v = strings.Replace(v, "?", "", -1) v = strings.Replace(v, "\n", "", -1) + v = strings.Replace(v, "…", "", -1) if _, ok := words[v]; ok { - fmt.Println(v) words[v] = words[v] + 1 } else { words[v] = 1 diff --git a/argos b/argos index a6f3b93..2323b9f 100755 Binary files a/argos and b/argos differ diff --git a/build/argos b/build/argos index a6f3b93..2323b9f 100755 Binary files a/build/argos and b/build/argos differ diff --git a/main.go b/main.go index 35bce16..2d9354c 100644 --- a/main.go +++ b/main.go @@ -10,7 +10,7 @@ import ( const version = "0.3-beta" const minNumWords = 10 const minNumHashtag = 2 -const minNumUserInteractions = 1 +const minNumUserInteractions = 2 const iterationsCount = 3 func main() {