Unsupervised Sentiment Analysis

Another take on sentiment analysis. English language only. Trained on 82 million Amazon product reviews.

MIT License
mit
· Internet Access

This algorithm has Internet access.

This is necessary for algorithms that rely on external services, however it also implies that this algorithm is able to send your input data outside of the Algorithmia platform.

Run an Example

{
  "avg": 0.09105601906776428,
  "max": 1.0668619871139526,
  "min": -0.8847499489784241,
  "sentences_sentiments": [
    {
      "sentence": "This is great.",
      "sentiment": 1.0668619871139526
    },
    {
      "sentence": "I did not like it though.",
      "sentiment": -0.8847499489784241
    }
  ]
}

Install & Use

Use

curl -X POST -d '{
  "text": "This is great. I did not like it though."
}' -H 'Content-Type: application/json' -H 'Authorization: Simple YOUR_API_KEY' https://api.algorithmia.com/v1/algo/rkau/UnsupervisedSentiment/0.1.5