I'm not able to execute the below lines, the error is
"UnicodeDecodeError: 'ascii' codec can't decode byte 0xcb in position 0: ordinal not in range(128)"
File "D:\Py 64\ anaconda\lib\site-packages\nltk\tag__init__.py", line 100, in pos_tag tagger = load(_POS_TAGGER)
File "D:\Py 64\ anaconda\lib\site-packages\nltk\data.py", line 779, in load resource_val = pickle.load(opened_resource, encoding='iso-8859-1')
My error is not just in data.py, but also in init.py.
Note:- I have changed the code in data.py, line 779 as mentioned here
text = word_tokenize("They refuse to permit us to obtain the refuse permit")
nltk.pos_tag(text)