class_docstr: NER Sample class to hold the necessary info and provide atomic operations.
class_docstr_tok: ["NER","Sample","class","to","hold","the","necessary","info","and","provide","atomic","operations","."]
docstr: Insert tokens and ner tags.Assuming the tag of new_item is O
  
  :param str field: field str
  :param int ins_index: indicate which index to insert items
  :param str/list new_item: items to insert
  :return: Modified NERSample
docstr_tok: ["Insert","tokens","and","ner","tags.Assuming","the","tag","of","new_item","is","O",":","param","str","field",":","field","str",":","param","int","ins_index",":","indicate","which","index","to","insert","items",":","param","str\/list","new_item",":","items","to","insert",":","return",":","Modified","NERSample"]
code: def insert_field_before_index(self, field, ins_index, new_item):
      r"""
      Insert tokens and ner tags.Assuming the tag of new_item is O
  
      :param str field: field str
      :param int ins_index: indicate which index to insert items
      :param str/list new_item: items to insert
      :return: Modified NERSample
  
      """
      return self.insert_field_before_indices(
          field, [ins_index], [new_item]
      )
  
imports: from .sample import Sample
  from ..field import ListField, TextField
  from ....common.utils.list_op import get_align_seq
label_desc: Use image node_id 10 for calling the NERSample obj's underlying member method code with example usage: obj.insert_field_before_index(field, ins_index, new_item) and returns: self