class_docstr: Transforms an input by adding summaries of person and movies provided
  by csv.
  
  Example::
  
      ori: Titanic is my favorite movie.
      trans: Titanic(A seventeen-year-old aristocrat falls in love with a
      kind but poor artist aboard the
             luxurious,ill-fated R.M.S. Titanic.) is my favorite movie.
docstr: Returns the index to insert the summary and the corresponding name.
  
  :param list tup_list: A list including dicts with sub sentence of
      original sentence and corresponding indices
  :return list indices: indices that will be insert
  :return list summaries: summaries that will be insert
code: def _get_insert_info(self, tup_list):
      r"""
      Returns the index to insert the summary and the corresponding name.
  
      :param list tup_list: A list including dicts with sub sentence of
          original sentence and corresponding indices
      :return list indices: indices that will be insert
      :return list summaries: summaries that will be insert
  
      """
      insert_summaries = []
      insert_indices = []
  
      for item in tup_list:
          current_str = item["string"]
          current_index = item["indices"][1]
  
          if (
              current_str in self.entity_dict
              and current_index not in insert_indices
          ):
              insert_indices.append(current_index - 1)
              insert_summaries.append(
                  "(%s)" % self.entity_dict[current_str]
              )
              continue
  
      if insert_indices:
          insert_indices, insert_summaries = zip(
              *sorted(
                  zip(insert_indices, insert_summaries), reverse=True
              )
          )
  
      return insert_indices, insert_summaries
  
file_path: textflint/textflint/generation/transformation/SA/add_sum.py
imports: 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 4 for calling the AddSum obj's underlying member method code with example usage: obj._get_insert_info(tup_list) and returns: insert_indices,  insert_summaries