class_docstr: mock data class for cls task.
class_docstr_tok: ["mock","data","class","for","cls","task","."]
code: def __init__(self, project_dir):
      super().__init__(project_dir)
  
      samples_english = ["1\tAll is well", "0\tI am very angry"]
      samples_split_line_mark = ["1\t都挺好。|都是的呀", "0\t我很愤怒|超级生气！"]
      samples_split_by_space = ["1\t都 挺好", "0\t我 很 愤怒"]
      samples_split_by_char = ["1\t都挺好", "0\t我很愤怒"]
      samples_chinese_word = ["1\t都挺好", "0\t我很愤怒"]
      self.samples_dict = {
          "english": samples_english,
          "split_by_line_mark": samples_split_line_mark,
          "split_by_space": samples_split_by_space,
          "split_by_char": samples_split_by_char,
          "chinese_word": samples_chinese_word,
      }
  
      self.train_file = "train.txt"
      self.dev_file = "dev.txt"
      self.test_file = "test.txt"
      self.text_vocab = "text_vocab.txt"
      files = [self.train_file, self.dev_file, self.test_file]
      self.data_files = [
          x.replace("txt", "") + data_type + ".txt"
          for x in files
          for data_type in self.samples_dict
      ]
      self.config_files = ["cnn_cls_mock.yml"]
      self.download_files = []
  
      text_vocab_english = [
          "<unk>\t0",
          "</s>\t1",
          "all\t3",
          "is\t4",
          "well\t5",
          "i\t6",
          "am\t7",
          "very\t8",
      ]
      text_vocab_split_line_mark = [
          "<unk>\t0",
          "</s>\t1",
          "都\t2",
          "挺好\t3",
          "我\t4",
          "很\t5",
          "|\t6",
          "是的\t7",
          "呀\t8",
          "超级\t9",
          "生气\t10",
      ]
      text_vocab_split_by_space = [
          "<unk>\t0",
          "</s>\t1",
          "都\t2",
          "挺好\t3",
          "我\t4",
          "很\t5",
      ]
      text_vocab_split_by_char = [
          "<unk>\t0",
          "</s>\t1",
          "都\t2",
          "挺\t3",
          "好\t4",
          "我\t5",
          "很\t6",
          "愤\t7",
          "怒\t8",
      ]
      text_vocab_chinese_word = [
          "<unk>\t0",
          "</s>\t1",
          "都\t2",
          "挺好\t3",
          "我\t4",
          "很\t5",
      ]
      self.text_vocab_dict = {
          "english": text_vocab_english,
          "split_by_line_mark": text_vocab_split_line_mark,
          "split_by_space": text_vocab_split_by_space,
          "split_by_char": text_vocab_split_by_char,
          "chinese_word": text_vocab_chinese_word,
      }
  
file_path: delta/delta/data/datasets/mock_text_cls_data.py
imports: import os
  import traceback
  from absl import logging
  from delta.data.datasets.base_dataset import BaseDataSet
  from delta.data.datasets.utils import mock_data
  from delta.utils.register import registers
label_desc: Use image node_id 1 to create a new MockTextCLSData object from inherited base classes: BaseDataSet with example: obj = MockTextCLSData(project_dir)