sTarget is another sentiment analysis system. How is it different from other such systems? The main difference is that this system requires sentiment target to define sentiment. Many sentiment analysis systems use bag-of-words approach and simply count the number of positive and negative words in a text. But words do not exist without a context. Even positive ones like "perfect" may be used in a negative sentence, e.g.: It's a perfect example of how it shouldn't be done.

But context is very difficult to capture. We decided to reduce the context to a sentiment target, a word (or a phrase) that is evaluated in a context. For example, a sentence "I love tomatoes but hate cucumbers" is positive toward tomatoes and negative towards cucumbers. The "overall" sentiment is useless here. But if we specify "tomatoes" as a target, we'll get a correct sentiment - positive. And negative will be a correct sentiment for cucumbers.

Please, do not forget to try different classifiers changing parameter Classifier to either 'p' ("precision") for a more cautions approach to classification (reports only clear and reliably classified sentiment) or to 'r' ("recall") to find more sentiment (less accurately though).

Feel free to share your ideas and observations with us))

The version presented here is a limited version and is not as accurate as the full version being developed. If you need more detail please contact the author.

Last 7 days, UTC

Average Latency
92ms

Average Uptime
100.0%

Current Status
Online

  • No information
  • Outage
  • Disruption
  • Normal
Average latency determined from Mashape to API Response time

Endpoints

HTTP 200 : string GET/
Startget sentimnt analysis

This service returns sentiment for a given text regarding a specified target.


Test console
Description
Parameter
string

Sentiment analysis type: r - to maximize recall; p - to maximize precision (default)
Example: classifier=r

classifier

Optional

string

Specify a word or phrase (must be present in a text) that is commented about. Sentiment target is usually a noun or a pronoun.
Example: target=car

target

Required

string

the text that needs to be processed
Example: context=I love the car.

context

Required

Consume this API completely for free!


By joining the mashape API marketplace you can start using Starget sentiment analysis API today!

Login to your account or signup: Create Account

or
   Signup with GitHub

By signing up you agree to our terms of service.