sailfish-keyboard / sailfishos-presage-predictor

Presage based input predictor for the Sailfish OS
https://openrepos.net/content/sailfishkeyboard/maliit-plugin-presage
GNU General Public License v3.0
7 stars 4 forks source link

Cleanup from excessive learning and DBUS #25

Closed rinigus closed 6 years ago

rinigus commented 6 years ago

This is kind of 2in1 issues: I suggest to clean up code from:

If you agree, I'll submit PR with such cleanup

rinigus commented 6 years ago

Related: https://github.com/sailfish-keyboard/sailfishos-presage-predictor/issues/1

rinigus commented 6 years ago

Additional note: I was thinking that we can stash away DBUS code into separate branch. That way, we can always take it back easily, if needed.

rinigus commented 6 years ago

I have started working on this. Will submit it together with "forget a word" PR

martonmiklos commented 6 years ago

DBUS cleanup -> acked I do not think that it is going to be useful if we are going to have a separate config page. Having it in a branch for posterity makes sense.

Excessive learning -> acked. How should I say first I have tried to mimic the Xt9 without actually thinking/investigating deeper how the presage works to get the stuff rolling and then it simply left in.

Submit together with the forgot word -> sounds good.

rinigus commented 6 years ago

And that was very easy to fix - done already :) . I'll wait till hunspell is merged and then submit forget PR. Otherwise, forget PR will have the same commits as hunspell and its going to get messy.

PS: when submitted / merged, we can mark this issue as closed. Just to let all know that we have issue fix available, just waiting in the pipe