# Japanese transliteration dependencies

All runtime code, dictionaries and license notices are packaged locally. No CDN
or external service is contacted to transliterate Japanese text. The normal
build copies this directory into every browser archive.

- **kuromoji-es**: https://github.com/code4fukui/kuromoji-es
  - Commit: `4e13b9dfec4155c505fae10cb172f83a773e6c7a` (branch `es`).
  - Includes the eleven IPADIC files used by the tokenizer as uncompressed
    `.dat` files; the unused `unk_compat.dat` compatibility table is omitted.
  - License: `kuromoji/LICENSE-2.0.txt` (Apache 2.0).
  - Dictionary copyright and redistribution notices: `kuromoji/NOTICE.md`.
  - Local changes: resolve doublearray imports locally; expand the upstream
    gzip dictionaries and load them directly with `fetch().arrayBuffer()` so
    browser-store packages contain no nested compressed dictionaries; avoid constructing
    a tokenizer after a dictionary load error; omit the unused compatibility
    table and supply an empty compatibility map to the upstream API.
- **WanaKana 5.3.1**: https://github.com/WaniKani/WanaKana
  - npm archive: https://registry.npmjs.org/wanakana/-/wanakana-5.3.1.tgz
  - Uses `esm/index.js` as `wanakana/wanakana.js`.
  - License: `wanakana/LICENSE-MIT.txt`, including its original copyright notice.
  - Local changes: omit the unused source map reference and expose
    `toRomajiWithOffsets`, which retains the existing
    converter's input offsets without changing its conversion rules.
- **doublearray-es**: https://github.com/code4fukui/doublearray-es
  - Commit: `680a141af7ae144ff504b3189b4c24f01abcbbf9`.
  - Required by Kuromoji; license: `doublearray/LICENSE-MIT.txt`.

The third-party libraries and dictionary data retain their upstream copyright
and license terms. AynAyn's own integration module is outside this vendor
directory.
