class_docstr: WSCSample Class
class_docstr_tok: ["WSCSample","Class"]
docstr: Delete items of given scopes of field value.
  
  :param str field: field name
  :param list indices: list of int/list/slice, modified scopes
  :return: modified Sample
docstr_tok: ["Delete","items","of","given","scopes","of","field","value",".",":","param","str","field",":","field","name",":","param","list","indices",":","list","of","int\/list\/slice",",","modified","scopes",":","return",":","modified","Sample"]
code: def delete_field_at_indices(self, field, indices):
      r"""
      Delete items of given scopes of field value.
  
      :param str field: field name
      :param list indices: list of int/list/slice, modified scopes
      :return: modified Sample
  
      """
      assert len(indices) > 0
      # sample = self.clone(self)
      target = deepcopy(self.target)
      for index in indices:
          scope = normalize_scope(index)
          offset = scope[1] - scope[0]
          for word_idx in ["noun1_idx", "noun2_idx", "pron_idx"]:
              if scope[1] < target[word_idx]:
                  target[word_idx] -= offset
      sample = super(WSCSample, self).delete_field_at_indices(
          field, indices
      )
      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 8 for calling the WSCSample obj's underlying member method code with example usage: obj.delete_field_at_indices(field, indices) and returns: sample