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