govader-backend
CategoryNatural Language Processing
SubcategoryMorphological Analyzers
Stars0
Microservice implementation of [GoVader](https://github.com/jonreiter/govader)
About govader-backend
Govader Backend NLP Package (sentimental analysis NLP)
Govader-Backend is a microservice thats returns sentimental analysis of given sentence.
Server wrapper for GoVader Packagehttps://github.com/jonreiter/govader
Usage:
go get github.com/PIMPfiction/govader_backend
package main
import (
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
{
"Negative": 0,
"Neutral": 0.5084745762711864,
"Positive": 0.4915254237288135,
"Compound": 0.44043357076016854
}
Frequently Asked Questions
What is govader-backend?
govader-backend is a Natural Language Processing library for the Go programming language. Microservice implementation of [GoVader](https://github.com/jonreiter/govader)
How do I install govader-backend?
Install govader-backend with the Go module system using `go get PIMPfiction/govader_backend`. Check the repository for the current installation instructions.
What category does govader-backend belong to?
govader-backend is listed under Natural Language Processing, specifically Morphological Analyzers.