BaşlayınÜcretsiz Başlayın

Inspecting the pipeline

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

Bu egzersiz

Advanced NLP with spaCy

kursunun bir parçasıdır
Kursu Görüntüle

Egzersiz talimatları

  • 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.

Uygulamalı interaktif egzersiz

Bu örnek kodu tamamlayarak bu egzersizi bitirin.

# Load the en_core_web_sm model
nlp = ____

# Print the names of the pipeline components
print(____.____)

# Print the full pipeline of (name, component) tuples
print(____.____)
Kodu Düzenle ve Çalıştır