Evolve AI Institute

How AI Understands Language - NLP Basics

Lesson 10 • Presentation Slides Content for PowerPoint/PDF • Grades 6–10
1 Title Slide

How AI Understands Language
Natural Language Processing Basics

Lesson 10 • Grades 6–10 • Evolve AI Institute

Background image suggestion: Digital brain with language symbols/words flowing
2 The Language Challenge

Can you figure out what this means?

“I saw her duck”

Two possible meanings:

  1. I saw her pet duck (the bird)
  2. I saw her duck down (lower herself)

Why is this confusing for computers?

3 More Tricky Sentences

Which meaning is correct?

  1. “Time flies like an arrow; fruit flies like a banana”
  2. “The old man the boats”
  3. “I’ll call you back on my cell”

The Problem: Language is full of:

4 What is Natural Language Processing?
Definition: Natural Language Processing (NLP) is a branch of Artificial Intelligence that helps computers understand, interpret, and generate human language.

The Goal: Enable computers to process language the way humans do—but computers need step-by-step instructions for what comes naturally to us!

Key Challenge: Teaching computers to handle the complexity, ambiguity, and nuance of human language.

Visual: Brain icon + Computer icon with arrows between them
5 NLP in Your Daily Life

You use NLP all the time!

6 Key Concept #1 – Tokenization

Breaking text into pieces

What is it? Splitting text into individual words or meaningful units (called “tokens”)

Example:
“I love AI education!”
Becomes → [“I”, “love”, “AI”, “education”, “!”]

Why it matters:

7 Tokenization Challenges

It’s not always simple!

Challenge 1 – Contractions:
“Don’t” → [“Do”, “n’t”] or [“Don’t”]?

Challenge 2 – Hyphenated words:
“well-known” → [“well”, “-”, “known”] or [“well-known”]?

Challenge 3 – Multiple languages:

8 Key Concept #2 – Part-of-Speech Tagging

Identifying word types

What is it? Labeling each word as a noun, verb, adjective, adverb, etc.

Example: “The quick brown fox jumps over the lazy dog”
  • The (Determiner) • quick (Adjective) • brown (Adjective) • fox (Noun)
  • jumps (Verb) • over (Preposition) • the (Determiner) • lazy (Adjective) • dog (Noun)

Why it matters: Understanding sentence structure helps AI grasp meaning

9 POS Tagging Gets Tricky!

The same word can be different parts of speech:

How does AI decide?

10 Key Concept #3 – Named Entity Recognition (NER)

Finding important names and terms

What is it? Identifying and categorizing key information:

Example: “Apple was founded by Steve Jobs in Cupertino in 1976”
Apple (ORGANIZATION) • Steve Jobs (PERSON) • Cupertino (LOCATION) • 1976 (DATE)
11 Why NER Matters

Real-world applications:

12 Key Concept #4 – Sentiment Analysis

Understanding emotions in text

What is it? Determining whether text expresses positive, negative, or neutral feelings.

Examples:
  • “This movie is amazing!” (POSITIVE)
  • “Worst pizza ever!” (NEGATIVE)
  • “The package arrived on Tuesday” (NEUTRAL)

Why it matters:

13 Sentiment Analysis Challenges

It’s not always obvious!

Challenge #1 – Sarcasm:
“Oh great, another rainy day” – Contains word “great” (positive) but meaning is negative!

Challenge #2 – Mixed Emotions:
“The food was delicious but the service was terrible” – Both positive AND negative

Challenge #3 – Context Matters:
“This movie is sick!” – In slang, “sick” means “awesome”!

AI is getting better, but still struggles with: Sarcasm and irony, cultural context, and subtle emotional nuances.
14 Key Concept #5 – Semantic Analysis

Understanding actual meaning

What is it? Going beyond individual words to understand relationships between words, overall meaning of sentences, and context and intent.

Example: “Can you open the window?”
Not just asking about your ability – it’s a polite request to open the window!

Semantic analysis helps AI:

15 Semantic Analysis in Action

Understanding context changes everything:

“The bank is closed” – Is it a financial institution or a river bank?

AI looks at context:

This is called Word Sense Disambiguation – figuring out which meaning of a word is being used.
16 How NLP Systems Work

