Sentiment Analyzer :: Demo



 


You can also access the service via curl:
$ curl -d "content=fine" -d "lang=en" \
  http://sentimentanalyzer.appspot.com/api/classify
{
  "score": 0.92571768360592344
}
 

For bulk classification use classify.json:
$ curl -d '{"data": [{"content": "fine", "lang": "en"}, \
                     {"content": "bad", "lang": "en"}]}' \
  http://sentimentanalyzer.appspot.com/api/classify.json

{
"data": 
  [
    {"content": "fine", "lang": "en", "score": 0.92571768360592344}, 
    {"content": "bad", "lang": "en", "score": 3.6169535108489392e-05}
  ]
}