code: def test_ja_tokenizer_split_modes(
      ja_tokenizer, text, len_a, len_b, len_c
  ):
      nlp_a = Japanese.from_config(
          {"nlp": {"tokenizer": {"split_mode": "A"}}}
      )
      nlp_b = Japanese.from_config(
          {"nlp": {"tokenizer": {"split_mode": "B"}}}
      )
      nlp_c = Japanese.from_config(
          {"nlp": {"tokenizer": {"split_mode": "C"}}}
      )
  
      assert len(ja_tokenizer(text)) == len_a
      assert len(nlp_a(text)) == len_a
      assert len(nlp_b(text)) == len_b
      assert len(nlp_c(text)) == len_c
  
file_path: spacy/spacy/tests/lang/ja/test_tokenizer.py
imports: import pytest
  from spacy.lang.ja import DetailedToken, Japanese
  from ...tokenizer.test_naughty_strings import NAUGHTY_STRINGS
label_desc: Use image node_id 8 for calling a global function with example usage: test_ja_tokenizer_split_modes(ja_tokenizer, text, len_a, len_b, len_c) without return types