Notices


Reply
Thread Tools
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#61
Originally Posted by Oleg View Post
try this command (insert the path to your backup folder)
"cp /media/mmc1/<path-to-backup-folder>/.osso/dictionaries/.personal.dictionary /home/user/.osso/dictionaries/.personal.dictionary/.personal.dictionary"
You've got an extra .personal.dictionary there! Should be:
"cp /media/mmc1/<path-to-backup-folder>/.osso/dictionaries/.personal.dictionary /home/user/.osso/dictionaries/.personal.dictionary"
 
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#62
Version 0.0.7 has just been pushed to the autobuilder. This has a hardcoded mapping list between locale and encoding used (currently just enforces cp1251 for ru_RU). I've also added in a settings dialog, allowing selection of the delete mode (this is saved between sessions). There's 3 modes defined:
  • Normal - The old method allowing multi-select, then delete on button press
  • Confirm - The same as Normal, but requires confirmation of the deletion
  • OnClick - This automatically deletes entries as soon as they're clicked

I think that sorts out all the bugs & feature requests I've had so far, so, barring any new issues, I'll look to push this version to testing early next week.
 

The Following 3 Users Say Thank You to Rob1n For This Useful Post:
Posts: 39 | Thanked: 12 times | Joined on Feb 2010 @ Russia, Moscow
#63
Originally Posted by Rob1n View Post
You've got an extra .personal.dictionary there! Should be:
"cp /media/mmc1/<path-to-backup-folder>/.osso/dictionaries/.personal.dictionary /home/user/.osso/dictionaries/.personal.dictionary"
my fault

checked 0.0.7 - works fine for me!
 

The Following User Says Thank You to Oleg For This Useful Post:
Flandry's Avatar
Posts: 1,559 | Thanked: 1,786 times | Joined on Oct 2009 @ Boston
#64
The OnClick option was a nice touch. My dictionary is now cleaned up thanks to this. It's amazing how many variations on contractions of "you're" one can type by accident. :P

Do you know if there's a mechanism in the autocomplete to blacklist words/patterns?
__________________

Unofficial PR1.3/Meego 1.1 FAQ

***
Classic example of arbitrary Nokia decision making. Couldn't just fallback to the no brainer of tagging with lat/lon if network isn't accessible, could you Nokia?
MAME: an arcade in your pocket
Accelemymote: make your accelerometer more joy-ful
 
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#65
Originally Posted by Flandry View Post
The OnClick option was a nice touch. My dictionary is now cleaned up thanks to this. It's amazing how many variations on contractions of "you're" one can type by accident. :P

Do you know if there's a mechanism in the autocomplete to blacklist words/patterns?
I don't think so, no - the file format certainly doesn't suggest any way to do so. You'd need to look at the (closed source) auto-complete implementation to know for sure though. An alternative would be to run a scheduled job to remove any terms matching a given list from the auto-complete dictionary. That should be very straightforward to do - ACE_file.py handles reading/writing the dictionary file, so you'd just need to compare the resulting word list to a blacklist, and remove any offending entries.
 

The Following 3 Users Say Thank You to Rob1n For This Useful Post:
pelago's Avatar
Posts: 2,121 | Thanked: 1,540 times | Joined on Mar 2008 @ Oxford, UK
#66
Originally Posted by Rob1n View Post
An alternative would be to run a scheduled job to remove any terms matching a given list from the auto-complete dictionary.
Are there any dbus notifications when an entry is added to the auto-complete dictionary, I wonder, to save polling.
 
Posts: 39 | Thanked: 12 times | Joined on Feb 2010 @ Russia, Moscow
#67
Originally Posted by Rob1n View Post
I don't think so, no - the file format certainly doesn't suggest any way to do so. You'd need to look at the (closed source) auto-complete implementation to know for sure though. An alternative would be to run a scheduled job to remove any terms matching a given list from the auto-complete dictionary. That should be very straightforward to do - ACE_file.py handles reading/writing the dictionary file, so you'd just need to compare the resulting word list to a blacklist, and remove any offending entries.
I'd love the x-term command to schedule such job. Having blacklist would be great. Actually having a button "Add to blacklist" in Auto-Complete Editor would be even greater (just a suggestion)
 
Flandry's Avatar
Posts: 1,559 | Thanked: 1,786 times | Joined on Oct 2009 @ Boston
#68
Fourth delete mode: delete and blacklist.

It's a lot more work but storing such words in a separate list and setting up a cron-ish job to purge from dict once a day would be awesome if you're feeling generous with your time.

I'll be the first to admit there are probably more important problems out there to solve.
__________________

Unofficial PR1.3/Meego 1.1 FAQ

***
Classic example of arbitrary Nokia decision making. Couldn't just fallback to the no brainer of tagging with lat/lon if network isn't accessible, could you Nokia?
MAME: an arcade in your pocket
Accelemymote: make your accelerometer more joy-ful
 
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#69
I'll have a look at this next week, once the current version's into -testing. It should be easy enough to add command-line options to auto-remove entries from a blacklist. Then an integrated blacklist editor would allow interaction with the blacklist similarly to with the dictionary.

I'm not sure dbus would be too useful for this - there's a lot of race conditions and caching issues involved with trying to change the file at the same time as the system is.
 

The Following 2 Users Say Thank You to Rob1n For This Useful Post:
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#70
As no-one's posted any new bugs over the weekend, I've now promoted 0.0.7 to extras-testing. Please give it a test and vote.

I'll hopefully be able to start working on the blacklist functionality tomorrow.
 
Reply


 
Forum Jump


All times are GMT. The time now is 10:24.