code: def random_text_data(num_samples=100):
      x = [
          " ".join(
              [
                  "".join(
                      np.random.choice(
                          list(string.ascii_lowercase),
                          np.random.randint(3, 9),
                      ).tolist()
                  )
                  for _ in range(np.random.randint(5, 12))
              ]
          )
          for _ in range(num_samples)
      ]
      return x
  
imports: import string
  import numpy
  from collections import Counter
  from scipy import sparse
  from sklearn.datasets import fetch_20newsgroups
  from small_text.data.datasets import SklearnDataset, TextDataset
  from small_text.data.sampling import _get_class_histogram
  from small_text.utils.labels import csr_to_list, list_to_csr
label_desc: Use image node_id 2 for calling a global function with example usage: random_text_data(num_samples) and returns: x