code: def test_load_ud_english_data(tasks_base_path):
      # get training, test and dev data
      corpus = flair.datasets.UD_ENGLISH(tasks_base_path)
  
      assert len(corpus.train) == 6
      assert len(corpus.test) == 4
      assert len(corpus.dev) == 2
  
      # check if Token labels are correct
      sentence = corpus.train[0]
      assert sentence[0].text == "From"
      assert sentence[0].get_label("upos").value == "ADP"
      assert sentence[1].text == "the"
      assert sentence[1].get_label("upos").value == "DET"
  
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 11 for calling a global function with example usage: test_load_ud_english_data(tasks_base_path) without return types