mirror of
https://github.com/arnaucube/argos.git
synced 2026-02-07 11:06:39 +01:00
version0.3-beta, added … (one char 3 dots) as a punctuaton symbol to filter, and minNumUserInteractions=2
This commit is contained in:
@@ -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
|
||||
|
||||
BIN
build/argos
BIN
build/argos
Binary file not shown.
Reference in New Issue
Block a user