yassersouri / classify-text

"20 Newsgroups" text classification with python
http://yassersouri.github.com/classify-text/
150 stars 66 forks source link

ValueError: empty vocabulary; perhaps the documents only contain stop words #1

Closed MuhammadMohsan closed 7 years ago

MuhammadMohsan commented 7 years ago

Dear sir, first of all thank you very much for your response. I have resolved the error of path, but now its giving error "ValueError: empty vocabulary; perhaps the documents only contain stop words".The screen shot of the error is being attached. And yes i'm using the Windows (OS). Is it necessary to use UNIX based system? Waiting for your responce. Thanks in advance. image Regards, M Mohsan

yassersouri commented 7 years ago

It seems that you are not giving it the correct path. "\dataset" is incorrect. Give it the absolute path to the exact location of the dataset.