Registry / utility / cdipaolo-sentiment

cdipaolo-sentiment

JSON →
library0.0.0-20200617002423-c697f64e7f10gogounverified

A Go library for performing sentiment analysis on text using a naive Bayes classifier.

go get github.com/cdipaolo/sentiment
INSTALL
IMPORT
SIG · CDIPAOLO-SENTIMENT
C
cdipaolo-sentiment
utilitygov0.0.0-20200617002423-c697f64e7f10
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

sentiment
github.com/cdipaolo/sentiment

Analyze sentiment of a text string.

package main import ( "fmt" "github.com/cdipaolo/sentiment" ) func main() { model, _ := sentiment.Restore() analysis := model.Sentiment("I love this!") fmt.Println(analysis.Score) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20200617002423-c697f64e7f10latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
cdipaolo-sentiment — go get cdipaolo-sentiment · libregistry