You are here

NegativePositive Analyzer API - Sample Source Code

The NegativePositive Analyzer API tells whether the expressed opinion in short texts is positive, negative, or neutral. Given a short sentence (currently only Japanese is supported), it returns a label representing the identified sentiment, along with a numeric score ranging from strongly positive (3.0) to extremely negative (-3.0).