liveBook · Manning

Named entity

As explained in Natural Language Processing in Action, Second Edition

A named entity is a textual reference to a specific person, place, thing, date, location, or other identifiable information-bearing entity.

A named entity is a word or n-gram that identifies a specific real-world person, place, thing, date, location, website, company, or other information-bearing entity. Recognition turns text into structured data that downstream systems can use. section 11.3 section 11.4

Common entity categories include:

  • People, including pronouns or words whose meaning must be resolved to a particular user. section 11.3
  • Places, dates, and events such as Monday, which can be located on a calendar. section 11.3
  • Specific things such as websites or companies, whose spelling may require normalization. section 11.3
  • Numerical information such as GPS locations, dates, prices, and numbers. section 11.4

Turning a reminder into an action

In “Remind me to read AI Index on Monday,” a useful system identifies “me” as a person, resolves the relevant user, recognizes aiindex.org as a website, identifies Monday as an event, extracts the relation between “me” and “remind,” and selects the next upcoming Monday. section 11.3

Named entity recognition can use pattern matching or neural methods. Regular expressions may be more precise for predictable data such as dates, prices, numbers, and GPS locations; recognized entities can then populate a knowledge graph or trigger an application action. section 11.4

How Natural Language Processing in Action, Second Edition covers it

How deep it goes
Defines entity types and recognition approaches, then works through resolution and normalization without implementing a recognizer.
Examples
Uses a reminder request containing a person reference, website, and weekday, plus GPS locations, dates, prices, and numbers.
What it assumes
Assumes organized sentences and basic noun concepts, while teaching entity categories and recognition methods.
What you can do after
Apply it via an NLU pipeline to identify, resolve, normalize, and connect entities before triggering actions.
How it connects
Connects named entity recognition with natural language understanding, part-of-speech tagging, relation extraction, regular expressions, and knowledge graphs.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Natural Language Processing in Action, Second Edition. The section links point to the parts of the book it draws on.