maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   Remove previously typed words from suggestion list? (https://talk.maemo.org/showthread.php?t=37608)

dark335i 2009-12-18 01:06

Remove previously typed words from suggestion list?
 
When i start typing my phone shows me what it thinks the word will be. How do i remove some of the previous words it remembers?! :confused:Thanks in advance!!

dark335i 2009-12-18 01:39

Re: Remove previously typed words from suggestion list?
 
anyone know?

sjgadsby 2009-12-18 03:19

Re: Remove previously typed words from suggestion list?
 
Quote:

Originally Posted by dark335i (Post 432768)
How do i remove some of the previous words it remembers?!

In previous Maemo versions, I think it was possible to tap-and-hold on a word completion suggestion in order to display a context menu that allowed it to be forgotten. I've always disabled word completion though, so I'm not certain.

In any case, that doesn't seem to work in Maemo 5.

The best I can tell you is the files that track and store word completion suggestions appear to be:
  • /home/user/.osso/dictionaries/.personal.dictionary
  • /home/user/.osso/dictionaries/.used.dictionary

dark335i 2009-12-18 03:38

Re: Remove previously typed words from suggestion list?
 
Quote:

Originally Posted by sjgadsby (Post 432856)
In previous Maemo versions, I think it was possible to tap-and-hold on a word completion suggestion in order to display a context menu that allowed it to be forgotten. I've always disabled word completion though, so I'm not certain.

In any case, that doesn't seem to work in Maemo 5.

The best I can tell you is the files that track and store word completion suggestions appear to be:
  • /home/user/.osso/dictionaries/.personal.dictionary
  • /home/user/.osso/dictionaries/.used.dictionary

I tried to hold the stylus over the word completion thing when it came up but nothing came up. Can someone tell me how to access:
[*]/home/user/.osso/dictionaries/.personal.dictionary
[*]/home/user/.osso/dictionaries/.used.

sjgadsby 2009-12-18 04:23

Re: Remove previously typed words from suggestion list?
 
Quote:

Originally Posted by dark335i (Post 432866)
Can someone tell me how to access:
  • /home/user/.osso/dictionaries/.personal.dictionary
  • /home/user/.osso/dictionaries/.used.

You'd need to launch "X Terminal" and enter:
cd .osso/dictionaries

Then, you'd see the files are there by typing:
ls -a

The .personal.dictionary is a binary file though. I haven't investigated its format, but it wouldn't be a simple matter to edit it.

The other file, .used.dictionary, is a text file, but I don't think editing it would help you toward your goal.

dark335i 2009-12-18 07:21

Re: Remove previously typed words from suggestion list?
 
i tried it but i dont really understand how to work it, is it like python? is there anyway to achieve my goal or probably not? i'll try calling Nokia tomorrow morning. thanks for the help.

RevdKathy 2009-12-18 08:21

Re: Remove previously typed words from suggestion list?
 
If someone can come up with a tidy way of doing this, i will email a lifetime supply of jaffacakes. Or failing that, a huge amount of thanks.

Could something be created?

pelago 2009-12-18 13:31

Re: Remove previously typed words from suggestion list?
 
Also see thread http://talk.maemo.org/showthread.php?t=36986.

pelago 2009-12-18 13:59

Re: Remove previously typed words from suggestion list?
 
Does anyone know where the hildon-input-method source is? I'm wondering if the binary file format for the .used.dictionary and .personal.dictionary files can be worked out.

sjgadsby 2009-12-18 14:15

Re: Remove previously typed words from suggestion list?
 
Quote:

Originally Posted by pelago (Post 433371)
Does anyone know where the hildon-input-method source is?

I haven't dug into the code to see what's there, but one or more of the following may help:

pelago 2009-12-18 15:06

Re: Remove previously typed words from suggestion list?
 
Thanks. Shame about the stage.maemo.org certificate expiry (please vote for bug 5551). I couldn't find anything immediately helpful there. It looks like the word completion stuff might be in a separate module, which may or may not be open source. Anyone know?

pelago 2009-12-18 16:01

Re: Remove previously typed words from suggestion list?
 
A bit of searching makes me believe the word completion stuff is in hildon-input-method-widgets, which I believe is closed source unless anyone knows differently, which is a shame.

sswam 2010-07-24 16:44

Re: Remove previously typed words from suggestion list?
 
I had various smutty words in my prediction file, which could be embarassing for me. I found the file using "strings" etc, if you just delete it it gets created afresh next time you type an unusual word which is good.

so yeah to get rid of all the pr0ntastic / personal words in your user dictionary file, use th Xterm and copy-paste this:

rm /home/user/.osso/dictionaries/.personal.dictionary

you may also want to check / remove the other file, to check:

strings /home/user/.osso/dictionaries/.used.dictionary | less

I didn't delete this file it only had a few recent non smutty words in it for me.

You may want to turn off word completion while typing uncacheworthy words, I suppose that would stop them getting stored.

JonWW 2010-07-24 17:25

Re: Remove previously typed words from suggestion list?
 
Or install "Auto-Complete Editor" to easily flag all bad spellings to delete


All times are GMT. The time now is 00:37.

vBulletin® Version 3.8.8