utuhiro78 / merge-ut-dictionaries

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Overview

Mozc UT dictionaries are additional dictionaries for Mozc.

Press the Star button on GitHub

They need more Stars.

mozc: 1930 Stars

fcitx5: 1129 Stars

fcitx5-mozc: 82 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 3.0

    • 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"

If you already have the latest jawiki, put it to src/ and comment out jawiki="true". Do the same for other dictionaries.

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/
ruby get_fcitx5_mozc.rb

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

Dictionaries

Mozc UT dictionaries contain the following dictionaries:

HOME

About

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

License:Other


Languages

Language:Python 82.3%Language:Shell 17.7%