Module: @gukhanmun/opendict-fst

Open Korean Dictionary (우리말샘) categories prebuilt as FST binaries for use with {@link load} from @gukhanmun/wasm or @gukhanmun/napi.

Example

import { load } from "@gukhanmun/wasm";
import { opendictNorthKoreanFst } from "@gukhanmun/opendict-fst";

const g = await load({
  preset: "ko-kp",
  dictionaries: [await opendictNorthKoreanFst()],
});
console.log(g.convert("歷史와 來日"));  // "력사와 래일"

Variables

Functions

References

FileDictionarySource

Re-exports FileDictionarySource