code: def test_en_parser_noun_chunks_dative(en_vocab):
      words = ["She", "gave", "Bob", "a", "raise", "."]
      heads = [1, 1, 1, 4, 1, 1]
      pos = ["PRON", "VERB", "PROPN", "DET", "NOUN", "PUNCT"]
      deps = ["nsubj", "ROOT", "dative", "det", "dobj", "punct"]
      doc = Doc(en_vocab, words=words, pos=pos, deps=deps, heads=heads)
      chunks = list(doc.noun_chunks)
      assert len(chunks) == 3
      assert chunks[0].text_with_ws == "She "
      assert chunks[1].text_with_ws == "Bob "
      assert chunks[2].text_with_ws == "a raise "
  
imports: from spacy.tokens import Doc
label_desc: Use image node_id 5 for calling a global function with example usage: test_en_parser_noun_chunks_dative(en_vocab) without return types