class_docstr: Coref Sample
class_docstr_tok: ["Coref","Sample"]
docstr: A pretty-printer for CorefSample. Print useful sample information
  by calling this function.
  
  :param str show: optional, the welcome information of
      printing this sample
docstr_tok: ["A","pretty-printer","for","CorefSample",".","Print","useful","sample","information","by","calling","this","function",".",":","param","str","show",":","optional",",","the","welcome","information","of","printing","this","sample"]
code: def pretty_print(self, show="Sample:"):
      r"""
      A pretty-printer for CorefSample. Print useful sample information
      by calling this function.
  
      :param str show: optional, the welcome information of
          printing this sample
  
      """
      print(show)
      doc = [
          word if mask == 0 else word + "_" + str(mask)
          for word, mask in zip(self.x.words, self.x.mask)
      ]
      print("Sentences:")
      for s in self.doc2sens(doc, self.sen_map):
          print(s)
      clusters = self.clusters.field_value
      clusters = [
          [((b, doc[b]), (e, doc[e])) for [b, e] in cluster]
          for cluster in clusters
      ]
      print("Clusters:")
      print(clusters)
  
imports: from ....common.settings import ORIGIN, TASK_MASK
  from ....common.utils.fp_utils import *
  from ....common.utils.shift_utils import *
  from .sample import Sample
  from ..field import ListField, TextField
label_desc: Use image node_id 7 for calling the CorefSample obj's underlying member method code with example usage: obj.pretty_print(show) without return types