class_docstr: WSDSample Class
class_docstr_tok: ["WSDSample","Class"]
docstr: insert word after given index in sentence
  
  :param string field: field to be operated on
  :param int ins_index: indicate which index to insert items
  :param str/list new_item: items to insert
  :param list pos_list: default none, list of given pos for items
  :param list lemma_list: default none, list of given lemma for items
  :return: WSDSample: a modified sample
docstr_tok: ["insert","word","after","given","index","in","sentence",":","param","string","field",":","field","to","be","operated","on",":","param","int","ins_index",":","indicate","which","index","to","insert","items",":","param","str\/list","new_item",":","items","to","insert",":","param","list","pos_list",":","default","none",",","list","of","given","pos","for","items",":","param","list","lemma_list",":","default","none",",","list","of","given","lemma","for","items",":","return",":","WSDSample",":","a","modified","sample"]
code: def insert_field_after_index(
      self, field, ins_index, new_item, pos_list=None, lemma_list=None
  ):
      r"""
      insert word after given index in sentence
  
      :param string field: field to be operated on
      :param int ins_index: indicate which index to insert items
      :param str/list new_item: items to insert
      :param list pos_list: default none, list of given pos for items
      :param list lemma_list: default none, list of given lemma for items
      :return: WSDSample: a modified sample
      """
      if pos_list is None and lemma_list is None:
          return self.insert_field_after_indices(
              field, [ins_index], [new_item]
          )
      elif pos_list is None:
          return self.insert_field_after_indices(
              field, [ins_index], [new_item], lemma_list=[lemma_list]
          )
      elif lemma_list is None:
          return self.insert_field_after_indices(
              field, [ins_index], [new_item], pos_list=[pos_list]
          )
      else:
          return self.insert_field_after_indices(
              field,
              [ins_index],
              [new_item],
              pos_list=[pos_list],
              lemma_list=[lemma_list],
          )
  
imports: from .sample import Sample
  from ..field import TextField, ListField
  import json
  from ....common.settings import TASK_MASK, PUNC
  import nltk
label_desc: Use image node_id 14 for calling the WSDSample obj's underlying member method code with example usage: obj.insert_field_after_index(field, ins_index, new_item, pos_list, lemma_list) and returns: self, self, self, self