The Process:

  1. Input – Text or speech
  2. Preprocessing – Clean and format data
  3. Tokenization – Break into words
  4. POS Tagging – Label word types
  5. Named Entity Recognition – Find key information
  6. Syntax Analysis – Understand sentence structure
  7. Semantic Analysis – Understand meaning
  8. Output – Response, translation, classification, etc.
Visual: Flowchart showing these steps with arrows
17 NLP Application – Chatbots

Conversational AI

How chatbots use NLP:

  1. User types a message
  2. NLP analyzes the text (what is the user asking?)
  3. Intent recognition (what do they want?)
  4. Entity extraction (specific details)
  5. Generate appropriate response
  6. Continue conversation with context

Examples: Customer service bots, virtual assistants, educational tutors, health information bots

Limitations: May not understand complex questions; struggles with context over long conversations; can’t handle all types of requests.
18 NLP Application – Translation

Breaking down language barriers

How machine translation works:

  1. Analyze source language sentence structure
  2. Identify words and their meanings
  3. Find equivalent words in target language
  4. Reconstruct sentence following target language rules
  5. Review and adjust for natural flow

Challenges:

Modern approach: Neural machine translation learns patterns from millions of examples!

19 NLP Application – Voice Assistants

Talking to technology

The process:

  1. Speech Recognition – Convert audio to text
  2. NLP Analysis – Understand the command
  3. Intent & Entity Extraction – What do you want to do?
  4. Action – Execute the command
  5. Response Generation – Create an answer
  6. Text-to-Speech – Speak the response
Example: “Hey Siri, set a timer for 10 minutes”
Intent: Set timer • Entity: 10 minutes • Action: Start countdown • Response: “Timer set for 10 minutes”
20 NLP Application – Content Moderation

Keeping online spaces safe

How NLP helps:

Process:

  1. Analyze text content
  2. Check for harmful keywords and patterns
  3. Use sentiment analysis (is it aggressive?)
  4. Context analysis (is it a joke or serious?)
  5. Flag for human review if needed
Challenges: False positives (flagging innocent content), missing subtle threats, different cultural contexts, evolving language (new slang).
21 Real-World NLP: Social Media

Understanding billions of messages

22 Real-World NLP: Healthcare

AI helping doctors and patients

23 Real-World NLP: Education

Personalized learning with AI

24 The Future of NLP

What’s coming next?

25 Challenges and Limitations

What NLP still struggles with:

26 Ethics in NLP

Important questions to consider:

27 Hands-On Activity

Now it’s your turn!

You’ll be doing NLP tasks that AI does automatically:

  1. Tokenization – Break text into words
  2. POS Tagging – Label parts of speech
  3. Named Entity Recognition – Identify key information
  4. Sentiment Analysis – Determine emotional tone
  5. Key Phrase Extraction – Find important concepts

Work in pairs and see how AI “thinks”!

28 Activity Example

Let’s try together first:

Sample sentence:
“Microsoft CEO Satya Nadella announced exciting AI features in Seattle yesterday.”

Your tasks:

  1. How many tokens (words)?
  2. Find the nouns, verbs, adjectives
  3. Identify named entities (PERSON, ORG, LOCATION, DATE)
  4. What’s the sentiment?
  5. What are the key phrases?
29 Design Challenge

Create your own NLP application!

With your group, design an NLP tool that:

Think about:

Be creative!

30 Review – Key Concepts

What we learned today:

  1. Tokenization – Breaking text into pieces
  2. Part-of-Speech Tagging – Identifying word types
  3. Named Entity Recognition – Finding key information
  4. Sentiment Analysis – Understanding emotions
  5. Semantic Analysis – Grasping meaning
Remember: Computers need explicit instructions for what comes naturally to humans!
31 Review – Real-World Applications

NLP is everywhere!

You interact with NLP dozens of times every day!

32 Looking Ahead

What’s next?

Next lesson: Machine Learning – How AI learns from data

Connection: The NLP systems we explored today use machine learning to improve over time by analyzing millions of text examples!

Think about:

33 Additional Resources

Want to explore more?

Try these:

Learn more:

34 Thank You!

Questions?

Keep exploring how AI understands language!

Remember: Every time you use voice commands, autocorrect, or translation apps, you’re experiencing NLP in action!

Contact:
Evolve AI Institute
info@evolveaiinstitute.com
evolveaiinstitute.com

Notes for Teachers

Design Recommendations