class_docstr: Transforms an input by adding summaries of person and movies provided
  by csv.
  
  Example::
      ori: Titanic is my favorite movie
      trans: The Boys Club is my favorite movie
class_docstr_tok: ["Transforms","an","input","by","adding","summaries","of","person","and","movies","provided","by","csv",".","Example",":",":","ori",":","Titanic","is","my","favorite","movie","trans",":","The","Boys","Club","is","my","favorite","movie"]
docstr: :param str entity_type: entity for which entity type
  :param kwargs: other params
docstr_tok: [":","param","str","entity_type",":","entity","for","which","entity","type",":","param","kwargs",":","other","params"]
code: def __init__(self, entity_type="person", **kwargs):
      r"""
  
      :param str entity_type: entity for which entity type
      :param kwargs: other params
  
      """
  
      super().__init__()
      self.entity_type = entity_type
      if entity_type == "movie":
          self.entity_dict, self.max_entity_len = sa_dict_loader(
              download_if_needed(SA_MOVIE_PATH)
          )
      elif entity_type == "person":
          self.entity_dict, self.max_entity_len = sa_dict_loader(
              download_if_needed(SA_PERSON_PATH)
          )
      else:
          raise ValueError(
              "SpecialEntityReplace not support type {0}, "
              "please choose entity type from movie and person".format(
                  entity_type
              )
          )
  
file_path: textflint/textflint/generation/transformation/SA/swap_special_ent.py
imports: import random
  from ..transformation import Transformation
  from ....common.settings import SA_PERSON_PATH, SA_MOVIE_PATH
  from ....common.utils.install import download_if_needed
  from ....common.utils.load import sa_dict_loader
label_desc: Use image node_id 1 to create a new SwapSpecialEnt object from inherited base classes: Transformation with example: obj = SwapSpecialEnt(entity_type)