emotions

Send text and get emotion behind that text like 'anger', 'sadness', 'shame', 'disgust', 'fear', 'joy', 'guilt'

Algorithmia Platform License

Run an Example

"[{\"emotion\": \"anger\", \"text\": \"i am angry\", \"confidence\": \"0.74\"}, {\"emotion\": \"joy\", \"text\": \"I am happy\", \"confidence\": \"0.84\"}, {\"emotion\": \"sadness\", \"text\": \"Are you sad?\", \"confidence\": \"0.89\"}]"

Install & Use

Use

curl -X POST -d '{
	"text_array": [
	  "i am angry",
	  "I am happy",
	  "Are you sad?"
	  ]
}' -H 'Content-Type: application/json' -H 'Authorization: Simple YOUR_API_KEY' https://api.algorithmia.com/v1/algo/dilipajm/emotions/0.2.1