Top NLP techniques

NLP is a toolbox of techniques. Each one solves a specific language task, and real products usually combine several of them.

Everyday analogy

A carpenter's toolbox: a saw, a hammer, a drill and a measuring tape each do one job; a cupboard needs all of them.

Example

A customer-support system might use text classification (which department?), sentiment analysis (how upset?), named entity recognition (which order number?) and summarisation (a one-line note for the agent).

😊Sentimentpositive or negative?🏷️Named entitiespeople, places, dates📝Summarisationlong → short🌐Translationlanguage to language🗂️Topic modellingwhat is it about?❓Question answeringfind the answer
Core NLP techniques; real products combine several.

Named Entity Recognition (NER) in action

Priyankaperson booked a flight from Mumbaiplace to Dubaiplace with Air Indiaorganisation on 14 Marchdate for ₹18,500money.

Sentiment analysis

Detects the emotion or opinion in text: positive, negative or neutral.

e.g. tracking how customers feel about a new product

Named entity recognition

Finds names of people, places, organisations, dates and amounts.

e.g. pulling details out of invoices (see above)

Part-of-speech tagging

Labels each word as noun, verb, adjective and so on.

e.g. "book" as a noun (a book) vs a verb (book a cab)

Text classification

Sorts text into categories.

e.g. spam/not spam, or billing / technical / sales

Topic modelling

Discovers the main themes across many documents, without labels.

e.g. the top 5 topics in 10,000 survey comments

Summarisation

Shortens long text while keeping the key points.

e.g. a 3-line summary of a 20-page report

Machine translation

Converts text from one language to another.

e.g. English to Hindi or Arabic

Question answering

Finds or writes the answer to a question from text.

e.g. "What is the refund period?" answered from a policy

Text generation

Writes new text: replies, stories, code.

e.g. ChatGPT, Claude, Gemini

Speech recognition

Turns spoken words into text.

e.g. voice typing, meeting transcripts

Try it yourself

About 15 min

Try four techniques on one text

  1. Pick a short news article.
  2. Ask an AI chatbot for: a summary, the people and places in it (entities), the overall sentiment, and 3 keywords.
  3. Check each against the article.

What you should see: Real products combine several NLP techniques like these.

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.