What is Named Entity Recognition (NER)?

Named Entity Recognition (NER) is like having a super-smart friend who can spot and label important names in a story.

Imagine you're reading a book about your favorite characters, let's say Harry Potter and Ron Weasley. Your smart friend can look at the sentence, “Harry went to visit Ron at the Burrow,” and quickly tell you: “This is Harry, this is Ron, and this is a place called the Burrow.”

That’s what NER does, it helps computers understand which parts of a text are names (like people or places) and labels them. It's like giving each name a special badge so the computer knows who or where they are.

How it works

Think of a sentence as a group of friends playing a game. NER is like the referee who says, “Hey, this friend is named ‘New York,’ and that one is called ‘Tom.’” The referee helps everyone know who’s who in the story.

In real life, NER can help computers understand things like:

  • Who wrote an email
  • Which city a news article is about
  • What company is mentioned in a message

It makes it easier for computers to understand and use the information from text, just like how you use names to remember your friends!

Take the quiz →

Examples

  1. A child reads a story and points out the names of characters, like 'Alice' and 'the Queen of Hearts.'
  2. A robot identifies that 'Paris' is a city in France.
  3. A computer knows that 'Tesla' refers to both the car company and the inventor.

Ask a question

See also

Discussion

Recent activity