code: def test_start_end_position_pretokenized() -> None:
      # Initializing a Sentence this way assumes that there is a space after each token
      sentence: Sentence = Sentence(
          ["This", "is", "a", "sentence", "."], start_position=10
      )
      assert sentence.start_position == 10
      assert sentence.end_position == 30
      assert [
          (token.start_position, token.end_position)
          for token in sentence
      ] == [
          (0, 4),
          (5, 7),
          (8, 9),
          (10, 18),
          (19, 20),
      ]
  
imports: from flair.data import Sentence
label_desc: Use image node_id 5 for calling a global function with example usage: test_start_end_position_pretokenized() without return types