code: def test_dictionary_without_stop_words():
      summarizer = LsaSummarizer()
      summarizer.stop_words = ["stop", "Halt", "SHUT", "HmMm"]
  
      document = build_document(
          (
              "stop halt shut hmmm",
              "Stop Halt Shut Hmmm",
          ),
          (
              "StOp HaLt ShUt HmMm",
              "STOP HALT SHUT HMMM",
          ),
          (
              "Some relevant sentence",
              "Some moRe releVant sentEnce",
          ),
      )
  
      expected = frozenset(["some", "more", "relevant", "sentence"])
      dictionary = summarizer._create_dictionary(document)
  
      assert expected == frozenset(dictionary.keys())
  
file_path: sumy/tests/test_summarizers/test_lsa.py
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import pytest
  import sumy.summarizers.lsa
  from sumy._compat import to_unicode
  from sumy.nlp.stemmers import Stemmer
  from sumy.nlp.tokenizers import Tokenizer
  from sumy.parsers.plaintext import PlaintextParser
  from sumy.summarizers.lsa import LsaSummarizer
  from sumy.utils import get_stop_words
  from ..utils import build_document, load_resource
label_desc: Use image node_id 2 for calling a global function with example usage: test_dictionary_without_stop_words() without return types