1. Học hỏi
  2. /
  3. Khoa Học
  4. /
  5. Advanced NLP with spaCy

Connected

Bài tập

Inspecting the pipeline

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

Hướng dẫn

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.