code: def test_subword_group_spacer_with_case_markup(self):
      data_in = [
          "｟mrk_case_modifier_C｠",
          "▁however",
          ",",
          "▁according",
          "▁to",
          "▁the",
          "▁logs",
          ",",
          "▁｟mrk_begin_case_region_U｠",
          "▁she",
          "▁is",
          "▁hard",
          "-",
          "working",
          ".",
          "▁｟mrk_end_case_region_U｠",
      ]  # noqa: E501
      true_out = [0, 0, 0, 1, 2, 3, 4, 4, 5, 5, 6, 7, 7, 7, 7, 7]
      out = subword_map_by_spacer(data_in, marker=SubwordMarker.SPACER)
      self.assertEqual(out, true_out)
  
imports: import unittest
  from onmt.transforms.bart import word_start_finder
  from onmt.utils.alignment import subword_map_by_joiner, subword_map_by_spacer
  from onmt.constants import SubwordMarker
label_desc: Use image node_id 9 for calling the TestSubwordGroup obj's underlying member method code with example usage: obj.test_subword_group_spacer_with_case_markup() without return types