class_docstr: Task class for text sequence to sequence.
class_docstr_tok: ["Task","class","for","text","sequence","to","sequence","."]
docstr: Data pipeline function for core text process.
docstr_tok: ["Data","pipeline","function","for","core","text","process","."]
code: def text_pipeline_func(self, batch, seq_len, vocab_path):
      """
      Data pipeline function for core text process.
      """
      vocab_path = os.path.abspath(vocab_path)
      token_ids = tokenize_sentence(batch, seq_len, vocab_path)
      return token_ids
  
imports: import collections
  import os
  import delta.compat
  from absl import logging
  from delta import utils
  from delta.data.preprocess.text_ops import tokenize_sentence
  from delta.data.preprocess.utils import load_vocab_dict
  from delta.data.task.base_text_task import TextTask
  from delta.data.preprocess.text_ops import load_textline_dataset
  from delta.data.utils.common_utils import get_file_len
  from delta.layers.utils import compute_sen_lens
  from delta.utils.register import registers
label_desc: Use image node_id 3 for calling the TextS2STask obj's underlying member method code with example usage: obj.text_pipeline_func(batch, seq_len, vocab_path) and returns: token_ids