code: def test_load_up_english_data(tasks_base_path):
      # get training, test and dev data
      corpus = flair.datasets.UP_ENGLISH(tasks_base_path)
  
      assert len(corpus.train) == 4
      assert len(corpus.test) == 2
      assert len(corpus.dev) == 2
  
      # check if Token labels for frames are correct
      sentence = corpus.dev[0]
      assert sentence[2].text == "AP"
      assert (
          sentence[2]
          .get_label("frame", zero_tag_value="no_label")
          .value
          == "no_label"
      )
      assert sentence[3].text == "comes"
      assert sentence[3].get_label("frame").value == "come.03"
  
imports: import copy
  import shutil
  import pytest
  import flair
  import flair.datasets
  from flair.data import MultiCorpus, Sentence
  from flair.datasets import ColumnCorpus
  from flair.datasets.sequence_labeling import ONTONOTES, JsonlCorpus, JsonlDataset, MultiFileJsonlCorpus
label_desc: Use image node_id 12 for calling a global function with example usage: test_load_up_english_data(tasks_base_path) without return types