Popularity
2.7
Growing
Activity
0.0
Stable
38
3
7

Programming language: Go
License: MIT License

govader alternatives and similar packages

Based on the "Natural Language Processing" category.
Alternatively, view govader alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of govader or a related project?

Add another 'Natural Language Processing' Package

README

GoVader

GoDoc Go Report BuildStatus Mentioned in Awesome Go codecov

GoVader: Vader sentiment analysis in Go

This is a port of https://github.com/cjhutto/vaderSentiment from Python to Go.

There are tests which check it gives the same answers as the original package.

Usage:

import (
    "fmt"
    "github.com/jonreiter/govader"
)

analyzer := govader.NewSentimentIntensityAnalyzer()
sentiment := analyzer.PolarityScores("Usage is similar to all the other ports.")

fmt.Println("Compound score:", sentiment.Compound)
fmt.Println("Positive score:", sentiment.Positive)
fmt.Println("Neutral score:", sentiment.Neutral)
fmt.Println("Negative score:", sentiment.Negative)