code: def test_custom_segmentation(combined_all_model_fixture):
      text = "Induction of cytokine expression in leukocytes by binding of thrombin-stimulated platelets. BACKGROUND: Activated platelets tether and activate myeloid leukocytes."
      doc = combined_all_model_fixture(text)
      sents = list(doc.sents)
      assert len(sents) == 2
      expected_tokens = [
          "Induction",
          "of",
          "cytokine",
          "expression",
          "in",
          "leukocytes",
          "by",
          "binding",
          "of",
          "thrombin-stimulated",
          "platelets",
          ".",
          "BACKGROUND",
          ":",
          "Activated",
          "platelets",
          "tether",
          "and",
          "activate",
          "myeloid",
          "leukocytes",
          ".",
      ]
      actual_tokens = [t.text for t in doc]
      assert expected_tokens == actual_tokens
      assert doc.has_annotation("DEP")
      assert doc[0].dep_ == "ROOT"
      assert doc[0].tag_ == "NN"
  
file_path: scispacy/tests/custom_tests/test_all_model.py
imports: import os
  import sys
  import spacy
  from spacy.vocab import Vocab
  import shutil
  import pytest
label_desc: Use image node_id 1 for calling a global function with example usage: test_custom_segmentation(combined_all_model_fixture) without return types