Function: load()
load(
options?):Promise<Gukhanmun>
Creates a Gukhanmun converter with the given options.
Initialises the WASM module on the first call (subsequent calls reuse the
cached module). Dictionaries supplied via
{@link GukhanmunOptions.dictionaries} are fetched and passed to the Rust
engine as FileDictionarySource values.
Note: unlike the Rust ko-kr preset, the JavaScript preset never includes a
bundled dictionary. Pass dictionaries: [await stdictFst()] to include the
Standard Korean Language Dictionary.
Parameters
options?
GukhanmunOptions = {}
Conversion options. All fields are optional; defaults match
the ko-kr preset.
Returns
Promise<Gukhanmun>
A {@link Gukhanmun} instance.
Throws
GukhanmunError on invalid options or dictionary load failure.