Dictionaries
Gukhanmun uses dictionaries to look up the hangul readings of hanja. By default it ships with the bundled Standard Korean Dictionary (標準國語大辭典).
Bundled Standard Korean Dictionary
The bundled dictionary is loaded automatically. No extra flags are needed for most Korean text.
To disable it — for example when you want to rely entirely on a custom
dictionary — pass --no-stdict:
Custom dictionaries
Supply one or more custom dictionaries with -d (or --dictionary). The
flag can be repeated:
Gukhanmun supports two binary dictionary formats:
Dictionaries are tried in the order they appear on the command line, with the bundled dictionary consulted last. The first match wins.
See the internals section for the full
dictionary file format specification and instructions on building your own
dictionaries with gukhanmun-mkdict.