class_docstr: A generic Text processor: rename this as `withTokenizer`.
  tokenize a string of text on-the-fly.
  Warning: mostly used for end tasks.
      (on-the-fly tokenization is slow for how2.)
  TODO(huxu): move this class as a subclass.
class_docstr_tok: ["A","generic","Text","processor",":","rename","this","as","`","withTokenizer","`",".","tokenize","a","string","of","text","on-the-fly",".","Warning",":","mostly","used","for","end","tasks",".","(","on-the-fly","tokenization","is","slow","for","how2",".",")","TODO","(","huxu",")",":","move","this","class","as","a","subclass","."]
code: def __call__(self, text_id):
      caption = self.tokenizer(text_id, add_special_tokens=False)
      return caption["input_ids"]
  
imports: import numpy
  import os
  import torch
label_desc: Use image node_id 2 for calling the TextProcessor obj's underlying member method code with example usage: obj.__call__(text_id) and returns: caption