class_docstr: Base class for Preparer
class_docstr_tok: ["Base","class","for","Preparer"]
docstr: Touch a sign file after the prepare process is done.
docstr_tok: ["Touch","a","sign","file","after","the","prepare","process","is","done","."]
code: def done_prepare(self):
      """Touch a sign file after the prepare process is done."""
      if self.done_sign != "" and not os.path.exists(self.done_sign):
          if not os.path.exists(os.path.dirname(self.done_sign)):
              os.makedirs(os.path.dirname(self.done_sign))
          Path(self.done_sign).touch()
  
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 3 for calling the Preparer obj's underlying member method code with example usage: obj.done_prepare() without return types