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
I had a similar error where ascii codec couldn't decode unicode characters in the file - solved it by reading file as binary and decoding it to ascii. Used the following code for all of the data files
with open(law_data_file, 'rb') as unicodefile:
ufile = unicodefile.read()
asciitext = ufile.decode('ascii','ignore')
law_examples = asciitext.splitlines()
im using Anaconda 3,python 3.5 on windows
The text was updated successfully, but these errors were encountered: