class_docstr: Task class for text sequence to sequence.
class_docstr_tok: ["Task","class","for","text","sequence","to","sequence","."]
docstr: Data pipeline function for common process.
  This function is used both by online training and offline inference.
docstr_tok: ["Data","pipeline","function","for","common","process",".","This","function","is","used","both","by","online","training","and","offline","inference","."]
code: def common_process_pipeline(self, batch):
      """
      Data pipeline function for common process.
      This function is used both by online training and offline inference.
      """
      vocab_path = os.path.abspath(self.text_vocab_file_path)
      token_ids = self.text_pipeline_func(
          batch, self.max_enc_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 2 for calling the TextS2STask obj's underlying member method code with example usage: obj.common_process_pipeline(batch) and returns: token_ids