Example call to Language: sentiment service

From platform version 1.4.0

In this tutorial we will perform a call to the sentiment analysis REST API service to detect this component in the text.

Call to sentiment/sample

Firstly, make a request to the example to know the request's arguments and format. You need the user token to do any call to the REST APIs.

Call to sentiment

With this example, you can replace the data with your own data easily.

If you want to show the analysis operation statistics, you can include the following parameter: showStats = true.

You can see the analysis results (along with the statistics), in the response.