code: def test_same_results():
      word_ls = get_words()
      word_ser = cudf.Series(word_ls)
  
      nltk_stemmer = nltk_stem.PorterStemmer()
      nltk_stemmed = [nltk_stemmer.stem(word) for word in word_ls]
  
      cuml_stemmer = rapids_stem.PorterStemmer()
      cuml_stemmed = cuml_stemmer.stem(word_ser)
  
      assert all(
          [
              a == b
              for a, b in zip(
                  nltk_stemmed, cuml_stemmed.to_pandas().values
              )
          ]
      )
  
imports: from nltk import stem
  from cuml.preprocessing.text import stem
  from cuml.internals.safe_imports import gpu_only_import
label_desc: Use image node_id 2 for calling a global function with example usage: test_same_results() without return types