We have moved to a new Sailfish OS Forum. Please start new discussions there.
1 | initial version | posted 2016-09-07 19:14:25 +0200 |
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
2 | No.2 Revision |
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
thethe prediction library. Only interfaceatat the moment is the qml one. If youwantwant to hack for yourself, guess youcancan check Xt9InputHandler.qml and dosomesome simple app that doesacceptWord() 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
3 | No.3 Revision |
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
4 | No.4 Revision |
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