-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove text prediction feature for now #146
Conversation
Also, maybe @sunweaver might have an opinion on this, as he's maintaining the packages in Debian for maliit now. Would be good for some feedback there. |
As we want to replace lomiri-keyboard by maliit-keyboard in Ubuntu Touch 22.04, this feature will probably dearly be missed. For Debian, it is not so relevant, because people will never have used the presage feature in a Debian stable release. Also, presage is in maintenance-only mode in Debian, as well: https://metadata.ftp-master.debian.org/changelogs//main/p/presage/presage_0.9.1-2.2_changelog |
It worked quite poorly and it is something people commonly turn off as soon as they start using Ubuntu Touch. However, word completion with spell checking via hunspell is still working fine, if the dictionary for the language is installed. |
Out of curiosity: are there any blockers for removing the presage/prediction databases? Glancing at my native tongue - Bulgarian - the prediction is very poor or useless even Which as a whole make me wonder if it's actually being maintained? Thanks o/ |
Even though we ship the SteamDeck with maliit-keyboard, I had to remove the presage integration due to the size and poor UX. @dobey what's your take on this? Are you split on the topic or waiting for feedback from Debian/Ubuntu folks? |
When we first implemented word candidates it was always assumed that better (free!) prediction engines would materialize eventually. I guess that didn't happen so then the whole feature should be dropped... |
@dobey any chance we can have this merged and a few release please? The latest release was out 1.5 years ago and you've merged a bunch of cool fixes since then. Thanks in advance, also hope you're OK 🤞 |
I do have a merge button now but I these changes are above my skill level to actually judge. I would need confirmation of eg. @evelikov that this still builds and breaks nothing else. I'm also not an owner of this organization, so I cannot elevate eg. someone from the SteamOS developers to (hopefully) maintain Maliit. |
Hey @KAMiKAZOW thanks for chipping in. At a glance, the PR needs a small update to drop some now unused files - I can do that alongside some testing. That said, I'm not sure what you mean with "to elevate"? If the project is no longer maintained, the README should really be updated to reflect that. I cannot comment on things from SteamDeck POV, but as an Arch user this PR would be appreciated. |
@dobey please let us know if you are still upstream for maliit-keyboard + framework. Personally, I have been in touch with Rodney on Maliit issues in Debian + Ubuntu. So, he is around and also using Maliit. |
To clarify: I have commit access because I write reasonable release notes when someone of the actual developers prepares a release. I'm not and never been in regular contact with any of them. |
What do you mean by this @evelikov ? I'm pretty sure I removed all the related files for this here. |
My initial feeling was that I was off - so is the current code btw. Currently we disable hunspell/spell checker, when presage is off 😱 I think the following files need minor work:
Will prep an updated PR later today, unless someone beats me to it. |
As presage has been unmaintained since 2018, among various other concerns with the feature and how the ngram databases are created, remove text prediction for now until a better implementation can be done, after keyboard layouts support has been refactored to be much simpler.
I don't see anything suggesting so in the code. They are separate settings, and separate properties in language plugins. I've also tested the change fairly heavily with hunspell still working.
These references were all ineffectual, but I've removed them in this PR now as well. |
I meant that the existing code (aka without this PR) disables hunspell when built without presage... as we can see from the changes to Although I could be missing something 🤷 In either way, with this PR merged we don't need to care about any of that. Thanks again 🙇 |
As presage has been unmaintained since 2018, among various other concerns with
the feature and how the ngram databases are created, remove text prediction for
now until a better implementation can be done, after keyboard layouts support
has been refactored to be much simpler.