spacy Can't find model 'en_core_web_sm' on windows 10 and Python 3.5.3 :: Anaconda custom (64-bit)

前端 未结 15 1066
傲寒
傲寒 2020-12-08 09:40

what is difference between spacy.load(\'en_core_web_sm\') and spacy.load(\'en\')? This link explains different model sizes. But i am still not clea

15条回答
  •  孤城傲影
    2020-12-08 09:58

    First of all, install spacy using the following command for jupyter notebook pip install -U spacy

    Then write the following code:

    import en_core_web_sm
    nlp = en_core_web_sm.load()
    

提交回复
热议问题