We have released a new version of our sentiment analysis API, Sentiment Analysis. In Sentiment Analysis 2.1:
- We’ve changed how the sentiment model is sent in order to enable the use of custom sentiment models across all the APIs that support sentiment analysis.
- Support to analyze documents and URLs has been added.
- A configurable interface language has been added to improve multilingual analyses.
As you would see, this is a minor version upgrade, so the migration process will be fast and painless. In this post, we explain what you need to know to migrate your applications from Sentiment Analysis 2.0 to Sentiment Analysis 2.1.
The most relevant changes in the request are the following:
|Sentiment Analysis 2.0||Sentiment Analysis 2.1|
||Did not exist.||It has the same values available as
||Did not exist.||URL to analyze.|
||Did not exist.||Document to analyze.|
||Did not exist.||Language in which the
||It has been divided into two parameters:
All the other parameters from Sentiment Analysis 2.0 not explicitly mentioned behave exactly the same in Sentiment Analysis 2.1. The API response remains identical in this new version.
Again, all the details can be found in the Sentiment Analysis 2.1 documentation. Remember! Sentiment Analysis 2.0 will be retired on July, 7th, so make sure to adapt your integration by then. If you have any questions or issues during the migration, we are always available either through our support form, or just by writing us to firstname.lastname@example.org.