class_docstr: WSCSample Class
class_docstr_tok: ["WSCSample","Class"]
docstr: Insert items of multi given scopes before indices of
  field value at the same time.
  :param str field: field name
  :param list indices: list of int/list/slice, modified scopes
  :param list items: inserted items
  :return: modified Sample
docstr_tok: ["Insert","items","of","multi","given","scopes","before","indices","of","field","value","at","the","same","time",".",":","param","str","field",":","field","name",":","param","list","indices",":","list","of","int\/list\/slice",",","modified","scopes",":","param","list","items",":","inserted","items",":","return",":","modified","Sample"]
code: def insert_field_before_indices(self, field, indices, items):
      r"""
      Insert items of multi given scopes before indices of
      field value at the same time.
      :param str field: field name
      :param list indices: list of int/list/slice, modified scopes
      :param list items: inserted items
      :return: modified Sample
      """
      target = deepcopy(self.target)
  
      for i, index in enumerate(indices):
          if isinstance(items[i], list):
              offset = len(items[i])
          else:
              items[i] = items[i].split(" ")
              offset = len(items[i])
  
          for word_idx in ["noun1_idx", "noun2_idx", "pron_idx"]:
              if index <= target[word_idx]:
                  target[word_idx] += offset
  
      sample = super(WSCSample, self).insert_field_before_indices(
          field, indices, items
      )
      sample.target = target
      for key in target.keys():
          setattr(sample, key, target[key])
      return sample
  
imports: from copy import deepcopy
  import nltk
  import string
  from .sample import Sample
  from ..field import TextField
  from ....common.utils.error import FlintError
  from ....common.utils.list_op import normalize_scope
label_desc: Use image node_id 10 for calling the WSCSample obj's underlying member method code with example usage: obj.insert_field_before_indices(field, indices, items) and returns: sample