code: def test_ngrams_for_evaluation():
      from speechbrain.lm.counting import ngrams_for_evaluation
  
      assert list(ngrams_for_evaluation(["a", "b", "c"], max_n=3)) == [
          ("b", ("a",)),
          ("c", ("a", "b")),
      ]
      assert list(
          ngrams_for_evaluation(
              ["a", "b", "c"], max_n=3, predict_first=True
          )
      ) == [("a", ()), ("b", ("a",)), ("c", ("a", "b"))]
  
label_desc: Use image node_id 3 for calling a global function with example usage: test_ngrams_for_evaluation() without return types