code: def lemmatization(doc):
      pred_whole = set()
      output = {"lemma_": []}
      for token in doc:
          output["lemma_"].append(token.lemma_)
          pred_whole.add((token.lemma_))
      return pred_whole, output
  
file_path: mindsdb/mindsdb/integrations/handlers/spacy_handler/spacy_handler.py
imports: import spacy
  import pandas
  from mindsdb.integrations.libs.base import BaseMLEngine
  from typing import Optional
label_desc: Use image node_id 2 for calling a global function with example usage: lemmatization(doc) and returns: pred_whole,  output