Use Microsoft Cognitive Services Text Analytics API

October 5, 2016

1319 views
562 downloads


Report Abuse
This experiment shows you how you can call a Microsoft Cognitive Services Text Analytics sentiment analysis API using the Execute Python module. IMPORTANT: You MUST have a valid key to run this experiment. In the "Enter Data Manually" module you must paste in a valid key for the experiment to run and for you to publish as a web service. Instructions are here: https://azure.microsoft.com/en-us/documentation/articles/cognitive-services-text-analytics-quick-start/
The [Microsoft Cognitive Services APIs][1] are a set of APIs for making your apps more human. [Text Analytics][2] provides sentiment analysis, key phrase extraction, topic detection, and language detection from text. This experiment shows how to call the Text Analytics Sentiment Analysis API using Python in an Execute Python module. The input to the web service is a string with the header "Text" and the output is a sentiment score. IMPORTANT: You MUST have a valid key to run this experiment. In the "Enter Data Manually" module you must paste in a valid key for the experiment to run and for you to publish as a web service. Instructions are [here][3]. [1]: https://www.microsoft.com/cognitive-services [2]: https://www.microsoft.com/cognitive-services/en-us/text-analytics-api [3]: https://azure.microsoft.com/en-us/documentation/articles/cognitive-services-text-analytics-quick-start/