Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/PIMPfiction/govader_backend
Sentimental Analysis Microservice
https://github.com/PIMPfiction/govader_backend
echo-framework go golang sentiment-analysis
Last synced: 3 months ago
JSON representation
Sentimental Analysis Microservice
- Host: GitHub
- URL: https://github.com/PIMPfiction/govader_backend
- Owner: PIMPfiction
- License: mit
- Created: 2022-04-05T22:59:13.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2024-02-25T21:00:28.000Z (11 months ago)
- Last Synced: 2024-07-31T20:52:33.144Z (5 months ago)
- Topics: echo-framework, go, golang, sentiment-analysis
- Language: Go
- Homepage:
- Size: 33.2 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-go - govader-backend - Microservice implementation of [GoVader](https://github.com/jonreiter/govader). (Natural Language Processing / Morphological Analyzers)
- zero-alloc-awesome-go - govader-backend - Microservice implementation of [GoVader](https://github.com/jonreiter/govader). (Natural Language Processing / Morphological Analyzers)
- awesome-go-extra - govader_backend - 04-05T22:59:13Z|2022-04-11T10:43:12Z| (Bot Building / Morphological Analyzers)
README
# Govader Backend NLP Package (sentimental analysis NLP)
[![Go Reference](https://pkg.go.dev/badge/github.com/PIMPfiction/govader_backend.svg)](https://pkg.go.dev/github.com/PIMPfiction/govader_backend)
[![Go Report Card](https://goreportcard.com/badge/github.com/PIMPfiction/govader_backend)](https://goreportcard.com/report/github.com/PIMPfiction/govader_backend)
[![codecov](https://codecov.io/gh/PIMPfiction/govader_backend/branch/master/graph/badge.svg?token=3KEBD30Q95)](https://codecov.io/gh/PIMPfiction/govader_backend)
![master](https://github.com/PIMPfiction/govader_backend/actions/workflows/tests.yml/badge.svg)
[![Mentioned in Awesome Go](https://awesome.re/mentioned-badge.svg)](https://github.com/avelino/awesome-go#morphological-analyzers)Govader-Backend is a microservice thats returns sentimental analysis of given sentence.
Server wrapper for GoVader Package[https://github.com/jonreiter/govader](https://github.com/jonreiter/govader)
## Usage:
```sh
go get github.com/PIMPfiction/govader_backend
``````go
package mainimport (
vaderMicro "github.com/PIMPfiction/govader_backend"
echo "github.com/labstack/echo/v4"
"fmt"
)func main() {
e := echo.New()
err := vaderMicro.Serve(e, "8080")
if err != nil {
panic(err)
}
fmt.Scanln()}
```
### Sample Get Request:
#### GET: http://localhost:8080?text=I%20am%20looking%20good
### Sample Post Request:
#### POST: http://localhost:8080/
#### RequestBody: ```{"text": "I am looking good"}```### Sample Response
```json
{
"Negative": 0,
"Neutral": 0.5084745762711864,
"Positive": 0.4915254237288135,
"Compound": 0.44043357076016854
}
```