vim-skk / eskk.vim

eskk is pure Vim script implementation of input method engine SKK
174 stars 28 forks source link

eskk doesn't seem to find some words #232

Closed x-yuri closed 4 years ago

x-yuri commented 4 years ago

I can see in SKK-JISYO.L:

やさしi /優し;※送り位置補正/易し;※送り位置補正/
やさs /優;(gentle)優しい人/易;(easy)易しい問題/

But when I do a<C-j>;yasashii<Space> it doesn't find candidates. The same goes for yasashi, and yasa. I can see that the words in the dictionary end with i, and s. Can you possibly explain what that means?

I investigated it a bit. It appears there are okuri-ari and okuri-nasi entries there. Again not sure what that means. And okuri-ari entries are in reverse order. Okuri-ari entries take about 3% of the dictionary, so I'm not sure if they are reachable. But even if they would, those latin endings would most likely not let eskk find a match. On second thought if they would be reachable, I could probably use <C-x><C-o>. But they aren't. Is there a way to enter 易? 易しい is supposedly a common word, so I wonder what I'm doing wrong. Is SKK-JISYO.L not good enough? Or am I missing something?

k-takata commented 4 years ago

SKK is a unique Japanese input system. The user needs to specify the start point of Kanji and Hiragana (Okurigana) explicitly by using capital letters. See the Japanese Wikipedia entry of SKK for detail. To enter 易しい, you need to type YasaShii, where the Y specifies the start point of Kanji and the S specifies the start point of Hiragana (Okurigana).

x-yuri commented 4 years ago

Actually, one might say that I'm only starting to learn Japanese. So without a translation service I would understand nothing. But it appears there are some services that let one understand it for the most part. Also I've found a gist. So with your explanation and the above mentioned web pages, I now know more, thanks :)

And I was wrong, eskk doesn't search the whole dictionary. It searches either the first part (if I tell it where the okurigana starts), or the second one. Also, I've found that instead of typing a capital letter, one can use ; + a lowercase one.