code: def test_ja_tokenizer_emptyish_texts(ja_tokenizer):
      doc = ja_tokenizer("")
      assert len(doc) == 0
      doc = ja_tokenizer(" ")
      assert len(doc) == 1
      doc = ja_tokenizer("\n\n\n \t\t \n\n\n")
      assert len(doc) == 1
  
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 11 for calling a global function with example usage: test_ja_tokenizer_emptyish_texts(ja_tokenizer) without return types