code: def make_examples(nlp, data=TRAIN_DATA):
      train_examples = []
      for t in data:
          eg = Example.from_dict(nlp.make_doc(t[0]), t[1])
          train_examples.append(eg)
      return train_examples
  
imports: import numpy
  import pytest
  from numpy.testing import assert_almost_equal, assert_array_equal
  from thinc.api import NumpyOps, Ragged, get_current_ops
  from spacy import util
  from spacy.lang.en import English
  from spacy.language import Language
  from spacy.tokens import SpanGroup
  from spacy.tokens._dict_proxies import SpanGroups
  from spacy.training import Example
  from spacy.util import fix_random_seed, make_tempdir, registry
label_desc: Use image node_id 1 for calling a global function with example usage: make_examples(nlp, data) and returns: train_examples