class_docstr: Base class for Preparer
class_docstr_tok: ["Base","class","for","Preparer"]
code: def __init__(self, config):
      self.config = config
      self.reuse = self.config["data"]["task"]["preparer"].get(
          "reuse", True
      )
      self.done_sign = self.config["data"]["task"]["preparer"].get(
          "done_sign", ""
      )
  
imports: import os
  import math
  from pathlib import Path
  from absl import logging
  import delta.compat
  import numpy
  from delta import utils
  from delta.data.preprocess.utils import prepare_embedding
  from delta.utils.solver.utils.solver_utils import get_session_conf
  from delta.data.preprocess.utils import prepare_vocab
  from delta.data.preprocess.utils import prepare_vocab_from_config
  from delta.data.preprocess.utils import get_pre_process_text_ds_iter
  from delta.data.utils.common_utils import get_file_len
label_desc: Use image node_id 1 to create a new Preparer object  with example: obj = Preparer(config)