code: def test_serialization():
      nlp = Tokenizer(juman_kwargs={"jumanpp": True})
      with tempfile.TemporaryDirectory() as tmpd:
          path = Path(tmpd)
          nlp.to_disk(path)
          nlp2 = Tokenizer.from_disk(path)
      assert nlp2.tokenizer.command == "jumanpp"
  
file_path: camphr/packages/camphr/tests/tokenizer/juman/test_tokenizer.py
imports: from pathlib import Path
  import tempfile
  import pytest
  from camphr.tokenizer.juman import Tokenizer
  from ...utils import check_juman
label_desc: Use image node_id 4 for calling a global function with example usage: test_serialization() without return types