Unexpected Error:: No JSON object could be decoded
When I performed the statement: ./fetch_corpus_text.py, there will always be these two error messages as follow and The operation will be interrupted,which can't be solved by running again.
Unexpected Error:: No JSON object could be decoded Unexpected Error:: HTTPConnectionPool(host='en.wikipedia.org', port=80): Max retries exceeded with url...
If I continue with the next steps, there will be an error of RuntimeError:you must first build vocabulary before training the model during training, I think it may be caused by the above problem.
So, how can I solve this problem? It would be so great with your help.
I suspect this is due to some change in the wikipedia package. I don't have time to investigate this now but, if you figure this out, a PR is very welcome.