Skip to content

Latest commit

 

History

History
65 lines (41 loc) · 1.46 KB

File metadata and controls

65 lines (41 loc) · 1.46 KB

Uyghur KenLM Fcitx5 Portable

Portable user-local package for the Uyghur KenLM Fcitx5 input method.

ئۇيغۇرچە كىرگۈزۈش يۇمشاق دېتالى

Install

sudo apt install fcitx5
wget https://huggingface.co/Rekipjan/Uyghur-Char-KenLM-Input-Method/blob/main/char_trie_q8.bin   data/char_trie_q8.bin
./install.sh
fcitx5 -r -d

Then select Uyghur KenLM in Fcitx5.

Custom Dictionary

Edit:

~/.local/share/fcitx5/uyghur-kenlm/dict.txt

Use UTF-8 text. One sentence per line or multiple words per line both work. Restart Fcitx5 after changing the dictionary:

fcitx5 -r -d

Files Installed

  • ~/.local/lib/x86_64-linux-gnu/fcitx5/libuyghurkenlm.so
  • ~/.local/share/fcitx5/addon/uyghurkenlm.conf
  • ~/.local/share/fcitx5/inputmethod/uyghur-kenlm.conf
  • ~/.local/share/fcitx5/uyghur-kenlm/dict.txt
  • ~/.local/share/fcitx5/uyghur-kenlm/char_trie_q8.bin
  • ~/.local/share/fcitx5/themes/uyghur-kenlm

Repository Data

GitHub does not accept single files larger than 100 MB in normal Git repositories. The model file is stored as data/char_trie_q8.bin.part* fragments and install.sh combines them automatically during installation.

Notes

This build targets Linux Mint 21.1 / Ubuntu 22.04 era Fcitx5 packages.

IMage

configuration test test1 test2 test3 test4