Skip to content
This repository has been archived by the owner on Feb 10, 2022. It is now read-only.

Latest commit

 

History

History
21 lines (14 loc) · 1.73 KB

BingNewsAnalytics.md

File metadata and controls

21 lines (14 loc) · 1.73 KB

Bing News Analytics

alt text

This example connects the Bing News APIs with the Text Analytics APIs to create a visualization of the news based on their sentiment and most common topics.

  • The results contain the top-50 results from Bing News for the given query, sorted by sentiment of the headlines from most positive to most negative. A background color reflects the sentiment (using a linear gradient from green to red) to make it easy to digest, but the sentiment value is also displayed for reference and for the color blind.
  • The Sentiment Distribution on the top-left provides the big picture of the news sentiment. The colors in the chart also match the colors used in the result tiles.
  • The Top Keywords on the bottom-left is a word cloud of the top 10 keywords in the news headlines. The keywords are computed via the Key Phrase API in Text Analytics.
  • Up on the top-right corner you can turn off the sentiment sorting and see what the Bing-ranked results look like.
  • The result tiles are hyperlinked to the news.
  • The Bing Autosuggestion API is also used in this demo to offer search suggestions while you type.
  • The search results can be changed to all the four different languages that are supported by the Text Sentiment API (English, Spanish, French and Portuguese).

Key Source Code