OSError: [E050] Can’t find model ‘en_core_web_sm’. It doesn’t seem to be a Python package or a valid path to a data directory.
python -m spacy download en_core_web_sm
import spacy # 加载英语模型 nlp = spacy.load("en_core_web_sm")
京公网安备 11010502049817号