Hi, I keep getting an error when trying to tag part-of-speech using NLTK. The code runs correctly on my local machine, but pythonanywhere spits out the error:
2017-08-06 00:09:57,604: Resource 'taggers/averaged_perceptron_tagger/averaged_perceptron
2017-08-06 00:09:57,604: _tagger.pickle' not found. Please use the NLTK Downloader to
2017-08-06 00:09:57,605: obtain the resource: >>> nltk.download()
2017-08-06 00:09:57,605: Searched in:
2017-08-06 00:09:57,605: - '/home/safesocialapp/nltk_data'
2017-08-06 00:09:57,605: - '/usr/share/nltk_data'
2017-08-06 00:09:57,605: - '/usr/local/share/nltk_data'
2017-08-06 00:09:57,605: - '/usr/lib/nltk_data'
2017-08-06 00:09:57,605: - '/usr/local/lib/nltk_data'
I've see elsewhere where people suggest running nltk.download(), but I'm not sure where this is supposed to be done? I'm fairly new to pythonanywhere. Any help would be much appreciated.