Automatic-Question-Generator icon indicating copy to clipboard operation
Automatic-Question-Generator copied to clipboard

Cant find model error

Open Rasipuram opened this issue 6 years ago • 3 comments

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.

Rasipuram avatar May 18 '19 01:05 Rasipuram

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

python -m spacy download en_core_web_sm

pidugusundeep avatar Jul 12 '19 13:07 pidugusundeep

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

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

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

Akhil1278 avatar Jun 02 '20 14:06 Akhil1278

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')

spb722 avatar May 08 '21 16:05 spb722