Modelleri yükleme
Bir model yükleyerek başlayalım. spacy zaten içe aktarılmış durumda.
Bu egzersiz, kursun bir parçasıdır
spaCy ile İleri Düzey NLP
Uygulamalı etkileşimli egzersiz
Bu egzersizi bu örnek kodu tamamlayarak deneyin.
# Load the 'en_core_web_sm' model – spaCy is already imported
nlp = ____
text = "It’s official: Apple is the first U.S. public company to reach a $1 trillion market value"
# Process the text
doc = ____
# Print the document text
print(____.____)