class_docstr: DP Sample class to hold the data info and provide atomic operations.
docstr: Insert items of multi given scopes before indices of field value
  at the same time.
  
  :param str field: Only value 'x' supported.
  :param list indices: shape：indices_num
  :param list items: shape: indices_num, correspond to indices
  :return ~DPSample: The sentence with words added.
docstr_tok: ["Insert","items","of","multi","given","scopes","before","indices","of","field","value","at","the","same","time",".",":","param","str","field",":","Only","value","'","x","'","supported",".",":","param","list","indices",":","shape\uff1aindices_num",":","param","list","items",":","shape",":","indices_num",",","correspond","to","indices",":","return","~DPSample",":","The","sentence","with","words","added","."]
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: Only value 'x' supported.
      :param list indices: shape：indices_num
      :param list items: shape: indices_num, correspond to indices
      :return ~DPSample: The sentence with words added.
  
      """
      assert isinstance(indices, list)
      assert isinstance(items, list)
      assert len(indices) == len(items)
      sample = self.clone(self)
  
      for index, new_item in enumerate(items):
          sample = sample.insert_field_before_index(
              field, indices[index], new_item
          )
  
      return sample
  
file_path: textflint/textflint/input/component/sample/dp_sample.py
imports: from .sample import Sample
  from ..field import ListField, TextField
  from ....common.utils.list_op import get_align_seq, normalize_scope
label_desc: Use image node_id 8 for calling the DPSample obj's underlying member method code with example usage: obj.insert_field_before_indices(field, indices, items) and returns: sample