docstr: Here we try to extract 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","extract","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_extract_cost_spread_over_multiple_words(self):
      """
      Here we try to extract 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_made_of_multiple_words = "made of multiple words"
      keyword_proc.add_keyword(keyword_made_of_multiple_words)
      sentence = (
          "this sentence contains a keyword maade of multple words"
      )
  
      extracted_keywords = [(keyword_made_of_multiple_words, 33, 55)]
      self.assertEqual(
          keyword_proc.extract_keywords(
              sentence, span_info=True, max_cost=2
          ),
          extracted_keywords,
      )
  
file_path: flashtext/test/test_extract_fuzzy.py
imports: from flashtext import KeywordProcessor
  import logging
  import unittest
label_desc: Use image node_id 8 for calling the TestExtractFuzzy obj's underlying member method code with example usage: obj.test_extract_cost_spread_over_multiple_words() without return types