code: def test_word_start_spacer(self):
      word_start_finder_fn = word_start_finder()
      data_in = [
          "▁however",
          ",",
          "▁according",
          "▁to",
          "▁the",
          "▁logs",
          ",",
          "▁she",
          "▁is",
          "▁hard",
          "-",
          "working",
          ".",
      ]  # noqa: E501
      true_out = [
          True,
          False,
          True,
          True,
          True,
          True,
          False,
          True,
          True,
          True,
          False,
          False,
          False,
      ]  # noqa: E501
      out = word_start_finder_fn(data_in)
      self.assertEqual(out, true_out)
      # no dummy prefix
      no_dummy = [
          "however",
          ",",
          "▁according",
          "▁to",
          "▁the",
          "▁logs",
          ",",
          "▁she",
          "▁is",
          "▁hard",
          "-",
          "working",
          ".",
      ]  # noqa: E501
      no_dummy_out = word_start_finder_fn(no_dummy)
      self.assertEqual(no_dummy_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 3 for calling the TestWordStartFinder obj's underlying member method code with example usage: obj.test_word_start_spacer() without return types