class_docstr: Replace entity mention with entity with same entity types
code: def __repr__(self):
      return self.type
  
file_path: textflint/textflint/generation/transformation/RE/swap_ent.py
imports: import random
  from ....common.settings import LOWFREQ, MULTI_TYPE, TYPES
  from ....common.utils.install import download_if_needed
  from ....common.utils.load import json_loader
  from ...transformation import Transformation
  from ....input.component.sample import RESample
label_desc: Use image node_id 2 for calling the SwapEnt obj's underlying member method code with example usage: obj.__repr__() and returns: self