class_docstr: ABSASample Class
class_docstr_tok: ["ABSASample","Class"]
docstr: Update the sentence of ABSASample.
  
  :param str|list trans_sentence: updated sentence
docstr_tok: ["Update","the","sentence","of","ABSASample",".",":","param","str|list","trans_sentence",":","updated","sentence"]
code: def update_sentence(self, trans_sentence):
      r"""
      Update the sentence of ABSASample.
  
      :param str|list trans_sentence: updated sentence
  
      """
      if not isinstance(trans_sentence, str or list):
          raise TypeError(
              "Transformed sentence requires 'list' or 'str, "
              "but got {0}".format(trans_sentence)
          )
      if len(trans_sentence) == 0:
          raise ValueError(
              "Length of transformed sentence "
              "should be larger than 0, but got {0}".format(
                  len(trans_sentence)
              )
          )
  
      self.sentence = TextField(trans_sentence)
  
imports: from .sample import Sample
  from ..field import TextField
  from ....common.utils.error import FlintError
label_desc: Use image node_id 8 for calling the ABSASample obj's underlying member method code with example usage: obj.update_sentence(trans_sentence) without return types