gosentiwordnet alternatives and similar packages
Based on the "Natural Language Processing" category.
Alternatively, view gosentiwordnet alternatives based on common mentions on social networks and blogs.
-
prose
DISCONTINUED. :book: A Golang library for text processing, including tokenization, part-of-speech tagging, and named-entity extraction. -
gse
Go efficient multilingual NLP and text segmentation; support English, Chinese, Japanese and others. -
universal-translator
:speech_balloon: i18n Translator for Go/Golang using CLDR data + pluralization rules -
locales
:earth_americas: a set of locales generated from the CLDR Project which can be used independently or within an i18n package; these were built for use with, but not exclusive to https://github.com/go-playground/universal-translator -
go-nlp
DISCONTINUED. Utilities for working with discrete probability distributions and other tools useful for doing NLP work. -
segment
A Go library for performing Unicode Text Segmentation as described in Unicode Standard Annex #29 -
go-localize
i18n (Internationalization and localization) engine written in Go, used for translating locale strings. -
gotokenizer
A tokenizer based on the dictionary and Bigram language models for Go. (Now only support chinese segmentation)
InfluxDB - Power Real-Time Data Analytics at Scale
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of gosentiwordnet or a related project?
Popular Comparisons
README
π¬ GoSentiwordnet
Sentiment analyzer using sentiwordnet lexicon in Go. This library produce sentiment score for each word, including positive, negative, and objective score.
β Installation
First of all, download and install Go 1.14
or higher is required.
Install this library using the go get
command:
$ go get github.com/dinopuguh/gosentiwordnet/v2
β‘ Quickstart
package main
import (
"fmt"
goswn "github.com/dinopuguh/gosentiwordnet/v2"
)
func main() {
sa := goswn.New()
scores, exist := sa.GetSentimentScore("love", "v", "2")
if exist {
fmt.Println("π¬ Sentiment score:", scores) // => π¬ Sentiment score: {1 0 0}
}
}
The GetSentimentScore
required 3 parameters(word, pos-tag, and word usage):
- Word: the word want to process
- POS tag: part-of-speech tag of the word
- Word usage: 1 for most common usage and a higher number would indicate lesser common usages
π Contributing
If you want to say thank you and/or support the active development of Gosentiwordnet
:
- Add a GitHub Star to the project.
- Write a review or tutorial on Medium, Dev.to or personal blog.
- Be a part of our sponsors to support this project.
π» Contributors
- Dino Puguh (initial works)
Open for any pull requests to develop this project.