code: def test_stemmer_does_not_cause_crash():
      """https://github.com/miso-belica/sumy/issues/165"""
      document = build_document(
          [
              Sentence(
                  "Was ist das längste deutsche Wort?",
                  Tokenizer("german"),
              )
          ]
      )
      summarizer = _build_summarizer(
          EMPTY_STOP_WORDS, Stemmer("german")
      )
  
      returned = summarizer(document, 10)
      assert len(returned) == 1
  
file_path: sumy/tests/test_summarizers/test_sum_basic.py
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import pytest
  from sumy.models.dom._sentence import Sentence
  from sumy.nlp.tokenizers import Tokenizer
  from sumy.summarizers.sum_basic import SumBasicSummarizer
  from sumy.nlp.stemmers import Stemmer
  from ..utils import build_document
label_desc: Use image node_id 4 for calling a global function with example usage: test_stemmer_does_not_cause_crash() without return types