code: def test_tokenize_with_vocabulary(
      delimiter, input, default_id, results
  ):
      vocabulary = cudf.Series(
          [
              "the",
              "quick",
              "brown",
              "fox",
              "jumps",
              "over",
              "dog",
              "sable",
              "siamésé",
              "cat",
              "under",
              "sofa",
          ]
      )
      tokenizer = TokenizeVocabulary(vocabulary)
  
      strings = cudf.Series([input, None, "", input])
  
      expected = cudf.Series(
          [
              cudf.Series(results, dtype=np.int32),
              None,
              cudf.Series([], dtype=np.int32),
              cudf.Series(results, dtype=np.int32),
          ]
      )
  
      actual = tokenizer.tokenize(strings, delimiter, default_id)
      assert type(expected) == type(actual)
      assert_eq(expected, actual)
  
imports: import random
  import string
  import numpy
  import pytest
  import cudf
  from cudf.core.byte_pair_encoding import BytePairEncoder
  from cudf.core.tokenize_vocabulary import TokenizeVocabulary
  from cudf.testing._utils import assert_eq
label_desc: Use image node_id 5 for calling a global function with example usage: test_tokenize_with_vocabulary(delimiter, input, default_id, results) without return types