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

Analyzing pipelines in spaCy

spaCy allows you to analyze a spaCy pipeline to check whether any required attributes are not set. In this exercise, you'll practice analyzing a spaCy pipeline. Earlier in the video, an existing en_core_web_sm pipeline was analyzed and the result was No problems found., in this instance, you will analyze a blank spaCy English model with few added components and observe results of the analysis.

The spaCy package is already imported for you to use.

Bu egzersiz

Natural Language Processing with spaCy

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

Uygulamalı interaktif egzersiz

Bu örnek kodu tamamlayarak bu egzersizi bitirin.

# Load a blank spaCy English model
nlp = spacy.____("en")

# Add tagger and entity_linker pipeline components
nlp.____("tagger")
nlp.____(____)

# Analyze the pipeline
analysis = nlp.____(pretty=True)
Kodu Düzenle ve Çalıştır