code: def corpus(dataset):
      corpus = textacy.Corpus(
          "en_core_web_sm", data=dataset.records(limit=10)
      )
      return corpus
  
imports: import collections
  import itertools
  import re
  import pytest
  from spacy.tokens import Span
  import textacy
  import textacy.datasets
  import textacy.extract
  import textacy.preprocessing
label_desc: Use image node_id 4 for calling a global function with example usage: corpus(dataset) and returns: corpus