code: def test_tf_idf_metric_should_be_real_number():
      """https://github.com/miso-belica/sumy/issues/41"""
      summarizer = KLSummarizer()
      frequencies = summarizer.compute_tf(
          [Sentence("There are five words, jop.", Tokenizer("english"))]
      )
  
      assert frequencies == {
          "there": 0.2,
          "are": 0.2,
          "five": 0.2,
          "words": 0.2,
          "jop": 0.2,
      }
  
file_path: sumy/tests/test_summarizers/test_kl.py
imports: from __future__ import absolute_import
  from __future__ import division, print_function, unicode_literals
  import pytest
  from sumy.models.dom._sentence import Sentence
  from sumy.nlp.tokenizers import Tokenizer
  from sumy.summarizers.kl import KLSummarizer
  from ..utils import build_document
label_desc: Use image node_id 10 for calling a global function with example usage: test_tf_idf_metric_should_be_real_number() without return types