class_docstr: Base task for NLP.
class_docstr_tok: ["Base","task","for","NLP","."]
code: def input_fn(self):
      def _input_fn():
          return self.dataset()
  
      return _input_fn
  
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 2 for calling the TextTask obj's underlying member method code with example usage: obj.input_fn() and returns: _input_fn, self