Standard Korean Language Dictionary is not included if flag(static) is turned on
dahlia opened this issue · comments
Hong Minhee (洪 民憙) commented
Standard Korean Language Dictionary (data/ko-kr-stdict.tsv) is not included if flag(static)
is turned on. It's because Text.Seonbi.Facade.southKoreanDictionary
loads it using Cabal's data-files
metadata at runtime, but these data files are not included into the executable binary.
This needs to be fixed so that if flag(static)
is turned on at compile-time the code to load the data file uses file-embed instead of Cabal's data-files
metadata. Note that file-embed makes data files embedded into the executable binary.