docstr: Return a list of random last names.
docstr_tok: ["Return","a","list","of","random","last","names","."]
code: def _get_lastname(self, word):
      """Return a list of random last names."""
      if self.language == "esp" or self.language == "spanish":
          return np.random.choice(
              PERSON_NAMES["last-spanish"], self.num_name_replacements
          )
      elif self.language == "fra" or self.language == "french":
          return np.random.choice(
              PERSON_NAMES["last-french"], self.num_name_replacements
          )
      else:
          return np.random.choice(
              PERSON_NAMES["last"], self.num_name_replacements
          )
  
file_path: TextAttack/textattack/transformations/word_swaps/word_swap_change_name.py
imports: from collections import defaultdict
  import numpy
  from textattack.shared.data import PERSON_NAMES
  from .word_swap import WordSwap
label_desc: Use image node_id 4 for calling the WordSwapChangeName obj's underlying member method code with example usage: obj._get_lastname(word) and returns: np, np, np