Explain it simpler
Azure AI Language can read text and tell you useful things about it without any training. It can tell which language a sentence is written in. It can pick out the main talking points, such as 'battery life' or 'front desk'. It can find names of people, places, companies and dates, and even work out which real thing a name refers to, like knowing whether 'Mars' means the planet or the candy company. It can also judge whether text sounds positive, negative, neutral or mixed. Opinion mining goes one step further and tells you what exactly people liked or disliked: for example, 'the room was spacious but the breakfast was cold' means good room, bad breakfast. It is like a fast assistant who reads every review and highlights the important parts.
Monday morning at Seabright Hotels, Tomas from guest experience drops a spreadsheet on your desk: 50,000 reviews from last month, in a dozen languages, and the regional director wants to know by Friday what guests are actually unhappy about. The star ratings say 'average', which tells nobody what to fix. Some reviews praise the breakfast and trash the Wi-Fi in the same paragraph. One mentions 'Paris' and nobody can tell whether it means the city or a staff member named Paris. Reading them all by hand would take weeks. You have an Azure AI Language resource and no time to train a custom model. Which prebuilt features will turn this pile of text into answers, and which one tells you exactly what guests dislike?
Azure AI Language offers prebuilt natural language processing (NLP) features that analyze text without any training. You send documents, each a piece of plain text with an id and optionally a language code, and choose the kind of analysis you want. In REST, the call posts to the language/:analyze-text path with a kind such as LanguageDetection, KeyPhraseExtraction, EntityRecognition, EntityLinking or SentimentAnalysis. The SDKs expose friendlier methods such as detect_language, extract_key_phrases, recognize_entities, recognize_linked_entities and analyze_sentiment. Results come back per document, and errors are reported per document too, so one bad input does not fail the whole batch. Larger jobs, and requests that combine several analyses at once, use the asynchronous analyze-text jobs endpoint, where you submit a job and poll for its results.
Keep reading for free
Create a free StudyToCert account to read the rest of this lesson: 7 more sections, 6 key terms, a real-world example, an exam tip and self-check questions. Every lesson, lab and practice test is free with an account.