code: def __init__(
      self, corpus, lower, mode, tokenizer=None, remove_punc=False
  ):
      self.mode = mode
      if mode == "gen":
          self.corpus = [
              Text(text, lower, tokenizer, remove_punc)
              for text in corpus
          ]
      else:
          self.corpus = [
              [
                  Text(text, lower, tokenizer, remove_punc)
                  for text in texts
              ]
              for texts in corpus
          ]
  
file_path: TextBox/textbox/evaluator/base_evaluator.py
imports: from nltk.tokenize import word_tokenize
label_desc: Use image node_id 1 to create a new Corpus object  with example: obj = Corpus(corpus, lower, mode, tokenizer, remove_punc)