Skip to content

v0.1.6 — Japanese kanji G2P (MeCab + UniDic) & one-click dictionary installer

Latest

Choose a tag to compare

@github-actions github-actions released this 04 Oct 11:40
· 1 commit to main since this release

v0.1.6 — Japanese kanji G2P (MeCab + UniDic) & one-click dictionary installer

日语汉字 G2P(MeCab + UniDic)与一键词典安装

Highlights / 重点

  • Japanese kanji lyrics now work. The japanese-mecab converter is a real
    MeCab + UniDic pipeline, exactly like upstream: MeCab segments the lyrics,
    UniDic supplies the whole-word kana readings (pron), and every reading
    candidate goes to the aligner. A kanji word without a reading fails per file
    instead of silently producing wrong phonemes.
    日语汉字歌词可用。 japanese-mecab 现在与上游一致:MeCab 分词,UniDic
    给出整词假名读音(pron),全部读音候选交给对齐器;无读音的汉字词按文件报
    错,不会静默给错误音素。

  • Kana lyrics keep working out of the box. Without the dictionary the same
    config id falls back to the kana converter (v0.1.5 behaviour, byte-identical
    output).
    假名歌词照旧开箱即用。 未装词典时同一配置 id 自动回退假名转换器(v0.1.5
    行为,输出逐字节一致)。

  • One-click dictionary install in the GUI. The environment panel has a new
    "日语词典" row: downloads with progress and installs to models/unidic/
    automatically.
    GUI 一键安装。 顶栏环境区新增"日语词典"行:带进度下载并自动装到
    models/unidic/。

  • unidic-lite-dicdir.zip ships as its own release asset (~49 MB packed,
    ~260 MB unpacked) — deliberately not inside the platform bundles. It is
    probed at models/unidic/ (the converter's unidic_dir kwarg overrides);
    bundle README.txt and docs/usage.md explain it. MeCab is BSD-3 and UniDic
    BSD/GPL/LGPL — see THIRD_PARTY_NOTICES.md.
    词典为独立 release 资产(压缩约 49 MB,解压约 260 MB),刻意不进平台包。
    CLI/GUI 在 models/unidic/ 自动探测(转换器 unidic_dir kwarg 可覆盖);
    详见 THIRD_PARTY_NOTICES.md 与包内 README.txt。

For OpenUtau users / OpenUtau 用户

The .oudep packages are unchanged: OpenUtau passes phones directly and never
runs G2P, so this release does not rebuild them.
.oudep 无需更新:OpenUtau 直接传入音素、不走 G2P,因此本次不重建 oudep。

Verified / 已验证

可愛いから好きになったなんて with -l ja on the stock model + dictionary:
1 ok, 25 phones, the texts tier keeps the kanji surfaces
(可愛い/から/好き/に/なっ/た/なんて), phones
k a w a i | k a r a | s u k i | n i | n a cl | t a | n a N t e
(促音→cl,ん→N,长音按上游约定丢弃). Stock model + dictionary, -l ja:
1 ok,25 phones,texts 层保留汉字词面;假名回退与 v0.1.5 完全一致。
The GUI one-click install was exercised against this very asset, and the
dictionary archive was downloaded and checked from this release.
GUI 一键安装即从本 release 下载该资产;词典压缩包亦已下载复核。

Thanks / 致谢

MeCab by Taku Kudo / NTT (BSD), UniDic by the UniDic Consortium (BSD),
unidic-lite packaging.