Answers for "spacy print word in vocab"

0

spacy print word in vocab

import spacy

# load your spaCy model here
nlp = spacy.load("en_core_web_sm") 

words = set(nlp.vocab.strings) 

for word in words:
  print(word)
Posted by: Guest on May-27-2021

Python Answers by Framework

Browse Popular Code Answers by Language