code: def test_parse_sub_string(
      self, query_string: str, expected: dict[str, list[str]]
  ):
      parsed = self.generator.parse_subs_string(query_string)
      self.assertEqual(parsed, expected)
  
file_path: lit/lit_nlp/components/word_replacer_test.py
imports: from absl.testing import absltest
  from absl.testing import parameterized
  from lit_nlp.api import dataset
  from lit_nlp.api import types
  from lit_nlp.components import word_replacer
  from lit_nlp.lib import testing_utils
label_desc: Use image node_id 5 for calling the WordReplacerTest obj's underlying member method code with example usage: obj.test_parse_sub_string(query_string, expected) without return types