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_types.DictionarySource.md.

Type Alias: DictionarySource

DictionarySource = FileDictionarySource | MapDictionarySource

A dictionary source accepted by GukhanmunOptions.dictionaries.

Authored overrides take precedence over cooperative reference and loanword sources. GukhanmunOptions.sourcePolicy controls cooperation; the "ordered" policy restores first-match array ordering. Source roles do not infer lexical identity or authorize forms without reference evidence.

Example

import { stdictFst } from "@gukhanmun/stdict-fst";
const g = await load({ dictionaries: [await stdictFst()] });