For AI agents: the complete documentation index is available at https://canary.gukhanmun.org/llms.txt, the full documentation bundle is available at https://canary.gukhanmun.org/llms-full.txt, and this page is available as Markdown at https://canary.gukhanmun.org/api/js/types/_gukhanmun_napi.AnnotationGranularity.md.

Type Alias: AnnotationGranularity

AnnotationGranularity = "word" | "hanja-run"

The span to annotate when both scripts are shown. "word" keeps the whole-word gloss. "hanja-run" annotates contiguous hanja runs when the reading can be split uniquely, and otherwise keeps the whole-word gloss.