code: def get_gold_clusters(gold_clusters):
      gold_clusters = [
          tuple(tuple(m) for m in gc) for gc in gold_clusters
      ]
      mention_to_gold = {}
      for gold_cluster in gold_clusters:
          for mention in gold_cluster:
              mention_to_gold[mention] = gold_cluster
      return gold_clusters, mention_to_gold
  
imports: from __future__ import division
  from __future__ import absolute_import
  from collections import Counter
  from sklearn.utils.linear_assignment_ import linear_assignment
  import numpy
  import torch
  from allennlp.training.metrics.metric import Metric
label_desc: Use image node_id 5 for calling the ConllCorefScores obj's underlying member method code with example usage: obj.get_gold_clusters(gold_clusters) and returns: gold_clusters,  mention_to_gold