class_docstr: MRC Sample class to hold the mrc data info and provide atomic operations.
docstr: Set the answers with TASK_MASK
docstr_tok: ["Set","the","answers","with","TASK_MASK"]
code: def set_answers_mask(self):
      r"""
      Set the answers with TASK_MASK
  
      """
      for answer in self.answers:
          y1, y2 = answer["start"], answer["end"]
          if y2 > len(self.get_words("context")) - 1 or y1 < 0:
              raise ValueError
          for i in range(y1, y2 + 1):
              self.context.set_mask(i, 1)
  
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 8 for calling the MRCCnSample obj's underlying member method code with example usage: obj.set_answers_mask() without return types