code: def test_subword_group_spacer_with_spacer_new(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,
          0,
          1,
          1,
          2,
          2,
          3,
          3,
          4,
          4,
          4,
          5,
          5,
          5,
          5,
          6,
          6,
          7,
          7,
          7,
          7,
          7,
          7,
          7,
      ]  # noqa: E501
      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 10 for calling the TestSubwordGroup obj's underlying member method code with example usage: obj.test_subword_group_spacer_with_spacer_new() without return types