code: def test_split_text_segtok():
      segtok_splitter = SegtokSentenceSplitter()
      sentences = segtok_splitter.split(
          "I love Berlin. Berlin is a great city."
      )
      assert len(sentences) == 2
      assert sentences[0].start_position == 0
      assert len(sentences[0].tokens) == 4
      assert sentences[1].start_position == 15
      assert len(sentences[1].tokens) == 6
  
      segtok_splitter = SegtokSentenceSplitter(
          tokenizer=TokenizerWrapper(no_op_tokenizer)
      )
      sentences = segtok_splitter.split(
          "I love Berlin. Berlin is a great city."
      )
      assert len(sentences) == 2
      assert sentences[0].start_position == 0
      assert len(sentences[0].tokens) == 1
      assert sentences[1].start_position == 15
      assert len(sentences[1].tokens) == 1
  
imports: from typing import List
  import pytest
  import flair
  from flair.data import Sentence, Token
  from flair.splitter import NewlineSentenceSplitter, NoSentenceSplitter, SciSpacySentenceSplitter, SegtokSentenceSplitter, SpacySentenceSplitter, TagSentenceSplitter
  from flair.tokenization import JapaneseTokenizer, SciSpacyTokenizer, SegtokTokenizer, SpaceTokenizer, SpacyTokenizer, TokenizerWrapper
label_desc: Use image node_id 14 for calling a global function with example usage: test_split_text_segtok() without return types