We have moved to a new Sailfish OS Forum. Please start new discussions there.
11

How to add a word prediction dictionary for a not yet officially supported language

asked 2016-11-30 23:25:02 +0300

updated 2016-12-01 13:15:19 +0300

fstrahlm gravatar image

Hi all, When using a non included virtual keyboard layout the word prediction does not show anything. Is there any way to add an own database for a specific locale? I have no idea where should I look for it's database.

Thanks in advance!

edit retag flag offensive close delete

Comments

have a gander in /usr/share/maliit/plugins/com/jolla/ and maybe see InputHandler.qml and Xt9InputHandler.qml for clues.

Spam Hunter ( 2016-11-30 23:41:10 +0300 )edit

I have found these files, the question is where is the database for the Xt9CpModel.

martonmiklos ( 2016-11-30 23:47:06 +0300 )edit

2 Answers

Sort by » oldest newest most voted
4

answered 2016-12-21 10:48:54 +0300

coderus gravatar image

Xt9 prediction databases are Nuance property, they are proprietary and costs money. You can only try to use empty database and teach it with new words somehow.

edit flag offensive delete publish link more

Comments

1

Thanks man!

I could not imaged that an OS marketed as free and opensource has a simple component like word prediction which is properitary and cannot be fed with a simple word list...

It is a shame...

martonmiklos ( 2016-12-21 11:10:07 +0300 )edit
2

You right. This is very simple and essential component, so you can make an replacement yourself. Just do it and help thousands on Sailfish OS users please! Please please do it as soon as possible, we re all waiting for you!!!

coderus ( 2016-12-21 11:34:21 +0300 )edit
2

Well this pissed me up pretty much, so I will take a look after it. I do not say that it will happen soon, but added to the TODO list.

martonmiklos ( 2016-12-21 11:47:18 +0300 )edit

That would be great if you would look into it. Its a major issue and should be fixed. In addition to non-supported languages it seems to me that starting from 2.0.5.x release, ported devices are also cuf off from xt9 (which is fair enough). I looked briefly into it, but didn't have time yet to start doing something about predictors and keyboard. As far as I have seen, Ubuntu touch uses similar/same architecture as SFOS and has open-source solution for word predictions. So, I hope its possible to join them and port their solution over to Sailfish and this is not any major work. Just open a new thread in TMO when you start looking into it and maybe together with other users it would be faster to make it.

rinigus ( 2016-12-21 14:59:40 +0300 )edit

Well I have found the Presage: http://presage.sourceforge.net/

It should not be critically hard to create a QML inputhandler to the front of it. The input handler qml file seems to be selectable at the keyboard definition.

I will see with what can I came up at the evening.

martonmiklos ( 2016-12-21 15:07:31 +0300 )edit
1

answered 2016-12-21 09:42:01 +0300

Any hints on this one?

edit flag offensive delete publish link more

Comments

According to this threads https://together.jolla.com/question/327/where-are-the-dictionaries-of-the-vkb-stored/https://together.jolla.com/question/6951/allow-adding-additional-languages-to-xt9/ You should ask someone from Jolla if something changed in this case.

atlochowski ( 2016-12-21 10:56:54 +0300 )edit

Thank you for the link!

martonmiklos ( 2016-12-21 11:10:33 +0300 )edit
Login/Signup to Answer

Question tools

Follow
8 followers

Stats

Asked: 2016-11-30 23:25:02 +0300

Seen: 632 times

Last updated: Dec 21 '16