gosentiwordnet

package module
v3.1.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 21, 2020 License: MIT Imports: 7 Imported by: 0

README

go-sentiwordnet

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Sentiment

type Sentiment struct {
	Positive  float64
	Negative  float64
	Objective float64
}

type SentimentAnalyzer

type SentimentAnalyzer struct {
	Lexicon map[string]Sentiment
}

func NewGoSentiwordnet

func NewGoSentiwordnet() *SentimentAnalyzer

func (*SentimentAnalyzer) GetSentimentScore

func (sa *SentimentAnalyzer) GetSentimentScore(word string, posTag string, usage string) (bool, Sentiment)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL