code: def get_data_sklearn_format(train_file_list, module):
      
      data = list(readTrainingData(train_file_list, module.GROUP_LABEL))
      random.shuffle(data)
  
      x, y = [], []
      for raw_string, components in data:
          tokens, labels = zip(*components)
          x.append(raw_string)
          y.append(labels)
      return x, y
docs: Parses the specified data files and returns it in sklearn format.
      :param path:
      :return: tuple of:
                  1) list of training sequences, each of which is a string
                  2) list of gold standard labels, each of which is a tuple
                  of strings, one for each token in the corresponding training
                  sequence