class_docstr: Transforms an input by replacing its number word
  exmaple:
  {
      hypothesis: Mr Zhang has more than 20 students in Fudan university.
      premise: Mr Zhang has 10 students in Fudan university.
      y: contradicition
  }
docstr: Transform data sample to a list of Sample.
  
  :param ~NLISample sample: Data sample for augmentation
  :param int n: Default is 1. MAX number of unique augmented output
  :param **kwargs:
  :return: Augmented data
docstr_tok: ["Transform","data","sample","to","a","list","of","Sample",".",":","param","~NLISample","sample",":","Data","sample","for","augmentation",":","param","int","n",":","Default","is","1",".","MAX","number","of","unique","augmented","output",":","param","*","*","kwargs",":",":","return",":","Augmented","data"]
code: def transform(self, sample, n=1, **kwargs):
      r"""
      Transform data sample to a list of Sample.
  
      :param ~NLISample sample: Data sample for augmentation
      :param int n: Default is 1. MAX number of unique augmented output
      :param **kwargs:
      :return: Augmented data
      """
      transform_results = self._transform(sample, **kwargs)
  
      if transform_results:
          return [
              data for data in transform_results if not data.is_origin
          ]
      else:
          return []
  
file_path: textflint/textflint/generation/transformation/NLI/num_word.py
imports: from ..transformation import Transformation
  from ....common.utils.num_word import _get_contradictory_hypothesis
label_desc: Use image node_id 3 for calling the NumWord obj's underlying member method code with example usage: obj.transform(sample, n) and returns: unknown, list