Type Alias: Preset

Preset = "ko-kr" | "ko-kp"

Named configuration preset that sets orthographic and lexical defaults.

  • "ko-kr" — South Korean orthography: dictionary-driven readings, the initial sound law applied to fallback fragments, per-block homophone disambiguation, and the bundled Standard Korean Language Dictionary (標準國語大辭典). Corresponds to Rust Preset::KoKr.
  • "ko-kp" — North Korean orthography: no initial sound law (래일, 류행, 녀자), no bundled dictionary. Corresponds to Rust Preset::KoKp.

Both presets default rendering to "hangul-only" and segmentation to "lattice". Individual options passed to GukhanmunOptions override the preset.