dec32 / ajemi

An IME (input method) for Toki Pona.
35 stars 2 forks source link

[Request] Prevent specific words from completing #14

Open gregdan3 opened 7 months ago

gregdan3 commented 7 months ago

There are about a dozen words that I don't use out of those encoded in UCSUR. It would be great if there were an option to never match them, so that completion for my personal writing style could be more accurate. For example, I don't use ku, so I'd expect typing "miku" to suggest "mi kule" or "mi kulupu" first.

dec32 commented 7 months ago

Most IMEs solve this kind of problems by memorizing user preferences. For example, if you type "miku" and select "mi kulupu" instead of the highlighted "mi ku", the match engine will memorize this preference and next time you type "miku", "mi kulupu" becomes the highlighted one instead of "mi ku".

This solution is much more user-friendly because it avoids manual configurations. I propose this instead.

gregdan3 commented 7 months ago

Hmm, fair point, although I think it's still worth considering given the difference of user behavior between speakers of natural languages and speakers of Toki Pona. Toki Pona speakers are much, much more opinionated about what words they do and do not use compared to speakers of natural languages; you would not expect to see somebody intentionally disable a word in, say, a Japanese IME, but in a Toki Pona IME the action makes sense. It also, notably, places comparatively little (and optional) burden on the end user, given the small lexicon of Toki Pona. But I do see your point; if anything, the small lexicon strengthens your point, because it would take much less time for the IME to learn your preferences.