code: def english_model():
      models_path = os.path.join(TEST_MODELS_DIR, "en", "lemma", "*")
      models = glob.glob(models_path)
      # we expect at least one English model downloaded for the tests
      assert len(models) >= 1
      model_file = models[0]
      return trainer.Trainer(model_file=model_file)
  
file_path: stanza/stanza/tests/lemma/test_lemma_trainer.py
imports: import pytest
  import glob
  import os
  import tempfile
  import torch
  from stanza.models import lemmatizer
  from stanza.models.lemma import trainer
  from stanza.tests import *
  from stanza.utils.training.common import choose_lemma_charlm, build_charlm_args
label_desc: Use image node_id 1 for calling a global function with example usage: english_model() and returns: trainer