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
spacy.load(\'en_core_web_sm\')
spacy.load(\'en\')
First of all, install spacy using the following command for jupyter notebook pip install -U spacy
pip install -U spacy
Then write the following code:
import en_core_web_sm nlp = en_core_web_sm.load()