class_docstr: Transforms an affirmative sentence into a negative sentence, or vice versa.
  Each sample generate one transformed sample at most.
class_docstr_tok: ["Transforms","an","affirmative","sentence","into","a","negative","sentence",",","or","vice","versa",".","Each","sample","generate","one","transformed","sample","at","most","."]
docstr: :param tokens: word list
  :return: transformed_text or None
docstr_tok: [":","param","tokens",":","word","list",":","return",":","transformed_text","or","None"]
code: def _judge_sentence(tokens):
      r"""
      :param tokens: word list
      :return: transformed_text or None
  
      """
      for i in tokens:
          if i in [
              "not",
              "n't",
              "don",
              "didn",
              "doesn",
              "doesn",
              "aren",
              "isn",
              "wasn",
              "weren",
          ]:
              return "remove"
  
      return "add"
  
file_path: textflint/textflint/generation/transformation/UT/reverse_neg.py
imports: from ..transformation import Transformation
label_desc: Use image node_id 4 for calling the ReverseNeg obj's underlying member method code with example usage: obj._judge_sentence(tokens) and returns: str, str