docstr: Here we try to replace a keyword made of different words
  the current cost should be decreased by one when encountering 'maade' (1 insertion)
  and again by one when encountering 'multple' (1 deletion)
docstr_tok: ["Here","we","try","to","replace","a","keyword","made","of","different","words","the","current","cost","should","be","decreased","by","one","when","encountering","'maade","'","(","1","insertion",")","and","again","by","one","when","encountering","'multple","'","(","1","deletion",")"]
code: def test_replace_cost_spread_over_multiple_words(self):
      """
      Here we try to replace a keyword made of different words
      the current cost should be decreased by one when encountering 'maade' (1 insertion)
      and again by one when encountering 'multple' (1 deletion)
      """
      keyword_proc = KeywordProcessor()
      keyword_proc.add_keyword(
          "made of multiple words", "with only one word"
      )
      sentence = (
          "this sentence contains a keyword maade of multple words"
      )
      target_sentence = (
          "this sentence contains a keyword with only one word"
      )
      self.assertEqual(
          keyword_proc.replace_keywords(sentence, max_cost=2),
          target_sentence,
      )
  
file_path: flashtext/test/test_replace_fuzzy.py
imports: from flashtext import KeywordProcessor
  import logging
  import unittest
label_desc: Use image node_id 5 for calling the TestReplaceFuzzy obj's underlying member method code with example usage: obj.test_replace_cost_spread_over_multiple_words() without return types