dipta-dhar / Automatic-Question-Generator

Automatic Question Generator from TEXT
109 stars 45 forks source link

Cant find model error #2

Open Rasipuram opened 5 years ago

Rasipuram commented 5 years ago

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 commented 5 years ago

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 commented 4 years ago

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

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

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

spb722 commented 3 years ago

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