Sign Up

Log In

RussianSentimentAnalyzer

PAID
By dmitrykey
Updated 9 months ago
Business
4.1/10
Popularity Score
705ms
Latency
95%
Success Rate

RussianSentimentAnalyzer API Documentation

RussianSentimentAnalyzer is a JSON API based on the technology stack of Insider Solutions company. It is capable of parsing the input text, reconstructing the meaning of messages with typos, like tweets and finding sentiment polarity oriented towards a particular object.

Consider an example:

I like new GalaxyS, but do not enjoy new iPhone.

If there are no objects, the sentiment of this sentence can be detected as NEUTRAL or MIXED. If, however, GalaxyS has been passed in as an object, the sentiment will be POSITIVE. It will be NEGATIVE for iPhone in this particular example.

Currently the API supports Russian language with input texts varying from long formal news posts to informal and short tweets.

Looking for text analytics APIs? Check the full list here: https://www.mashape.com/dmitrykey

View API Details

Supercharge your App

Discover and connect to thousands of APIs in the world's largest API Hub

Polarity
POSTInput text
POSTInput text with client_text_id
Feedback
POSTClient feedback
Subjectivity
POSTInput text for subjectivity
POSTInput text

Supply text and optionally target objects to annotate sentiment for. Also include clienttextid, if you plan to later submit feedback on it.

Sign up to test this endpoint
Log in
Header Parameters
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
json_inputJSON_STRING
REQUIREDInput JSON model
Request Snippet
unirest.post("https://russiansentimentanalyzer.p.rapidapi.com/rsa/sentiment/polarity/json/")
.header("X-RapidAPI-Key", "undefined")
.header("Content-Type", "application/json")
.send({"text":"К сожалению, вынужден оставить негативный отзыв т к Андрей попросту исчез перестав отвечать на звонки и сообщения в Вайбере после того как обнаружились незакрытые швы на поклеенных им и его напарником обоях. Т к это мой первый опыт работы на кабанчике сильно разочарован - так не делается. Отзыв останется если исполнителю неважна своя репутация и все равно на заказчиков.","object_keywords":"Андрей","include_strength":1})
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response

loading...

Log inSign up

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.post("https://russiansentimentanalyzer.p.rapidapi.com/rsa/sentiment/polarity/json/")
.header("X-RapidAPI-Key", "undefined")
.header("Content-Type", "application/json")
.send({"text":"К сожалению, вынужден оставить негативный отзыв т к Андрей попросту исчез перестав отвечать на звонки и сообщения в Вайбере после того как обнаружились незакрытые швы на поклеенных им и его напарником обоях. Т к это мой первый опыт работы на кабанчике сильно разочарован - так не делается. Отзыв останется если исполнителю неважна своя репутация и все равно на заказчиков.","object_keywords":"Андрей","include_strength":1})
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication
Sign up for freeto test this endpoint
Join the world’s largest API marketplace with over half a million developers and thousands of APIs.
DiscoverAPIs
Testfrom the browser
Connectusing code snippets
Managefrom one dashboard