/merge-ut-dictionaries

Merge multiple Mozc UT dictionaries into one and modify the costs.

Primary LanguagePythonOtherNOASSERTION

Overview

Mozc UT dictionaries are additional dictionaries for Mozc.

Press the Star button on GitHub

They need more Stars.

mozc: 1930 Stars

fcitx5-mozc: 82 Stars

AzooKeyKanaKanjiConverter: 44 Stars

fcitx5-hazkey: 10 Stars

merge-ut-dictionaries: 40 Stars

Starring a repository also shows appreciation to the repository maintainer for their work. - GitHub Docs

リポジトリに Star を付けるということは、リポジトリメンテナに対してその作業についての感謝を示すことでもあります。- GitHub Docs

License

  • mozcdic-ut.txt (generated by merge-ut-dictionaries): Combined

  • jawiki-latest-all-titles: CC BY-SA

    • merge-ut-dictionaries updates the costs for words using jawiki-latest-all-titles.
  • id.def from Mozc: BSD-3-Clause

    • merge-ut-dictionaries updates the ID for words using id.def.
  • Source code: Apache License, Version 2.0

Build

git clone https://github.com/utuhiro78/merge-ut-dictionaries.git

cd merge-ut-dictionaries/src/

Comment out unnecessary UT dictionaries in make.sh.

Default settings:

#alt_cannadic="true"
#edict="true"
jawiki="true"
#neologd="true"
personal_names="true"
place_names="true"
#skk_jisyo="true"
sudachidict="true"

Generate mozcdic-ut.txt.

sh make.sh
cat mozcdic-ut.txt >> ../../mozc-master/src/data/dictionary_oss/dictionary00.txt

Build Mozc as usual.

Build fcitx5-mozc on Arch Linux

git clone https://github.com/utuhiro78/merge-ut-dictionaries.git

cd merge-ut-dictionaries/src/
sh make.sh
mv mozcdic-ut.txt PKGBUILD/

cd PKGBUILD/
python generate-mozc-archive.py

rm -rf ~/.cache/bazel/
makepkg -is -p fcitx5-mozc-ut.PKGBUILD

Dictionaries

Mozc UT dictionaries contain the following dictionaries:

HOME