def __parse_label_file(self, label_file, affective_type):
    label_table = pd.read_table(label_file)
    self.label_dict = dict(zip(label_table['name'], (label_table['valenceClass'] if (affective_type == 'val') else label_table['arousalClass'])))
def __parse_label_file(self, label_file, affective_type):
    label_table = pd.read_table(label_file)
    self.label_dict = dict(zip(label_table['name'], (label_table['valenceClass'] if (affective_type == 'val') else label_table['arousalClass'])))