NER-using-Deep-Learning
NER-using-Deep-Learning copied to clipboard
decoding not happenning
Hello,u haven't mentioned the type of decoding that has to happen in process_data.py in the method read_data and i have tried with utf-8 but it is still showing the same error. It would be a great help if u looked into this. I have attached a screenshot of the error.
Sorry for late replying
Can you replace the line
with codecs.open(datapath, 'r') as f:
by
with codecs.open(datapath, 'r', encoding='utf8') as f:
? See if this works. Also, are using the project's data or some other data?
Thanks,it worked for utf-8-sig,it isn't working for utf-8