class_docstr: Base task for NLP.
class_docstr_tok: ["Base","task","for","NLP","."]
docstr: Do all steps for pre-processing,
  including putting data to the pre-process pipeline,
  preparing the vocabulary file and preparing the embedding file.
docstr_tok: ["Do","all","steps","for","pre-processing",",","including","putting","data","to","the","pre-process","pipeline",",","preparing","the","vocabulary","file","and","preparing","the","embedding","file","."]
code: def prepare(self):
      """
      Do all steps for pre-processing,
      including putting data to the pre-process pipeline,
      preparing the vocabulary file and preparing the embedding file.
      """
      self.set_preparer()
      if not self.use_preparer:
          logging.info("This task do not has a Preparer.")
          return
      if self.preparer.skip_prepare():
          logging.info("Skip the Preparing process.")
          return
  
      self.preparer.do_prepare(self.pre_process_pipeline)
      self.preparer.done_prepare()
  
file_path: delta/delta/data/task/base_text_task.py
imports: import os
  from absl import logging
  from delta.data.task.base_task import Task
  from delta import utils
  from delta.utils.register import registers
  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_sentence
  from delta.data.preprocess.text_ops import chinese_word_cut_tf
label_desc: Use image node_id 8 for calling the TextTask obj's underlying member method code with example usage: obj.prepare() without return types