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