spelling-variants-ja

Japanese spelling variants dictionary.


License
Apache-2.0
Install
npm install spelling-variants-ja@0.1.1

Documentation

spelling-variants-ja

Japanese spelling variants dictionary.

Build

  • install SudachiDict licensed under the Apache-2.0
  • deno run --allow-read --allow-write build-dict.js
  • bash build.sh

Usage

import { SpellingVariantsJa } from "spelling-variants-ja/mod.js";

const dict = await SpellingVariantsJa.load("spelling-variants.csv");
dict.get("あいず");  // --> { "合図": ["合図", "相図"] }

License

Apache-2.0