code: def get_dictionary_type(
      tagger: "Tagger",
  ) -> Literal["ipadic", "unidic", "neologd", "juman"]:
      filename = tagger.dictionary_info().filename  # type: ignore
      for k in ["ipadic", "unidic", "neologd", "juman"]:
          if k in filename:
              return k  # type: ignore
      raise ValueError(f"Unsupported dictionary type: {filename}")
  
file_path: camphr/packages/camphr/camphr/tokenizer/mecab/__init__.py
imports: from camphr.doc import Doc, UserDataProto
  from typing import List, NamedTuple, TYPE_CHECKING
  from camphr.serde import SerDe
  from typing_extensions import Literal, Protocol
label_desc: Use image node_id 1 for calling a global function with example usage: get_dictionary_type(tagger) and returns: k