I am trying to define a function that iterates through three kind of list of lists, each list has the following structure:
sentiment_labels = [[\'B_S\', \'O\