Entity types

spaCy supports the following entity types in the large language model that we loaded in the nlp object:

Type Description
PERSON People, including fictional people
NORP Nationalities or religious or political groups
FAC Buildings, airports, highways, bridges, and so on
ORG Companies, agencies, institutions, and so on
GPE Countries, cities, states
LOC Non-GPE locations, mountain ranges, bodies of water
PRODUCT Objects, vehicles, foods, and so on (not services)
EVENT Named hurricanes, battles, wars, sports events, and so on
WORK_OF_ART Titles of books, songs, and so on
LAW Named documents made into laws
LANGUAGE Any named language
DATE Absolute or relative dates or periods
TIME Times smaller than ...

Get Natural Language Processing with Python Quick Start Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.