code: def test_replace_words(self) -> None:
      augmented_words = txtaugs.replace_words(
          self.texts, aug_word_p=0.3
      )
      self.assertTrue(augmented_words[0] == self.texts[0])
  
      augmented_words = txtaugs.replace_words(
          self.texts,
          mapping={
              "jump": "hop",
              "brown": "orange",
              "green": "blue",
              "the": "a",
          },
          aug_word_p=1.0,
      )
      self.assertTrue(
          augmented_words[0]
          == "A quick orange 'fox' couldn't hop over a blue, grassy hill.",
      )
  
      augmented_words = txtaugs.replace_words(
          self.texts,
          mapping={
              "jump": "hop",
              "brown": "orange",
              "green": "blue",
              "the": "a",
          },
          aug_word_p=1.0,
          ignore_words=["green", "jump"],
      )
      self.assertTrue(
          augmented_words[0]
          == "A quick orange 'fox' couldn't jump over a green, grassy hill.",
      )
  
imports: import random
  import unittest
  from augly import text
  from augly.utils import FUN_FONTS_GREEK_PATH
label_desc: Use image node_id 18 for calling the FunctionalTextUnitTest obj's underlying member method code with example usage: obj.test_replace_words() without return types