Natural Language Processing (NLP)

NLP is the field of AI that helps computers understand, interpret and write human language, whether typed or spoken.

Everyday analogy

A skilled interpreter at a meeting: they listen, understand the meaning and tone, and reply in another language, not just word for word.

Example

  • Google Translate
  • Gmail suggesting how to finish your sentence
  • Finding angry customer reviews automatically (sentiment analysis)
  • Voice assistants turning speech into text
  • Chatbots like ChatGPT
💬Text or speech"Book a cab at 6"✂️Split intotokenswords and pieces🔢Turn intonumbersmeaning asvectors🧠Understandintent: booking,time: 6pm✅Act or replycab booked
NLP turns human language into numbers a computer can work with, then back into useful action.

How a computer handles a sentence

1. Text"Book a cab to the airport"
→
2. TokensSplit into small pieces
→
3. NumbersEach piece becomes numbers that capture meaning (embeddings)
→
4. UnderstandThe model works out the intent: book a cab, destination airport
→
5. Respond"Sure, booking a cab to the airport."

Want to go deeper? Explore the full NLP section →

Try it yourself

About 10 min

Catch NLP at work

  1. Type a message on your phone and notice autocorrect and word suggestions.
  2. Use voice typing to dictate one sentence.
  3. Paste a short paragraph into a translator and translate it back again.

What you should see: Three everyday NLP tasks: prediction, speech-to-text and translation. Notice where each one slips.

Use any free AI chatbot (ChatGPT, Claude, Gemini or Copilot). Never paste private or confidential information.

Build it for real · guided projectBuild a sentiment analyser for product reviewsAbout 60 min · Copy-paste code · step by step
Test what you learned

Take a quick quiz, or look up any word in the glossary.