This commit is contained in:
arnaucode
2017-04-13 19:29:53 +02:00
parent 0d10f80cef
commit 4addf9d551
6 changed files with 6 additions and 2 deletions

View File

@@ -1,6 +1,9 @@
# goTweetsAnalyze
twitter analyzer written in Go lang
![Alt text](https://raw.githubusercontent.com/arnaucode/goTweetsAnalyze/master/screen1.png "screen")
needs a twitterConfig.json file on the /build folder with the content:
```
{

View File

@@ -19,7 +19,7 @@ func printBar(n int) {
func printDays(days map[string]int) {
for i := 0; i < len(week); i++ {
fmt.Print(week[i] + " - " + strconv.Itoa(days[week[i]]))
fmt.Print(week[i] + " - " + strconv.Itoa(days[week[i]]) + "tw")
fmt.Print(" ")
printBar(days[week[i]])
}

View File

@@ -49,4 +49,5 @@ func analyzeWords(tweets []twitter.Tweet) {
fmt.Println(len(words))
//get sorted list of frequency words
_ = sortMapWords(words)
fmt.Println(" ")
}

Binary file not shown.

View File

@@ -7,7 +7,7 @@ import (
"strings"
)
const minNumWords = 4
const minNumWords = 10
func main() {
fmt.Println("---------------")

BIN
screen1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB