You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sir
When running nltkvid18.py, the following error is encountered:
UnicodeDecodeError: 'ascii' codec can't decode byte 0xed in position 6: ordinal not in range(128)
I am attaching the screenshot here
I found out that the files positive.txt and negative.txt show unknown charset type instead of ascii or utf-8 so the file was not able to read it.
I used " cat -v negative.txt > negative1.txt" and cat -v positive.txt > positive1.txt inorder to change the unknown charset type to ascii in a new file named positive1.txt and negative1.txt . After using these files it worked.
The text was updated successfully, but these errors were encountered:
Sir

When running nltkvid18.py, the following error is encountered:
UnicodeDecodeError: 'ascii' codec can't decode byte 0xed in position 6: ordinal not in range(128)
I am attaching the screenshot here
I found out that the files positive.txt and negative.txt show unknown charset type instead of ascii or utf-8 so the file was not able to read it.
I used " cat -v negative.txt > negative1.txt" and cat -v positive.txt > positive1.txt inorder to change the unknown charset type to ascii in a new file named positive1.txt and negative1.txt . After using these files it worked.
The text was updated successfully, but these errors were encountered: