What Azure NLP covers
Natural language processing (NLP) is how Azure AI services understand and generate human language - text and speech. For AI-900 the two headline services are Azure AI Language and Azure AI Speech, both part of Azure AI Services (the multi-service resource).
Azure AI Language features
- Key phrase extraction - pulls out the main talking points from a block of text.
- Sentiment analysis - scores text as positive, negative, neutral or mixed, with a confidence score between 0 and 1 for each label.
- Named Entity Recognition (NER) - finds and categorises entities such as people, places, dates, quantities and organisations.
- PII detection - a specific type of entity recognition that flags and can redact personal data like names, phone numbers and card numbers.
- Language detection - identifies the language a text is written in and returns an ISO code plus a confidence score.
- Conversational Language Understanding (CLU) - the successor to the old LUIS service, used to build custom intent and entity models for chatbots and voice apps. Remember: LUIS is retired, CLU is the current tool.
- Question Answering - turns a knowledge base (often a FAQ document) into an API that answers natural-language questions.
Azure AI Speech features
- Speech to text - transcribes spoken audio into text, real-time or batch.
- Text to speech - converts text into natural-sounding spoken audio; supports both prebuilt neural voices and custom voices.
- Speech translation - converts spoken audio in one language into text or speech in another, in near real time.
- Speaker recognition - identifies or verifies who is speaking from their voice.
Common mistakes to avoid
- Do not confuse sentiment analysis (whole-document tone) with key phrase extraction (topic words) - they answer different questions.
- Language detection returns a confidence score; a value of (Unknown) means the service could not reliably tell.
- CLU replaces LUIS - if an exam item mentions building custom intents, the current answer is CLU, not LUIS.
- Translator (text translation) is a separate Azure AI service from Speech Translation, but both sit under the NLP umbrella - Translator does text-to-text, Speech does audio-involving translation.
- PII detection is not the same as content moderation; PII is about personal data, not offensive content.
Quick recap
Azure AI Language handles written text tasks (sentiment, key phrases, NER, PII, language detection, CLU, Question Answering). Azure AI Speech handles spoken language tasks (speech-to-text, text-to-speech, translation, speaker recognition). Both can be accessed through a single multi-service Azure AI Services resource or as standalone resources.
Which Azure service extracts sentiment, key phrases and entities from text?
Azure AI Language.
tap to reveal
What are the four possible sentiment labels in Azure AI Language sentiment analysis?
Positive, negative, neutral, mixed - each with a confidence score 0 to 1.
tap to reveal
What replaced LUIS for building custom language understanding models?
Conversational Language Understanding (CLU); LUIS is retired.
tap to reveal
What does NER stand for and what does it do?
Named Entity Recognition - finds and categorises entities like people, places, dates and organisations in text.
tap to reveal
What does PII detection do in Azure AI Language?
Finds and can redact personal data such as names, phone numbers and card numbers.
tap to reveal
What does language detection return?
An ISO language code and a confidence score; Unknown if it cannot tell.
tap to reveal
Name the four core capabilities of Azure AI Speech.
Speech-to-text, text-to-speech, speech translation, speaker recognition.
tap to reveal
What two voice options does text-to-speech support?
Prebuilt neural voices and custom-trained voices.
tap to reveal
What is the difference between Translator and Speech Translation?
Translator does text-to-text; Speech Translation converts spoken audio in real time into text or speech in another language.
tap to reveal
What does Question Answering do?
Turns a knowledge base, often FAQ content, into an API that answers natural-language questions.
tap to reveal
What is key phrase extraction used for?
Pulling out the main talking points or topics from a block of text.
tap to reveal
How can Azure AI Language and Speech resources be provisioned?
Either via a single multi-service Azure AI Services resource or as separate single-service resources.
tap to reveal
What does speaker recognition do?
Identifies or verifies who is speaking based on their voice.
tap to reveal