class_docstr: Generate potential replacements for a word using a masked language
  model.
code: def get_replacement_words(self, current_text, indice_to_modify):
      masked_text = current_text.replace_word_at_index(
          indice_to_modify, "<mask>"
      )
      outputs = self.unmasker(masked_text.text)
      words = []
      for dict in outputs:
          take = True
          for char in dict["token_str"]:
              # accept only Chinese characters for potential substitutions
              if not is_cjk(char):
                  take = False
          if take:
              words.append(dict["token_str"])
  
      return words
  
file_path: TextAttack/textattack/transformations/word_swaps/chn_transformations/chinese_word_swap_masked.py
imports: from transformers import pipeline
  from .None import WordSwap
label_desc: Use image node_id 2 for calling the ChineseWordSwapMaskedLM obj's underlying member method code with example usage: obj.get_replacement_words(current_text, indice_to_modify) and returns: words