maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   Nokia N9 User Dictionary (https://talk.maemo.org/showthread.php?t=85578)

keshavprasad 2012-07-19 04:19

Nokia N9 User Dictionary
 
Hi therer. I have this problem on my N9 since PR 1.0. Even after i updated it to PR 1.1 , 1.2 , 1.3, the problem still exists.

Problem:
Whatever words i add to the user dictionary using the normal keyboard (not swype keyboard) is erased after i reboot the device. The user dictionary doesn't seem to store the words i add after the reboot.

But in swype keyboard it works fine. Any words i add using swype is not erased after a reboot. The words added in swype is available only when i use swype and not the normal keyboard.

Please somebody help me with this issue. :(

I am using no mods on my OS and it is stock.

Thank you

Vromoth 2012-07-19 04:37

Re: Nokia N9 User Dictionary
 
Reflash would be my solution. Backup everything and reflash. Or a system reset might fix the settings.

thedead1440 2012-07-19 04:50

Re: Nokia N9 User Dictionary
 
you don't need to reflash this is a bug in the OS. Its been discussed here before...

keshavprasad 2012-07-19 07:14

Re: Nokia N9 User Dictionary
 
I read through the discussion and they have mentioned its a bug. But some users have reported they have no problems as such. Is it specific to a particular region firmware. Will the problem be solved if i flash a different variant? If so which variant would you suggest? My firmware is malaysia n9 16gb.

isfr21 2012-07-19 07:34

Re: Nokia N9 User Dictionary
 
I have no problem and if it was a common problem then you'd see a lot more action on this thread and it would've been brought up ages ago.

I'm no expert but maybe the dictionary database is corrupt? My guess would be to locate the database and delete it and reboot. Most probably it will recreate the dictionary database and then you should be fine. BUT don't forget to backup!

specc 2012-07-19 08:05

Re: Nokia N9 User Dictionary
 
This problem have been there from day one, has never been fixed. I guess they "forgot" it when Swype became available.

keshavprasad 2012-07-19 11:38

Re: Nokia N9 User Dictionary
 
But then how is that some users dont have any such problem? I feel it is dependent on the country variant and also may be the language in which you are typing.

@isfr21 could you plese tell me which country variant is your firmware or the product code and also which language you are using to type?

I will flash with the same firmware which you are using and try my luck. If it solves the issue, then we can be at peace..

thedead1440 2012-07-19 12:03

Re: Nokia N9 User Dictionary
 
I've used north europe, Malaysia and MEA firmwares and this issue was common in all the 3 variants...

Nad 2013-01-25 01:05

Re: Nokia N9 User Dictionary
 
Was not sure if I should bump such an old thread or make a new one about this issue but here goes:

Does anyone know if the N9's custom dictionary is stored in a file anywhere that we could possible backup and use a shell script on boot to restore it (seeing as the custom dictionary is lost on reboot)?

I have tried to add a new word in the dictionary and scan for modified files in the last minute (assuming the new word is written to a file somewhere) using terminal but have had no joy.

The VKB on the N9 is great but the fact that the custom dictionary is lost on reboot and it always suggests ridiculous words ("abducting" when making a typo on "and" for example) really knocks it down. I'm not a fan of swype as I find it too slow.

As such, is there any way to get it like Swype and WP/Android where suggested words appear above the VKB. This occurs when you try to write in Chinese for example - the Hanzi are selectable when you start to type in Pinyin.

Thanks.

Edit: /usr/share/tracker/languages/ has some stopwords.xx file
No idea what its for

/usr/share/xt9/6.2/
This directory seems to contain all the keyboards and languages and it also looks like android uses it. Maybe this is what should be written to but is not?

Have tried to reinstall xt9 meego-imengine-xt9, meego-keyboard, libxt6, lixtst6, xt-9* but still no luck.

$ gconftool -R /meegotouch/inputmethods gives the following:
Code:

correctionengine = MeegoXt9
 accessoryenabled = false
 /meegotouch/inputmethods/virtualkeyboard:
  correctwithspace = true
  layouts = [en_gb.xml]
  fuzzyselected = false
  chinesetransliteration = off
  correctionenabled = true
  wordpredictionenabled = true
  /meegotouch/inputmethods/virtualkeyboard/layouts:
  default = en_gb.xml
  /meegotouch/inputmethods/virtualkeyboard/layouts/handwriting:
    default = zh_hw_gb.xml
 /meegotouch/inputmethods/multitouch:
  enabled = true
 /meegotouch/inputmethods/correctionengine:
  zh = MeegoSogou
 /meegotouch/inputmethods/onscreen:
  active = [libmeego-keyboard.so,en_gb.xml]
  enabled = [libmeego-keyboard.so,en_gb.xml]
 /meegotouch/inputmethods/hwkeyboard:
  model = nokiarm680
  layout = us
 /meegotouch/inputmethods/plugins:
  hardware = libmeego-keyboard.so
  /meegotouch/inputmethods/plugins/chinese:
  handwritinglightcolorbackground = false
  handwritingSpeed = 500
  handwritingcharset = Hans
  languages = [zh_hw_gb.xml]
  defaultlanguage = zh_hw_gb.xml
  handwritingNextCharPrediction = true

This is with en-gb (English UK) input method enabled. When I changed correctionengine from "MeegoXt9" to "none", auto-correct (obviously) stopped working. As such, I wonder if it is possible to change the auto-correct engine.... possibly to the swype one?

Nad 2013-02-08 01:16

Re: Nokia N9 User Dictionary
 
Sorry if double posting is not allowed. Wanted to bump this as I am thinking of maybe trying to put the PR 1.1/1.2 Xt9/KB files into 1.3 and giving that a shot to see if it fixes the dictionary. (At worse it'll be brick right?).

Could someone with a working custom dictionary please upload a copy of theirs?

It can be found in /home/user/.meego-im-engines/xt9/6.2/

Not 100% sure of the legality of the following so could someone check the following:

/usr/share/xt9/6.2/
Code:

RM696-21-3_PR_001:/usr/share/xt9/6.2# ls -rlh
total 7536
-rw-r--r--    1 root    root      13.0K Aug 10  2011 xt9-vi.ldb
-rw-r--r--    1 root    root      252.3K Aug 10  2011 xt9-uk.ldb
-rw-r--r--    1 root    root      427.2K Aug 10  2011 xt9-tr.ldb
-rw-r--r--    1 root    root      83.3K Aug 10  2011 xt9-tl.ldb
-rw-r--r--    1 root    root      60.2K Aug 10  2011 xt9-th.ldb
-rw-r--r--    1 root    root      142.5K Aug 10  2011 xt9-sv.ldb
-rw-r--r--    1 root    root      241.7K Aug 10  2011 xt9-sk.ldb
-rw-r--r--    1 root    root      306.6K Aug 10  2011 xt9-ru.ldb
-rw-r--r--    1 root    root      165.3K Aug 10  2011 xt9-ro.ldb
-rw-r--r--    1 root    root      384.6K Aug 10  2011 xt9-pt.ldb
-rw-r--r--    1 root    root      254.0K Aug 10  2011 xt9-pl.ldb
-rw-r--r--    1 root    root      160.0K Aug 10  2011 xt9-no.ldb
-rw-r--r--    1 root    root      589.6K Aug 10  2011 xt9-nl.ldb
-rw-r--r--    1 root    root      87.0K Aug 10  2011 xt9-ms.ldb
-rw-r--r--    1 root    root      236.9K Aug 10  2011 xt9-lv.ldb
-rw-r--r--    1 root    root      149.0K Aug 10  2011 xt9-kk.ldb
-rw-r--r--    1 root    root      249.0K Aug 10  2011 xt9-it.ldb
-rw-r--r--    1 root    root      123.0K Aug 10  2011 xt9-id.ldb
-rw-r--r--    1 root    root      297.1K Aug 10  2011 xt9-hu.ldb
-rw-r--r--    1 root    root      159.2K Aug 10  2011 xt9-he.ldb
-rw-r--r--    1 root    root      334.5K Aug 10  2011 xt9-fr.ldb
-rw-r--r--    1 root    root      529.7K Aug 10  2011 xt9-fi.ldb
-rw-r--r--    1 root    root      158.8K Aug 10  2011 xt9-fa.ldb
-rw-r--r--    1 root    root      359.1K Aug 10  2011 xt9-et.ldb
-rw-r--r--    1 root    root      200.7K Aug 10  2011 xt9-es.ldb
-rw-r--r--    1 root    root      297.1K Aug 10  2011 xt9-en.ldb
-rw-r--r--    1 root    root      515.6K Aug 10  2011 xt9-de.ldb
-rw-r--r--    1 root    root      153.5K Aug 10  2011 xt9-da.ldb
-rw-r--r--    1 root    root      276.4K Aug 10  2011 xt9-cs.ldb
-rw-r--r--    1 root    root      67.8K Aug 10  2011 xt9-ca.ldb
-rw-r--r--    1 root    root      185.4K Aug 10  2011 xt9-ar.ldb
-rw-r--r--    1 root    root          48 Feb  7  2012 libxt9oem.dat
drwxr-xr-x    2 root    root        4.0K May 26  2012 keyboard-layouts


/usr/lib/meego-im-plugins
Code:

RM696-21-3_PR_001:/usr/lib/meego-im-plugins# ls -rlh
total 5920
-rw-r--r--    1 root    root        2.6M Mar 26  2012 libswype-keyboard.so
-rw-r--r--    1 root    root        1.5M Feb  7  2012 libmeego-keyboard.so
-rw-r--r--    1 root    root        1.7M Mar 28  2012 libmeego-handwriting-zh.so

/usr/lib/meego-imengines/drivers/words/
Code:


RM696-21-3_PR_001:/usr/lib/meego-imengines/drivers/words# ls -lrh
total 4372
-rw-r--r--    1 root    root      483.9K Feb  7  2012 libmeegoxt9.so
-rw-r--r--    1 root    root        3.8M Feb 23  2012 libmeegosogou.so

/usr/lib/
Code:

RM696-21-3_PR_001:/usr/lib# ls libXt* -lrh
-rw-r--r--    1 root    root      18.4K Nov 29  2010 libXtst.so.6.1.0
lrwxrwxrwx    1 root    root          16 May 26  2012 libXtst.so.6 -> libXtst.so.6.1.0

Alternatively, can the firmware files be extracted so I could have a gander myself?

Thanks.

Nad 2013-05-17 18:50

Re: Nokia N9 User Dictionary
 
Been messing around with gconf and unfortunately, the swype plugin calls its dictionary from within itself, not like MeegoXt9 or MeegoSogou.

Could anyone with a working dictionary please upload a copy of:
/home/user/.meego-im-engines/xt9/6.2/personal.dat

for me to have a go with please? This is the ONE issue that drives me crazy with my N9 and I really don't know the problem is - have spent a fair bit of time in terminal but to no avail ;/

Nad 2013-06-28 17:00

Re: Nokia N9 User Dictionary
 
Bump.

Could someone with a working dictionary please tell me their variant so I could try and flash that?

Thanks.

death_jax 2013-06-28 18:07

Re: Nokia N9 User Dictionary
 
Quote:

Originally Posted by Nad (Post 1344407)
Been messing around with gconf and unfortunately, the swype plugin calls its dictionary from within itself, not like MeegoXt9 or MeegoSogou.

Could anyone with a working dictionary please upload a copy of:
/home/user/.meego-im-engines/xt9/6.2/personal.dat

for me to have a go with please? This is the ONE issue that drives me crazy with my N9 and I really don't know the problem is - have spent a fair bit of time in terminal but to no avail ;/

I haven't file nor in /home/user/.meego-im-engines/xt9/6.2/ nor in /home/user/.meego-im-engines/sogou/1.1.3/

Of which dictionary are you talking about?

Nad 2013-06-29 11:49

Re: Nokia N9 User Dictionary
 
Hmm, people said that the dictionary is stored in them directories, atleast that was the case in PR 1.0/1.1?

I am talking about the dictionary for the Harmattan virtual keyboard (not swype).

Does your VKB keep words you have manually added to it following reboot? If so, could you please tell me what firmware variant you have installed? (If stock, its the product code written on your sim tray).

I have tried to reinstall all xt9 languages (apt-get install --reinstall xt9-*) and even dumped what I think is the ram using dd but that didn't have any new words that I added to the dictionary in it (it did have all my accounts usernames and passwords in plaintext and some emails when using a hex editor though o0o)

death_jax 2013-06-29 12:39

Re: Nokia N9 User Dictionary
 
Quote:

Originally Posted by Nad (Post 1355543)
Hmm, people said that the dictionary is stored in them directories, atleast that was the case in PR 1.0/1.1?

I am talking about the dictionary for the Harmattan virtual keyboard (not swype).

Does your VKB keep words you have manually added to it following reboot? If so, could you please tell me what firmware variant you have installed? (If stock, its the product code written on your sim tray).

I have tried to reinstall all xt9 languages (apt-get install --reinstall xt9-*) and even dumped what I think is the ram using dd but that didn't have any new words that I added to the dictionary in it (it did have all my accounts usernames and passwords in plaintext and some emails when using a hex editor though o0o)

Yes, time ago I downloaded, from Navifirm, the correct variant of the firmware (PR 1.3), reflecting the Product Code that is written in SIMcard tray. However yes, after reboot still there are words for both single char and swype writing mode. but I haven't the files that you described.

Nad 2013-06-29 13:48

Re: Nokia N9 User Dictionary
 
Hmm, it must have changed.could you please tell me your variant so i could try and flash that? i have tried North Europe 1, UK and Malaysia - none of which work!!

edit: have tried a few 001 variants and even a 005 variant. None of them seem to store words following reboot ;/

HelloEverybody 2013-09-16 04:22

Re: Nokia N9 User Dictionary
 
Any luck with this? Any particular product variant firmware free of this issue? Would REALLY love to fix the user dictionary being deleted on reboot problem......

Nad 2013-09-25 21:07

Re: Nokia N9 User Dictionary
 
Quote:

Originally Posted by HelloEverybody (Post 1374453)
Any luck with this? Any particular product variant firmware free of this issue? Would REALLY love to fix the user dictionary being deleted on reboot problem......

Disabling 'Insert with space key' has been the closest to a manageable keyboard I have achieved...


All times are GMT. The time now is 22:42.

vBulletin® Version 3.8.8