code: def test_ta_tokenizer_special_case(text, expected_tokens):
      # Add a special rule to tokenize the initialism "யு.கே." (U.K., as
      # in the country) as a single token.
      nlp = Tamil()
      nlp.tokenizer.add_special_case("யு.கே.", [{ORTH: "யு.கே."}])
      tokens = nlp(text)
  
      token_list = [token.text for token in tokens]
      assert expected_tokens == token_list
  
imports: import pytest
  from spacy.lang.ta import Tamil
  from spacy.symbols import ORTH
label_desc: Use image node_id 2 for calling a global function with example usage: test_ta_tokenizer_special_case(text, expected_tokens) without return types