Failed to load the dictionry with fcitx-skk
Closed this issue · 1 comments
hkurokawa commented
Description
I tried to import the dictionary but did not work. I got the below warning when running fcitx -r
.
** (process:21919): WARNING **: 01:31:46.637: user-dict.vala:138: error parsing user dictionary /home/hiroshi/.config/fcitx/skk/SKK-JISYO.emoji.utf8: no okuri-ari boundary
Environment
- OS: Ubuntu 18.04 4.15.0-30-generic #32-Ubuntu SMP Thu Jul 26 17:42:43 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
- fcitx: 4.2.9.6
- fcitx-skk: 0.1.4
Steps to reproduce
-
Download the dictionary with
curl -O https://raw.githubusercontent.com/uasi/skk-emoji-jisyo/master/SKK-JISYO.emoji.utf8
-
Place the dictionary file under $HOME/.config/fcitx/skk
-
Edit $HOME/.config/fcitx/skk/dictionary_list as below
file=$FCITX_CONFIG_DIR/skk/SKK-JISYO.emoji.utf8,mode=readwrite,encoding=UTF-8,type=file
-
Restart fcitx
-
Open a browser and input
/
→+1
→<SPACE>
Result
After step 4, I did not get any suggestion.
Expected result
After step 4, I get a suggestion as 👍
hkurokawa commented
It seems a dictionary file must include ;; okuri-ari entries.
before ;; okuri-nasi entries.
after libskk 1.0.4.
https://github.com/ueno/libskk/blob/809c8897531f5658bad90333a631de6c6a1c8d85/libskk/user-dict.vala#L74