Awesome Go

govader

CategoryNatural Language Processing
SubcategoryMorphological Analyzers
Stars0

Go implementation of [VADER Sentiment Analysis](https://github.com/cjhutto/vaderSentiment)

About govader

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)

A server wrapper is available in https://github.com/PIMPfiction/govader_backend.

Frequently Asked Questions

What is govader?

govader is a Natural Language Processing library for the Go programming language. Go implementation of [VADER Sentiment Analysis](https://github.com/cjhutto/vaderSentiment)

How do I install govader?

Install govader with the Go module system using `go get jonreiter/govader`. Check the repository for the current installation instructions.

What category does govader belong to?

govader is listed under Natural Language Processing, specifically Morphological Analyzers.

← Back to Morphological Analyzers