class_docstr: MRC Sample class to hold the mrc data info and provide atomic operations.
docstr: Convert data dict which contains essential information to MRCCnSample.
  
  :return: dict object
docstr_tok: ["Convert","data","dict","which","contains","essential","information","to","MRCCnSample",".",":","return",":","dict","object"]
code: def dump(self):
      r"""
      Convert data dict which contains essential information to MRCCnSample.
  
      :return: dict object
  
      """
  
      if self.is_impossible:
          answers = []
      else:
          if not self.is_legal():
              raise ValueError("Answer spans mismatch answer text.")
          spans = self.convert_idx(
              self.context.text, self.context.tokens
          )
          answers = [
              {"text": answer["text"], "answer_start": answer["start"]}
              for answer in self.answers
          ]
      return {
          "context": self.context.text,
          "question": self.question.text,
          "answers": answers,
          "title": self.title.field_value,
          "is_impossible": self.is_impossible,
          "sample_id": self.sample_id,
      }
  
imports: from .cnsample import CnSample
  from ..field import Field, CnTextField
  from ....common.utils.list_op import normalize_scope
  from ....common.preprocess.nltk_res_load import ModelManager
  from ....common.settings import *
  from nltk.stem.lancaster import LancasterStemmer
  from copy import deepcopy
label_desc: Use image node_id 10 for calling the MRCCnSample obj's underlying member method code with example usage: obj.dump() and returns: dict