nlp

nlp / SocialSentimentAnalysis / 0.1.4

Social Sentiment Analysis

Royalty Free API Calls - 14,226,858
Gives the positive, negative and neutral sentiment of an English sentence.
Permissions
The Algorithm Platform License is the set of terms that are stated in the Software License section of the Algorithmia Application Developer and API License Agreement. It is intended to allow users to reserve as many rights as possible without limiting Algorithmia's ability to run it as a service. Learn More

Run an Example

Input
Output
[
  {
    "compound": 0.508,
    "negative": 0.14500000000000002,
    "neutral": 0.521,
    "positive": 0.3350000000000001,
    "sentence": "This old product sucks! But after the update it works like a charm!"
  }
]

Install and Use

Install

Install the Algorithmia CLI client by running:

curl -sSLf https://algorithmia.com/install.sh | sh

Then authenticate by running:

algo auth
# Enter API Key: YOUR_API_KEY
CLI Install Docs

Use



algo run nlp/SocialSentimentAnalysis/0.1.4 -d '{
  "sentence": "This old product sucks! But after the update it works like a charm!"
  
}'
  
CLI Docs