code: def test_doc_retokenize_split_dependencies(en_vocab):
      doc = Doc(en_vocab, words=["LosAngeles", "start", "."])
      dep1 = doc.vocab.strings.add("amod")
      dep2 = doc.vocab.strings.add("subject")
      with doc.retokenize() as retokenizer:
          retokenizer.split(
              doc[0],
              ["Los", "Angeles"],
              [(doc[0], 1), doc[1]],
              attrs={"dep": [dep1, dep2]},
          )
      assert doc[0].dep == dep1
      assert doc[1].dep == dep2
  
file_path: spacy/spacy/tests/doc/test_retokenize_split.py
imports: import numpy
  import pytest
  from spacy.tokens import Doc, Token
  from spacy.vocab import Vocab
label_desc: Use image node_id 4 for calling a global function with example usage: test_doc_retokenize_split_dependencies(en_vocab) without return types