Extract information from your text
Use the demo below to experiment with the Text Analytics API. Pick one of our examples or provide your own. Identify the language, sentiment, key phrases, and entities (Preview) of your text by clicking "Analyze".
See it in action
Languages: | English (confidence: 100 %) |
---|---|
Key phrases: | Seattle, wonderful trip, Space Needle |
Sentiment: |
98 %
|
Linked Entities (Preview): | I had a wonderful trip to Seattle and enjoyed seeing the Space Needle! |
{ "languageDetection": { "documents": [ { "id": "d6f7c808-edda-4bdf-852d-e6434317c8f4", "detectedLanguages": [ { "name": "English", "iso6391Name": "en", "score": 1.0 } ] } ], "errors": [] }, "keyPhrases": { "documents": [ { "id": "d6f7c808-edda-4bdf-852d-e6434317c8f4", "keyPhrases": [ "Seattle", "wonderful trip", "Space Needle" ] } ], "errors": [] }, "sentiment": { "documents": [ { "id": "d6f7c808-edda-4bdf-852d-e6434317c8f4", "score": 0.97037649154663086 } ], "errors": [] }, "entities": { "documents": [ { "id": "d6f7c808-edda-4bdf-852d-e6434317c8f4", "entities": [ { "name": "Space Needle", "matches": [ { "text": "the Space Needle", "offset": 53, "length": 16 } ], "wikipediaLanguage": "en", "wikipediaId": "Space Needle", "wikipediaUrl": "https://en.wikipedia.org/wiki/Space_Needle", "bingId": "f8dd5b08-206d-2554-6e4a-893f51f4de7e" }, { "name": "Seattle", "matches": [ { "text": "Seattle", "offset": 26, "length": 7 } ], "wikipediaLanguage": "en", "wikipediaId": "Seattle", "wikipediaUrl": "https://en.wikipedia.org/wiki/Seattle", "bingId": "5fbba6b8-85e1-4d41-9444-d9055436e473" } ] } ], "errors": [] } }
Want to build this?
Sentiment analysis
The API returns a numeric score between 0 and 1. Scores close to 1 indicate positive sentiment, and scores close to 0 indicate negative sentiment. Sentiment score is generated using classification techniques. The input features of the classifier include n-grams, features generated from part-of-speech tags, and word embeddings. It is supported in a variety of languages.
Learn more
Key phrase extraction
The API returns a list of strings denoting the key talking points in the input text.We employ techniques from Microsoft Office's sophisticated Natural Language Processing toolkit. English, German, Spanish, and Japanese text are supported.
Learn more
Language detection
The API returns the detected language and a numeric score between 0 and 1. Scores close to 1 indicate 100% certainty that the identified language is true. A total of 120 languages are supported.
Learn more
Identify entities in your text Preview
Detect all named entities in the text, such as organizations, people, and locations, and more. Entity Linking disambiguates distinct entities by associating text to additional information on the web. For example, use it to determine whether a term such as “times” refers to “The New York Times” or “Times Square.”
Learn more

"We found Cognitive Services to be the missing piece in the equation, the one that we needed to bring this solution to market and really revolutionize the way people look at video"
Katie McCann: Vice President of Product and Engineering | Prism Skylabs
Explore the Cognitive Services APIs
Computer Vision
Distill actionable information from images
Face
Detect, identify, analyze, organize, and tag faces in photos
Video Indexer
Unlock video insights
Content Moderator
Automated image, text, and video moderation
Custom Vision PREVIEW
Easily customize your own state-of-the-art computer vision models for your unique use case
Text Analytics
Easily evaluate sentiment and topics to understand what users want
Translator Text
Easily conduct machine translation with a simple REST API call
Bing Spell Check
Detect and correct spelling mistakes in your app
Content Moderator
Automated image, text, and video moderation
Language Understanding
Teach your apps to understand commands from your users
Speech Services
Unified speech services for speech-to-text, text-to-speech and speech translation
Speaker Recognition PREVIEW
Use speech to identify and verify individual speakers
Bing Web Search
Get enhanced search details from billions of web documents
Bing Visual Search
Get rich insights to help build compelling image applications on the device of your choice.
Bing Custom Search
An easy-to-use, ad-free, commercial-grade search tool that lets you deliver the results you want
Bing Entity Search
Enrich your experiences by identifying and augmenting entity information from the web
Bing Video Search
Search for videos and get comprehensive results
Bing News Search
Search for news and get comprehensive results
Bing Image Search
Search for images and get comprehensive results
Bing Autosuggest
Give your app intelligent autosuggest options for searches
Bing Local Business Search PREVIEW
Retrieve local business search results for a place of interest
QnA Maker
Distill information into conversational, easy-to-navigate answers