code: def setUp(self):
      super().setUp()
      package_root = Path(PACKAGE_ROOT_DIR)
      self.config_file = package_root.joinpath(
          "../egs/mock_text_seq_label_data/seq-label/v1/config/seq-label-mock.yml"
      )
      self.config = utils.load_config(self.config_file)
  
      self.vocab_text = ["<unk>\t1", "</s>\t2", "O\t3"]
      self.vocab_label = [
          "B\t0",
          "B-PER\t1",
          "I-PER\t2",
          "B-LOC\t3",
          "I-LOC\t4",
          "B-ORG5\t5",
          "I-ORG\t6",
          "B-MISC\t7",
          "I-MISC\t8",
      ]
      self.vocab_text_filepath = tempfile.mktemp(
          suffix="text_vocab.txt"
      )
      self.vocab_label_filepath = tempfile.mktemp(
          suffix="label_vocab.txt"
      )
      with open(
          self.vocab_text_filepath, mode="w", encoding="utf-8"
      ) as fobj:
          for token in self.vocab_text:
              fobj.write(token)
              fobj.write("\n")
      with open(
          self.vocab_label_filepath, mode="w", encoding="utf-8"
      ) as fobj:
          for token in self.vocab_label:
              fobj.write(token)
              fobj.write("\n")
  
imports: import os
  from pathlib import Path
  import delta.compat
  from absl import logging
  import tempfile
  import numpy
  from delta import PACKAGE_ROOT_DIR
  from delta import utils
  from delta.data.preprocess.text_ops import clean_english_str_tf
  from delta.data.preprocess.text_ops import char_cut_tf
  from delta.data.preprocess.text_ops import tokenize_label
  from delta.data.preprocess.text_ops import tokenize_sentence
  from delta.data.preprocess.text_ops import process_one_label_dataset
  from delta.data.preprocess.text_ops import process_multi_label_dataset
label_desc: Use image node_id 1 for calling the TextOpsTest obj's underlying member method code with example usage: obj.setUp() without return types