0PricingLogin
NLP Academy · Lesson

Extracting Entities With spaCy

List entities and their labels.

spaCy Does the Work

spaCy ships a trained NER component that finds entities for you. You feed it text and read back labeled spans. 🐍

Load a Model

First load a pipeline that includes NER. The small English model en_core_web_sm is a quick, friendly starting point.

import spacy
nlp = spacy.load("en_core_web_sm")

All lessons in this course

  1. What Counts as an Entity?
  2. Extracting Entities With spaCy
  3. Visualizing Entities With displaCy
  4. Adding Custom Entity Rules
← Back to NLP Academy