Skip to content Skip to sidebar Skip to footer

Bad Zip File Error In Pos Tagging In Nltk In Python

I am new to python and NLTK ..I want to do word tokenization and POS Tagging in this.I installed Nltk 3.0 in my Ubuntu 14.04 having a default python 2.7.6.First I tried to do token

Solution 1:

You apparently did not yet run download_corpora.py (successfully).

Solution 2:

I've solved the same problem as following this question on stackoverflow.

question

Basically, check your NLTK version. If it's higher than v3.2 use this command line:

nltk.download('averaged_perceptron_tagger')

It worked for me.

Post a Comment for "Bad Zip File Error In Pos Tagging In Nltk In Python"