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

Connected

exercițiu

Inspecting the pipeline

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

Instrucțiuni

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.