arnaucube
arnaucube/argosPublic Self-hosted repository
version0.3-beta, added … (one char 3 dots) as a punctuaton symbol to filter, and minNumUserInteractions=2
arnaucode idoctnef@openmailbox.org
Tue, 06 Jun 2017 21:50:10 +0200
commit

a42b4673857cf3eb902199b7439df7431b0518a4

parent

789235bcbbbcf6eec15ac8ed670675024b54045f

4 files changed, 2 insertions(+), 2 deletions(-)

jump to
M analyzeWords.go → analyzeWords.go

@@ -18,8 +18,8 @@ v = strings.Replace(v, ".", "", -1)

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
M argos → argos

          
M main.go → main.go

@@ -10,7 +10,7 @@

const version = "0.3-beta" const minNumWords = 10 const minNumHashtag = 2 -const minNumUserInteractions = 1 +const minNumUserInteractions = 2 const iterationsCount = 3 func main() {