diff --git a/src/python/utils_annot.py b/src/python/utils_annot.py index e41d934ac7914234ab6fae1f425123999971c413..e20067fc7a293351df902c2a3a985653f59f4786 100644 --- a/src/python/utils_annot.py +++ b/src/python/utils_annot.py @@ -326,7 +326,10 @@ def label_speechstart(XML_new, ind_p, ind_t, text, ind_tl_colon, df_names, list_ XML_new[ind_p][ind_t][1].text = startspeech + ' ' + XML_new[ind_p][ind_t][1].text else: XML_new[ind_p][ind_t].append(copy.deepcopy(XML_new[ind_p][ind_t][0])) +<<<<<<< HEAD XML_new[ind_p][ind_t][1].attrib.pop('speaker') +======= +>>>>>>> 728750b3e7774681555df147ec0f1e4212b9b76e XML_new[ind_p][ind_t][1].text = startspeech except: print('error in self.input_file when splitting speaker')