Study guide
4.1 NLP Concepts and Common Tasks
Microsoft Azure AI Fundamentals AI-900
Track your progress as you read
Finished sections get a check mark.
1 Introduction
About the Azure AI Fundamentals (AI-900) Exam Study Strategies and Exam Tips for the AI-900
2 Domain 1: Describe AI Workloads and Considerations (15-20%)
1.1 What Is Artificial Intelligence? 1.2 Responsible AI Principles 1.3 Identifying Common AI Workloads and Use Cases 1.4 Responsible AI Tools and Practices on Azure
3 Domain 2: Fundamental Principles of Machine Learning on Azure (20-25%)
2.1 Core Machine Learning Concepts 2.2 Regression Models 2.3 Classification Models 2.4 Clustering Models 2.5 Deep Learning and Neural Networks 2.6 Azure Machine Learning Service
4 Domain 3: Computer Vision Workloads on Azure (15-20%)
3.1 Computer Vision Concepts and Tasks 3.2 Azure AI Vision Service 3.3 Azure AI Custom Vision and Face Services 3.4 Azure AI Document Intelligence
5 Domain 4: Natural Language Processing Workloads on Azure (15-20%)
4.1 NLP Concepts and Common Tasks 4.2 Azure AI Language Service 4.3 Azure AI Speech Service 4.4 Azure AI Translator Service
6 Domain 5: Generative AI Workloads on Azure (15-20%)
5.1 Generative AI Fundamentals 5.2 Azure OpenAI Service 5.3 Prompt Engineering 5.4 Retrieval-Augmented Generation (RAG) 5.5 Responsible Generative AI 5.6 Microsoft Copilot and AI-Powered Applications
7 Exam Review and Full-Length Practice Questions
6.1 Domain Summary and Key Comparisons 6.2 Practice Questions: AI Workloads and Responsible AI 6.3 Practice Questions: Machine Learning 6.4 Practice Questions: Computer Vision, NLP, and Generative AI
4.1 NLP Concepts and Common Tasks
Key Takeaways Explain This Topic AI
Natural Language Processing (NLP) lets AI understand, interpret, and generate human language — text and speech — and is 15-20% of the AI-900 after the May 2025 update.
Key phrase extraction identifies main topics but does NOT classify them; named entity recognition (NER) detects AND classifies entities (people, organizations, locations, dates, quantities).
Sentiment analysis returns positive/negative/neutral confidence scores at both document and sentence level; conflicting sentences in one document yield an overall 'mixed' result.
Language detection identifies the dominant language of text across 100+ languages and returns '(Unknown)' when it cannot decide.
Text summarization is extractive (pick existing sentences) or abstractive (generate new sentences via an LLM); PII detection finds and redacts sensitive personal data.
Last updated: June 2026
Quick Answer: NLP enables AI to understand and process human language. Key tasks include key phrase extraction (main topics), named entity recognition (people, places, dates), sentiment analysis (positive/negative/neutral), language detection (which language), and text summarization (condense text). Azure AI Language provides all these capabilities as pre-built APIs.
What Is Natural Language Processing?
Natural Language Processing (NLP) is a branch of AI that deals with the interaction between computers and human language. NLP enables machines to read, understand, derive meaning from, and respond to text and speech . On the AI-900, NLP is one of five exam domains and accounts for 15-20% of the exam after the May 2025 skills update.
NLP powers applications you use daily:
- Spam filters analyzing email content
- Virtual assistants understanding voice commands
- Auto-complete suggestions while typing
- Machine translation between languages
- Chatbots answering customer questions
- Search engines understanding your queries
A useful exam mindset: NLP almost always answers the question "what information do I need to pull OUT of text?" Match the information to the task, and you usually have the answer.
- Core NLP Tasks
- 1. Key Phrase Extraction
What it does: Identifies the main topics and concepts in text, extracting the most important phrases — without classifying them.
Input: "The food at the restaurant was delicious and the service was excellent. The atmosphere was cozy and the prices were reasonable."
Output: ["food", "restaurant", "service", "atmosphere", "prices"]
Use cases:
- Summarize large document collections by their key topics
- Extract main themes from customer feedback
- Automatically tag articles and documents
- Identify trending topics in social media
- 2. Named Entity Recognition (NER)
What it does: Detects and classifies entities mentioned in text — people, organizations, locations, dates, quantities, URLs, emails, and more. The key difference from key phrase extraction is that NER assigns a category to each item.
Input: "Microsoft CEO Satya Nadella announced a $10 billion investment in Azure AI at the Build 2026 conference in Seattle."
Output:
- Entity Type Category
- Microsoft Organization Company
- Satya Nadella Person Name
- $10 billion Quantity Currency
- Azure AI Product Technology
- Build 2026 Event Name
- Seattle Location City
Use cases:
- Extract contact information from documents
- Identify people and organizations mentioned in news articles
- Categorize support tickets by mentioned products
- Build knowledge graphs from unstructured text
A close cousin is entity linking , which disambiguates an entity and links it to a knowledge base such as Wikipedia. For example, "Mars" could mean the planet or the candy company — entity linking resolves which one is meant and returns a reference URL.
3. Sentiment Analysis
What it does: Determines whether text expresses positive, negative, or neutral sentiment, with confidence scores (0 to 1) for each label.
Input: "The hotel room was beautiful, but the check-in process was terrible."
Output:
- Scope Sentiment Positive Neutral Negative
- Overall Mixed 0.45 0.10 0.45
- "The hotel room was beautiful" Positive 0.95 0.03 0.02
- "the check-in process was terrible" Negative 0.02 0.05 0.93
Important: Sentiment analysis operates at document level (overall sentiment) AND sentence level (sentiment per sentence). When opposing opinions appear in one document, the overall result is labeled mixed , while individual sentences keep their own scores. This sentence-level breakdown is a frequent exam distractor.
Use cases:
- Monitor brand sentiment on social media
- Analyze customer review trends
- Route customer support tickets by urgency (negative = urgent)
- Track employee satisfaction in survey responses
- 4. Language Detection
What it does: Identifies which language a piece of text is written in.
- Input: "Bonjour le monde, comment allez-vous?"
- Output: French (fr), Confidence: 0.99
Capabilities:
- Supports 100+ languages
- Returns the dominant language in mixed-language text (one result per document)
- Returns ISO 639-1 language codes (en, fr, es, de, etc.)
Returns "(Unknown)" with a score of 0 when language cannot be determined (for example, random symbols or numbers)
Use cases:
- Route customer communications to language-appropriate agents
- Pre-process text before translation
- Analyze the language distribution of social media mentions
- Validate expected language in form submissions
- 5. Text Summarization
What it does: Condenses long text into a shorter summary that captures the key points.
Types:
Extractive summarization — selects and ranks the most important existing sentences from the original text
Abstractive summarization — generates new sentences that paraphrase the meaning (powered by generative AI / LLMs)
Azure AI Language also offers conversation summarization , which condenses chat transcripts into issues and resolutions — handy for call-center recap.
Use cases:
- Summarize meeting transcripts
- Create article summaries for newsletters
- Condense legal documents into key points
- Generate executive summaries from reports
- 6. PII (Personally Identifiable Information) Detection
What it does: Detects and optionally redacts sensitive personal information — names, phone numbers, email addresses, Social Security numbers, credit card numbers, and more.
- Input: "Call John Smith at 555-123-4567 or email john@example.com "
- Output: "Call [PERSON] at [PHONENUMBER] or email [EMAIL]"
Use cases:
- Comply with GDPR, HIPAA, and other privacy regulations
- Redact PII before storing or sharing documents
- Monitor communications for data leak prevention
- Anonymize customer data for analytics
On the Exam: Questions present a text-analysis scenario and ask which NLP task is needed. Decide what must be extracted: main topics = key phrase extraction; specific classified entities = NER; emotional tone = sentiment; which language = language detection; sensitive data = PII detection; shorter version = summarization. NER classifies; key phrase extraction does not — that single distinction resolves many tricky questions.