Function: load()
load(
options?):Promise<Gukhanmun>
Creates a Gukhanmun converter with the given options.
The native addon is synchronously ready; dictionaries supplied via
{@link GukhanmunOptions.dictionaries} are fetched or read from disk 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.