
ines on develop
Tidy up docs components [ci ski… (compare)
ines on nightly.spacy.io
Use "raise ... from" in custom … Sync develop with nightly docs … Merge pull request #5882 from e… and 2 more (compare)
ines on develop
Fix server-side rendering [ci s… (compare)
when I'm installing the most recent version of spacy and loading 'en_core_web_lg' I'm getting a vocab size of 489
import spacy
nlp = spacy.load('en_core_web_md')
len(nlp.vocab)
489
When I do the same for version 2.2.4 I get
import spacy
nlp = spacy.load('en_core_web_lg')
len(nlp.vocab)
1340241
Am I doing something wrong with the newest version???
I have text "galaxy in the constellation Cetus"
when i run code:
nlp = spacy.load("en_core_web_sm")
doc = nlp("galaxy in the constellation Cetus")
for chunk in doc.nounchunks:
print(chunk.text+""+root.text+""+root.dep+"__"+root.head.text)
it returns:
the constellationconstellationpobj__in
--- [the, Cetus]
galaxy in the constellation Cetus
[]