class_docstr: Base class of Transformers that transform TextFeature.
docstr: Transform a TextFeature.
docstr_tok: ["Transform","a","TextFeature","."]
code: def transform(self, text_feature):
      """
      Transform a TextFeature.
      """
      res = callZooFunc(
          self.bigdl_type,
          "transformTextFeature",
          self.value,
          text_feature.value,
      )
      return TextFeature(jvalue=res)
  
imports: import sys
  import six
  from bigdl.dllib.feature.common import Preprocessing
  from bigdl.dllib.feature.text import TextFeature
  from bigdl.dllib.utils.file_utils import callZooFunc
  from bigdl.dllib.utils.log4Error import *
label_desc: Use image node_id 2 for calling the TextTransformer obj's underlying member method code with example usage: obj.transform(text_feature) and returns: TextFeature