1. Learn
  2. /
  3. Courses
  4. /
  5. Advanced NLP with spaCy

Connected

Exercise

Inspecting the pipeline

Let's inspect the small English model's pipeline!

Instructions

100 XP
  • Load the en_core_web_sm model and create the nlp object.
  • Print the names of the pipeline components using nlp.pipe_names.
  • Print the full pipeline of (name, component) tuples using nlp.pipeline.