Update dataset.py
This commit is contained in:
parent
446063806c
commit
a6f897bb04
|
@ -30,7 +30,7 @@ def readfile(filename):
|
|||
'''
|
||||
read file
|
||||
'''
|
||||
f = open(filename)
|
||||
f = open(filename, encoding='utf-8')
|
||||
data = []
|
||||
sentence = []
|
||||
label= []
|
||||
|
|
Loading…
Reference in New Issue