code: def _transform(self, sample, n=1, **kwargs):
      wsc_samples = []
      # find the sample in trans_file by search "index"
      idx = sample.index
      if idx in self.sample_dict:
          trans_sample = self.sample_dict[idx]
          trans_sample = WSCSample.clone(trans_sample)
          trans_sample.origin = False
          wsc_samples.append(trans_sample)
      else:
          logger.info("The data can not be transformed by SwapNames")
  
      return wsc_samples
  
file_path: textflint/textflint/generation/transformation/WSC/swap_names.py
imports: from ...transformation import Transformation
  from ....common.utils.install import download_if_needed
  from ....common.utils.load import load_jsonlines
  from ....common.utils import logger
  from ....input.component.sample.wsc_sample import WSCSample
  from ....common.settings import FILE_NAME_DICT
  import json
label_desc: Use image node_id 3 for calling the SwapNames obj's underlying member method code with example usage: obj._transform(sample, n) and returns: wsc_samples