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.