mirror of
https://github.com/arnaucube/argos.git
synced 2026-02-06 18:46:40 +01:00
screen
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
# goTweetsAnalyze
|
||||
twitter analyzer written in Go lang
|
||||
|
||||
|
||||

|
||||
|
||||
needs a twitterConfig.json file on the /build folder with the content:
|
||||
```
|
||||
{
|
||||
|
||||
@@ -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]])
|
||||
}
|
||||
|
||||
@@ -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.
2
main.go
2
main.go
@@ -7,7 +7,7 @@ import (
|
||||
"strings"
|
||||
)
|
||||
|
||||
const minNumWords = 4
|
||||
const minNumWords = 10
|
||||
|
||||
func main() {
|
||||
fmt.Println("---------------")
|
||||
|
||||
BIN
screen1.png
Normal file
BIN
screen1.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 44 KiB |
Reference in New Issue
Block a user