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
Open command prompt or terminal and execute the below code:
pip3 install https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-2.2.0/en_core_web_sm-2.2.0.tar.gz
Execute the below chunk in your Jupiter notebook.
import spacy
nlp = spacy.load('en_core_web_sm')
Hope the above code works for all:)