Update dataset.py

This commit is contained in:
Xin Xu 2021-12-15 18:31:35 +08:00 committed by GitHub
parent 446063806c
commit a6f897bb04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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= []