class_docstr: Base task for NLP.
class_docstr_tok: ["Base","task","for","NLP","."]
docstr: Set the preparer
docstr_tok: ["Set","the","preparer"]
code: def set_preparer(self):
      """Set the preparer"""
      if "preparer" not in self.config["data"]["task"]:
          self.use_preparer = False
      else:
          self.use_preparer = self.config["data"]["task"]["preparer"][
              "enable"
          ]
      if self.use_preparer:
          preparer_name = self.config["data"]["task"]["preparer"][
              "name"
          ]
          self.preparer = registers.preparer[preparer_name](self.config)
  
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 7 for calling the TextTask obj's underlying member method code with example usage: obj.set_preparer() without return types