code: def read_corpus(path, clean=True, TREC=False, encoding="utf8"):
      data = []
      labels = []
      with open(path, encoding=encoding) as fin:
          for line in fin:
              label, sep, text = line.partition(" ")
              label = int(label)
              text = clean_str(text.strip()) if clean else text.strip()
              labels.append(label)
              data.append(text.split())
      return data, labels
  
imports: import gzip
  import os
  import sys
  import re
  import random
  import numpy
  import torch
label_desc: Use image node_id 2 for calling a global function with example usage: read_corpus(path, clean, TREC, encoding) and returns: data,  labels