Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cant find model error #2

Open
Rasipuram opened this issue May 18, 2019 · 3 comments
Open

Cant find model error #2

Rasipuram opened this issue May 18, 2019 · 3 comments

Comments

@Rasipuram
Copy link

Hi,
When I run main.py, it shows the following error.

OSError: [E050] Can't find model 'en_core_web_md'. It doesn't seem to be a shortcut link, a Python package or a valid path to a data directory.

Please let me know the solution for this problem.

@pidugusundeep
Copy link
Contributor

Just run the below and you are good to go (make sure you have spacy installed).

python -m spacy download en_core_web_sm

@Akhil1278
Copy link

@pidugusundeep I am not getting any output.It is showing.
Warning: parsing empty text

------X------
Start output:

End OutPut
-----X-----

@spb722
Copy link

spb722 commented May 8, 2021

python -m spacy download en_core_web_sm

in aggFunction.py
replace
nlp = spacy.load('en_core_web_md')
with
import en_core_web_sm
nlp = en_core_web_sm.load()

also install
nltk.download('punkt')
nltk.download('averaged_perceptron_tagger')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants