# credit to the Stack Overflow user in the source link import spacy nlp = spacy.load("en_core_web_sm") # or some other model, check spaCy docs vocabulary = list(nlp.vocab.strings)