docstr: A transformation that recognizes numbers in sentence, and returns
  sentences with altered numbers.
  
  :param max_change: Maximum percent of change (1 being 100%)
  :param n: Numbers of new numbers to generate
  >>> from textattack.transformations import WordSwapChangeNumber
  >>> from textattack.augmentation import Augmenter
  
  >>> transformation = WordSwapChangeNumber()
  >>> augmenter = Augmenter(transformation=transformation)
  >>> s = 'I am 12 years old.'
  >>> augmenter.augment(s)
code: def __init__(self, max_change=1, n=3, **kwargs):
      """A transformation that recognizes numbers in sentence, and returns
      sentences with altered numbers.
  
      :param max_change: Maximum percent of change (1 being 100%)
      :param n: Numbers of new numbers to generate
      >>> from textattack.transformations import WordSwapChangeNumber
      >>> from textattack.augmentation import Augmenter
  
      >>> transformation = WordSwapChangeNumber()
      >>> augmenter = Augmenter(transformation=transformation)
      >>> s = 'I am 12 years old.'
      >>> augmenter.augment(s)
      """
      super().__init__(**kwargs)
      self.max_change = max_change
      self.n = n
  
file_path: TextAttack/textattack/transformations/word_swaps/word_swap_change_number.py
imports: import more_itertools
  from num2words import num2words
  import numpy
  from word2number import w2n
  from .word_swap import WordSwap
label_desc: Use image node_id 1 to create a new WordSwapChangeNumber object from inherited base classes: WordSwap with example: obj = WordSwapChangeNumber(max_change, n)