code: def golds_to_gold_tuples(docs, golds):
      
      tuples = []
      for doc, gold in zip(docs, golds):
          text = doc.text
          ids, words, tags, heads, labels, iob = zip(*gold.orig_annot)
          sents = [((ids, words, tags, heads, labels, iob), [])]
          tuples.append((text, sents))
      return tuples
docs: Get out the annoying 'tuples' format used by begin_training, given the
      GoldParse objects.