pythonspacy

Can't find model 'en_core_web_lg'. It doesn't seem to be a shortcut link, a Python package or a valid path to a data directory


I was trying to upload 'en_core_web_lg' in spacy on google collab. I executed the following command on the collab cell.

!python -m spacy download en_core_web_lg 

I got this message

Now when I run nlp=spacy.load('en_core_web_lg')

I get this error message again. Please advise.

enter image description here


Solution

  •  python -m spacy download en_core_web_lg  
    

    then:

    [Ctrl+M] 
    

    or

    Restart Runtime 
    

    from the Menu bar