Type Alias: DictionarySource

DictionarySource = FileDictionarySource

A dictionary source accepted by GukhanmunOptions.dictionaries.

Currently only FileDictionarySource (binary file / URL / path) is supported. Sources are tried in array order; the first match wins.

Example

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