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\')
import spacy nlp = spacy.load('/opt/anaconda3/envs/NLPENV/lib/python3.7/site-packages/en_core_web_sm/en_core_web_sm-2.3.1')
Try giving the absolute path of the package with the version as shown in the image.
It works perfectly fine.