docstr: Make a sample (in the form of conll-style dict) with `sentences` and 
      `clusters` given. This method is useful for making debugging samples.
  
  :param list sens: sentences. word list list
  :param str sign: str, will be added to label
  :param str identifier: str, optional
          make `speakers` and `doc_key` different among different docs, 
          to identify different samples.
  :param bool conllstyle: 
          if True, returns a conll-style dict
          if False, returns a CorefSample
  :return dict: A conll-style dict
docstr_tok: ["Make","a","sample","(","in","the","form","of","conll-style","dict",")","with","`","sentences","`","and","`","clusters","`","given",".","This","method","is","useful","for","making","debugging","samples",".",":","param","list","sens",":","sentences",".","word","list","list",":","param","str","sign",":","str",",","will","be","added","to","label",":","param","str","identifier",":","str",",","optional","make","`","speakers","`","and","`","doc_key","`","different","among","different","docs",",","to","identify","different","samples",".",":","param","bool","conllstyle",":","if","True",",","returns","a","conll-style","dict","if","False",",","returns","a","CorefSample",":","return","dict",":","A","conll-style","dict"]
code: def make_sample_from_sentences_and_clusters(
      sens, clusters, identifier="", conllstyle=False
  ):
      r"""Make a sample (in the form of conll-style dict) with `sentences` and
          `clusters` given. This method is useful for making debugging samples.
  
      :param list sens: sentences. word list list
      :param str sign: str, will be added to label
      :param str identifier: str, optional
              make `speakers` and `doc_key` different among different docs,
              to identify different samples.
      :param bool conllstyle:
              if True, returns a conll-style dict
              if False, returns a CorefSample
      :return dict: A conll-style dict
      """
  
      def make_cons(sens, sign):
          r"""By given sentences, make sound `constituents` and `ner`
              corresponding to the given sentence.
              This method is used in `make_sample_from_sentences_and_clusters`
              for making a conll-style dict from sentences.
          :param list sens: sentences. word list list
          :param str sign: str, will be added to label
          :return list: sound constituents/ner with the same form as conll["ner"]
          """
          x = concat(sens)
          return [
              [i, i, str(i) + "-" + x[i] + "-" + sign]
              for i in range(len(x))
          ]
  
      ret_conll = {
          "speakers": [
              ["sp" + identifier for w in sen] for sen in sens
          ],
          "doc_key": "doc_key" + identifier,
          "sentences": sens,
          "constituents": make_cons(sens, "C"),
          "clusters": clusters,
          "ner": make_cons(sens, "N"),
      }
  
      if conllstyle:
          return ret_conll
      else:
          return CorefSample(ret_conll)
  
file_path: textflint/test/data/coref_debug.py
imports: from textflint.common.utils.fp_utils import concat
  from textflint.input.component.sample.coref_sample import *
label_desc: Use image node_id 3 for calling the CorefDebug obj's underlying member method code with example usage: obj.make_sample_from_sentences_and_clusters(sens, clusters, identifier, conllstyle) and returns: unknown, ret_conll, CorefSample