code: def test_ngrams(params, text, expected_ngrams):
      bow = feature_extraction.BagOfWords(**params)
      ngrams = list(bow.process_text(text))
      assert expected_ngrams == ngrams
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_ngrams(params, text, expected_ngrams) without return types