ltp
ltp copied to clipboard
newbug: cannot be loaded on Windows
Exception has occurred: UnicodeDecodeError 'utf-8' codec can't decode byte 0xc1 in position 8: invalid start byte
I guess the reason is there's no encoding flag when it opens the data file.
open("xxx.data",encoding="utf-8")
such as this.
代码的编码格式改成utf-8?