def process_file(file):
    data_list = []
    with open((path + file), 'r', encoding='utf-8') as f:
        for line in f:
            (sen, label) = line.split('\t', 1)
            data_item = [sen, int(label)]
            data_list.append(data_item)
    return data_list
def process_file(file):
    data_list = []
    with open((path + file), 'r', encoding='utf-8') as f:
        for line in f:
            (sen, label) = line.split('\t', 1)
            data_item = [sen, int(label)]
            data_list.append(data_item)
    return data_list