因为/site-packages/spacy/data
下除了 init.py文件外没有别的数据
import spacy
nlp = spacy.load('en')
Warning: no model found for 'en'
Only loading the 'en' tokenizer.
解决办法
python -m spacy.en.download all
因为/site-packages/spacy/data
下除了 init.py文件外没有别的数据
import spacy
nlp = spacy.load('en')
Warning: no model found for 'en'
Only loading the 'en' tokenizer.
解决办法
python -m spacy.en.download all