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

Revision history [back]

click to hide/show revision 1
initial version

posted 2016-09-07 19:14:25 +0200

[question] Quick adding a list of words as a LEARNED words for custom vkb...

Hi to all...<bt/> Maybe someone with needed skills can help with this...<bt/> As we know the predictive words placed in some *.so file that we can't just edit and add custom words. Also we know that learned words are stored in xt9.dlm file but we also can't just edit it and add custom words.
For now we can add custom words by writing them a few times for example in note app and phone will store them as learned words in xt9.dlm file.
But what if we have a big list with words? In my case list have 10000 words and insert them manually as learned words will take too much time... I started to do this 3 days ago and even not close to the half of list...
I thought maybe it possible somehow with terminal command, something like:
cat file.txt|while read line; do <command>; done
I'm googling 2 days, but without needed result... I also asking Pekka Vuorela about this and here is his answer:
<quote>Learning words needs to go through the prediction library. Only interface at the moment is the qml one. If you want to hack for yourself, guess you can check Xt9InputHandler.qml and do some simple app that does acceptWord() parts.</quote>
Probably by terminal command it also not possible...

And here is question, can someone with needed skills do this hack/app for inserting a big list of custom words as "LEARNED" words ? Or at least can explain step by step how to do this...
Thanks

[question] Quick adding a list of words as a LEARNED words for custom vkb...

Hi to all...<bt/> Maybe someone with needed skills can help with this...<bt/> As we know the predictive words placed in some *.so file that we can't just edit and add custom words. Also we know that learned words are stored in xt9.dlm file but we also can't just edit it and add custom words.
For now we can add custom words by writing them a few times for example in note app and phone will store them as learned words in xt9.dlm file.
But what if we have a big list with words? In my case list have 10000 words and insert them manually as learned words will take too much time... I started to do this 3 days ago and even not close to the half of list...
I thought maybe it possible somehow with terminal command, something like:

cat file.txt|while read line; do <command>; donedone

I'm googling 2 days, but without needed result... I also asking Pekka Vuorela about this and here is his answer:
<quote>Learning

Learning words needs to go through the the prediction library. Only interface at at the moment is the qml one. If you want want to hack for yourself, guess you can can check Xt9InputHandler.qml and do some some simple app that does acceptWord() parts.</quote>
acceptWord() parts.

Probably by terminal command it also not possible...

And here is question, can someone with needed skills do this hack/app for inserting a big list of custom words as "LEARNED" words ? Or at least can explain step by step how to do this...
Thanks

[question] Quick adding a list of words as a LEARNED words for custom vkb...

Hi to all...<bt/> Maybe someone with needed skills can help with this...<bt/> As we know the predictive words placed in some *.so file that we can't just edit and add custom words. Also we know that learned words are stored in xt9.dlm file but we also can't just edit it and add custom words.
For now we can add custom words by writing them a few times for example in note app and phone will store them as learned words in xt9.dlm file.
But what if we have a big list with words? In my case list have 10000 words and insert them manually as learned words will take too much time... I started to do this 3 days ago and even not close to the half of list...
I thought maybe it possible somehow with terminal command, something like:

cat file.txt|while read line; do <command>; done

I'm googling 2 days, but without needed result... I also asking Pekka Vuorela about this and here is his answer:

Learning words needs to go through the prediction library. Only interface at the moment is the qml one. If you want to hack for yourself, guess you can check Xt9InputHandler.qml and do some simple app that does acceptWord() parts.

Probably by terminal command it also not possible...

And here is question, can someone with needed skills do this hack/app for inserting a big list of custom words as "LEARNED" words ? Or at least can explain step by step how to do this...
Thanks

[question] Quick adding a list of words as a LEARNED words for custom vkb...

Hi to all...<bt/> all...
Maybe someone with needed skills can help with this...<bt/> this...
As we know the predictive words placed in some *.so file that we can't just edit and add custom words. Also we know that learned words are stored in xt9.dlm file but we also can't just edit it and add custom words.
For now we can add custom words by writing them a few times for example in note app and phone will store them as learned words in xt9.dlm file.
But what if we have a big list with words? In my case list have 10000 words and insert them manually as learned words will take too much time... I started to do this 3 days ago and even not close to the half of list...
I thought maybe it possible somehow with terminal command, something like:

cat file.txt|while read line; do <command>; done

I'm googling 2 days, but without needed result... I also asking Pekka Vuorela about this and here is his answer:

Learning words needs to go through the prediction library. Only interface at the moment is the qml one. If you want to hack for yourself, guess you can check Xt9InputHandler.qml and do some simple app that does acceptWord() parts.

Probably by terminal command it also not possible...

And here is question, can someone with needed skills do this hack/app for inserting a big list of custom words as "LEARNED" words ? Or at least can explain step by step how to do this...
Thanks