code: def test_chinese_morphonym_character_swap():
      from textattack.augmentation import Augmenter
      from textattack.transformations.word_swaps.chn_transformations import (
          ChineseMorphonymCharacterSwap,
      )
  
      augmenter = Augmenter(
          transformation=ChineseMorphonymCharacterSwap(),
          pct_words_to_swap=0.1,
          transformations_per_example=5,
      )
      s = "自然语言处理。"
      augmented_text_list = augmenter.augment(s)
      augmented_s = "自然语言处埋。"
      assert augmented_s or s in augmented_text_list
  
file_path: TextAttack/tests/test_transformations.py
label_desc: Use image node_id 6 for calling a global function with example usage: test_chinese_morphonym_character_swap() without return types