What is Natural Language Processing?

Natural Language Processing (NLP) is the branch of AI that helps computers read, understand, interpret and produce human language, typed or spoken. "Natural language" means the languages people speak, like English, Hindi or Arabic, as opposed to computer code. NLP combines linguistics (how language works) with machine learning (learning patterns from data).

Everyday analogy

A very well-read interpreter who has studied millions of conversations. They don't just swap words; they understand meaning, tone and context, then respond in the right way.

Example

When you type "book cab to airport 6am" into an app, NLP works out that you want a booking (intent), that the destination is the airport and the time is 6 a.m. (details), even though it isn't a full sentence.

✍️Readtext and speech🧠Understandmeaning and intent🔎Interpretsentiment, entities💬Producereplies, summaries
NLP helps computers read, understand and produce human language.

Understanding (NLU)

Working out what text means: intent, topic, emotion, facts.

e.g. "Is this review angry?"

Generation (NLG)

Writing new text that reads naturally.

e.g. drafting an email reply

Speech

Turning speech into text and text into speech.

e.g. voice assistants, call-centre transcripts

Try it yourself

About 10 min

Ask a computer to understand you

  1. Type three ambiguous sentences into an AI chatbot, e.g. I saw her duck.
  2. Ask it for all possible meanings.
  3. Notice what extra context would make it certain.

What you should see: Language is full of ambiguity, which is why NLP is hard.

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.