Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GoVader. Sentiment analysis tool written in GO (GoLang).

"VADER (Valence Aware Dictionary and sEntiment Reasoner) is a lexicon and rule-based sentiment analysis tool that is specifically attuned to sentiments expressed in social media."

Original python implementation of VADER (https://github.com/cjhutto/vaderSentiment).

Getting started

Install:

go get github.com/drankou/go-vader/vader

Example of usage:

sia := vader.SentimentIntensityAnalyzer{}
err := sia.Init()
if err != nil {
    log.Fatal(err)
}

score := sia.PolarityScores("VADER is smart, handsome, and funny!")
fmt.Println(score)
//output: map[pos:0.746 neg:0 neu:0.254 compound:0.8316]

About

Sentiment analysis tool using VADER in GO (GoLang)

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages