code: def test_subword_group_naive(self):
      data_in = [
          "however",
          ",",
          "according",
          "to",
          "the",
          "logs",
          ",",
          "she",
          "is",
          "hard",
          "-",
          "working",
          ".",
      ]  # noqa: E501
      true_out = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]
      out = subword_map_by_joiner(data_in, marker=SubwordMarker.JOINER)
      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 7 for calling the TestSubwordGroup obj's underlying member method code with example usage: obj.test_subword_group_naive() without return types