class_docstr: Transform the sentence containing answer with AlterSentence transformation.
  
  Example::
  
      origin sentence: Denver Broncos defeated the National Football
          Conference champion Carolina Panthers 24–10 to earn their
          third Super Bowl title.
      transformed sentence: Denver Broncos defeated the National Football
          Conference champ Carolina Panthers 24–10 to earn
          their 3rd Super Bowl rubric.
code: def __init__(self):
      super().__init__()
  
      # Rules for altering sentences
      self.rules = collections.OrderedDict(
          [
              ("wn_synonyms", MRCSample.alter_wordnet_synonyms),
              (
                  "nearbyProperNoun",
                  MRCSample.alter_nearby(["NNP", "NNPS"]),
              ),
              (
                  "nearbyProperNoun",
                  MRCSample.alter_nearby(
                      ["NNP", "NNPS"], ignore_pos=True
                  ),
              ),
              (
                  "nearbyEntityNouns",
                  MRCSample.alter_nearby(["NN", "NNS"], is_ner=True),
              ),
              (
                  "nearbyEntityJJ",
                  MRCSample.alter_nearby(
                      ["JJ", "JJR", "JJS"], is_ner=True
                  ),
              ),
          ]
      )
  
file_path: textflint/textflint/generation/transformation/MRC/perturb_answer.py
imports: import collections
  from ....common.settings import ORIGIN
  from ..transformation import Transformation
  from ....input.component.sample.mrc_sample import MRCSample
label_desc: Use image node_id 1 to create a new PerturbAnswer object from inherited base classes: Transformation with example: obj = PerturbAnswer()