class_docstr: MRC Sample class to hold the mrc data info and provide atomic operations.
docstr: Replace scope items of field value with rep_items
  which may not equal with scope.
  
  :param str field: field name
  :param list indices: list of int/list/slice, modified scopes
  :param list rep_items: replace items
  :return: modified sample
docstr_tok: ["Replace","scope","items","of","field","value","with","rep_items","which","may","not","equal","with","scope",".",":","param","str","field",":","field","name",":","param","list","indices",":","list","of","int\/list\/slice",",","modified","scopes",":","param","list","rep_items",":","replace","items",":","return",":","modified","sample"]
code: def unequal_replace_field_at_indices(self, field, indices, rep_items):
      r"""
      Replace scope items of field value with rep_items
      which may not equal with scope.
  
      :param str field: field name
      :param list indices: list of int/list/slice, modified scopes
      :param list rep_items: replace items
      :return: modified sample
  
      """
      assert len(indices) == len(rep_items) > 0
      sample = self.clone(self)
      sorted_items, sorted_indices = zip(
          *sorted(
              zip(rep_items, indices), key=lambda x: x[1], reverse=True
          )
      )
  
      for idx, sorted_token in enumerate(sorted_items):
          sample = sample.delete_field_at_index(
              field, sorted_indices[idx]
          )
          insert_index = (
              sorted_indices[idx]
              if isinstance(sorted_indices[idx], int)
              else sorted_indices[idx][0]
          )
          field_obj = getattr(sample, field)
          if insert_index > len(field_obj):
              raise ValueError(
                  "Cant replace items at range {0}".format(
                      sorted_indices[idx]
                  )
              )
          elif insert_index == len(field_obj):
              sample = sample.insert_field_after_index(
                  field, insert_index - 1, sorted_token
              )
          else:
              sample = sample.insert_field_before_index(
                  field, insert_index, sorted_token
              )
  
      return sample
  
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 18 for calling the MRCCnSample obj's underlying member method code with example usage: obj.unequal_replace_field_at_indices(field, indices, rep_items) and returns: sample