Presage-based keyboard available in Chum

Already have Presage installed, so there is a conf file in /usr/share/maliit/plugins/com/jolla/layouts.
What I noticed is that each layout has it’s own conf file with a ‘handler’ entry. Most of them say ‘handler=Xt9InputHandler.qml’, but the Presage one says ‘handler=PresageInputHandler.qml’. If I change the handler line to ‘handler=PresageInputHandler.qml’, it causes some predictions to show up on the keyboard, where there were none before, but the predictions are frozen to the same 5 words, and they never change to show suggestions as you type…


Figured it out -
It was the line in conf file that says ‘languageCode=’… In the older layouts, it said ‘languageCode=EN’, but needs to be ‘languageCode=en_US’ (or whatever)

2 Likes

And why not to use documentation: sailfishos-presage-predictor/utils/keyboard at master · sailfish-keyboard/sailfishos-presage-predictor · GitHub ?

2 Likes

Because reading is hard…

1 Like

Anyone knows why Hunspell predictor not works in Presage Keyboard? All needed files exist, all paths in /ets/presage.xml correct. But works only Ngram predictor.

1 Like

Presage library packaging on 5.0 has been fixed and it is available now for 5.0 at Chum.

To install, in Chum GUI just select keyboard-presage-en_US or some other supported language and it should pull in all dependencies. After that, enable it in SFOS Settings.

Enjoy!

14 Likes

To be fair, I had to zypper rm presage-data from before so I can install the new packaging. Then you need to start settings app fresh to see e.g. English (Presage)

3 Likes

Presage is not needed in sailfish x I guess? It works fine in my op6 now. Is there a difference between preasage and the keyboard from sailfish x (Sailfish with license e.g. Xperia 10 III)?

Presage is open source. Selection of languages is probably different

2 Likes

Its something that jolla must adopt because the localization in sfos is a bit wonky at the moment and needs fixing.

Its a damn shame i cant have word suggestion in my native language (or any other) after all these years in an open source based OS. :slightly_frowning_face:

Well, you can look into how to add that support via presage

We tried in the past (with a dev i cant remember the name off my head) with text from wikipedia and it failed. Don’t remember the reasons exactly.

But its not about me. Its about adopting a solution that will make SFOS a bit more usable for more people with obscure languages.

Its those things by Jolla that rub me wrong in the way the OS comes along.

As far as I know, the newly sold licenses (sold since the restructuring) don’t come with Xt9 anymore. So if you have old license, you don’t need Presage, but new licenses probably wants to install this.

1 Like

So… would you say presage is better than whatever Sailfish + License uses?

Or, what are the differences in prediction?

I don’t think it has been evaluated to state one or the other. Personally, I don’t have access to Jolla’s predictor as I am using ported devices