code: def test_unequal_replace_field_at_indices(self):
      wsd_sample = WSDSample(data)
      # test unequal replace before index and mask
      rep_sample = wsd_sample.unequal_replace_field_at_indices(
          "sentence",
          [[9, 11], [16, 17]],
          [["refer%2:32:04::"], ["bring_up%2:32:04::"]],
      )
      # check sentence
      new_sent = [
          "Your",
          "Oct.",
          "6",
          "editorial",
          "``",
          "The",
          "Ill",
          "Homeless",
          "``",
          "refer",
          "research",
          "by",
          "us",
          "and",
          "six",
          "bring",
          "up",
          "our",
          "colleagues",
          "that",
          "was",
          "reported",
          "in",
          "the",
          "Sept.",
          "8",
          "issue",
          "of",
          "the",
          "Journal",
          "of",
          "the",
          "American",
          "Medical",
          "Association",
          ".",
      ]
      self.assertEqual(
          EnProcessor.inverse_tokenize(new_sent),
          rep_sample.get_text("sentence"),
      )
      # check pos
      gold_list = [
          "PRON",
          "NOUN",
          "NUM",
          "NOUN",
          ".",
          "DET",
          "NOUN",
          "NOUN",
          ".",
          "VERB",
          "NOUN",
          "ADP",
          "PRON",
          "CONJ",
          "NUM",
          "ADP",
          "ADP",
          "PRON",
          "NOUN",
          "ADP",
          "VERB",
          "VERB",
          "ADP",
          "DET",
          "NOUN",
          "NUM",
          "NOUN",
          "ADP",
          "DET",
          "NOUN",
          "ADP",
          "DET",
          "ADJ",
          "ADJ",
          "NOUN",
          ".",
      ]
      self.assertEqual(rep_sample.get_value("pos"), gold_list)
      # check lemma
      gold_list = [
          "Your",
          "Oct.",
          "6",
          "editorial",
          "``",
          "The",
          "Ill",
          "Homeless",
          "``",
          "refer",
          "research",
          "by",
          "us",
          "and",
          "six",
          "bring_up",
          "bring_up",
          "our",
          "colleague",
          "that",
          "be",
          "report",
          "in",
          "the",
          "Sept.",
          "8",
          "issue",
          "of",
          "the",
          "Journal",
          "of",
          "the",
          "American",
          "Medical",
          "Association",
          ".",
      ]
      self.assertEqual(gold_list, rep_sample.get_value("lemma"))
  
file_path: textflint/test/input/component/sample/test_wsd_sample.py
imports: import unittest
  from textflint.input.component.sample.wsd_sample import *
  from textflint.common.preprocess.en_processor import EnProcessor
label_desc: Use image node_id 8 for calling the TestWSDSample obj's underlying member method code with example usage: obj.test_unequal_replace_field_at_indices() without return types