![]() |
Re: [ANNOUNCE] Auto-Complete Editor
Version 0.0.4 has just been uploaded to the autobuilder, so should be available shortly. It now handles multiple dictionaries in the file, offering a drop-box to select which dictionary to edit (save/revert work on all dictionaries, other operations are on the currently viewed dictionary). The dictionary names are looked up from a static mapping (I can't find these defined anywhere), so there may be some missing (I probably should add error handling for that). There may also still be an issue with character set encoding - I'm using the system encoding to do the translation, which should work but it's not an easy one to test.
|
Re: [ANNOUNCE] Auto-Complete Editor
alright! the updated version installed I go to the menu and start the application. No crush and no error messages - that's good.
under dictionaries listbox there are 3 of them for me: En (UK), En (US) and Ru First of all, I'd like to say that cyrillic encoding still doesn't work. Though instead of accented latin vowels (like it was with a new dict.file before the upgrade) I now can see no text at all (empty fields for dictionary items) - I believe they use cp1251 (win-1251) which is (along with utf-8) the most widely used encoding for Russian. I would be able to tell more precisely tomorrow. Editing En(UK) dictionary worked great for me - adding a new word and saving changes made this word instantly available for autocompletion. Also, I noticed that all the dictionary items in En(US) doesn't appear in autocompletion and thus is useless for me now. Well, that's it for now :) |
Re: [ANNOUNCE] Auto-Complete Editor
Quote:
I'm sorry to hear that the cyrillic still isn't working. I'll have to dig further into that one - getting it to display properly isn't a problem, but the issue is figuring out when to do so. The encoding will (presumably) depend on the language selected for the interface, rather than the dictionary language itself (I can quite happily add english words to the russian auto-complete dictionary), so I need to see how I can convert that to a character set to use for decoding. |
Re: [ANNOUNCE] Auto-Complete Editor
Quote:
Really nice application! One feature request: Save the last dictionary for the next start. |
Re: [ANNOUNCE] Auto-Complete Editor
Version 0.0.5 & 0.0.6 uploaded now (0.0.6 just changes the location used for the saved settings). Changes are:
So Oleg, can you give this a try. It works fine with your dictionaries in my tests, so unless the system is using non-default locale settings to write the dictionary, it should now work for you. |
Re: [ANNOUNCE] Auto-Complete Editor
Quote:
|
Re: [ANNOUNCE] Auto-Complete Editor
any screenshots of this Auto-Complete Editor in use ?
is there a GUI ? or CLI only ? |
Re: [ANNOUNCE] Auto-Complete Editor
@optional106: http://www.meego.de/images/stories/s...leteeditor.png
@Rob1n: I cannot see umlauts (like δόφί) as well here. Another feature request: Add an "undo" button or a security question for the delete buttons. |
Re: [ANNOUNCE] Auto-Complete Editor
Quote:
Code:
LC_ALL=ru_RU.KOI8-R python /opt/AutoCompleteEditor/AutoCompleteEditor.py |
Re: [ANNOUNCE] Auto-Complete Editor
Quote:
As for an "undo" button - I guess that's possible. You can always use the "revert changes" button, but "undo" might be useful for reverting single changes without rolling back everything else. EDIT: You're actually running the old version there, so can you also check whether the umlauts work in the current release? |
Re: [ANNOUNCE] Auto-Complete Editor
Yeah I am sorry. That must have been a problem with an older version. Now it works, great!
Instead of undo you could also add a security question for the deletion dialogues if you want to save space. |
Re: [ANNOUNCE] Auto-Complete Editor
Quote:
What I did was - replacing the file with original one from backup - "killall hildon-input-method" - "LC_ALL=ru_RU.cp1251 python /opt/AutoCompleteEditor/AutoCompleteEditor.py" and it worked :) So, I had to change it for cp1251 as KOI8-R didn't work (I can't remember any app using KOI8-R since DOS v.5) Thanks, Robin! |
Re: [ANNOUNCE] Auto-Complete Editor
Quote:
Quote:
|
Re: [ANNOUNCE] Auto-Complete Editor
Quote:
I tried to open the file from my PC and when I use KOI8-R it does show cyrillic characters but they make no sense (encoding is broken), with cp1251 it works and I can read it. |
Re: [ANNOUNCE] Auto-Complete Editor
What a fantastically useful app. It was getting to the point where i was thinking i'd just have to figure out how to delete the whole custom dictionary when i bumped into this thread...
Only thing that i can think of that would improve it is to have it automatically scroll down by one entry each time one is selected (probably difficult requiring change of Qt widget) OR having a continuous "tap to delete" mode. I've got a lot of garbage in the dictionary... Post when you push it to Testing and i'll go through QA and vote. This ought to be in Extras ASAP. :) |
Re: [ANNOUNCE] Auto-Complete Editor
Quote:
|
Re: [ANNOUNCE] Auto-Complete Editor
Quote:
Quote:
|
Re: [ANNOUNCE] Auto-Complete Editor
Quote:
Once I copied the whole /home/user-folder to my SD-Card, so it should be there anywhere... Thanks! Bye MPW |
Re: [ANNOUNCE] Auto-Complete Editor
Quote:
if you have copied the whole user folder it must be under (/home/)user/.osso/dictionaries/.personal.dictionary |
Re: [ANNOUNCE] Auto-Complete Editor
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" |
Re: [ANNOUNCE] Auto-Complete Editor
Quote:
"cp /media/mmc1/<path-to-backup-folder>/.osso/dictionaries/.personal.dictionary /home/user/.osso/dictionaries/.personal.dictionary" |
Re: [ANNOUNCE] Auto-Complete Editor
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:
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. |
Re: [ANNOUNCE] Auto-Complete Editor
Quote:
checked 0.0.7 - works fine for me! |
Re: [ANNOUNCE] Auto-Complete Editor
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? |
Re: [ANNOUNCE] Auto-Complete Editor
Quote:
|
Re: [ANNOUNCE] Auto-Complete Editor
Quote:
|
Re: [ANNOUNCE] Auto-Complete Editor
Quote:
|
Re: [ANNOUNCE] Auto-Complete Editor
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. :D |
Re: [ANNOUNCE] Auto-Complete Editor
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. |
Re: [ANNOUNCE] Auto-Complete Editor
|
Re: [ANNOUNCE] Auto-Complete Editor
Just tried the app, UI is great (though maybe add a type-to-search function as well?). Very useful idea because I think everyone has dictionaries riddled with typo's.
So I mark everything I'd like to delete, click delete selected and hit the save changes button. It say it's saved the file. Then I, for example, begin a new SMS. The SMS UI crashes with an error saying "internal error" as soon as I type one letter (which is when the file is read I suppose). Then I reopen the SMS UI, and the words still pop up. So I tried rebooting, but the words are still there. Strangely enough, the words don't occur in the list in the app anymore. So what happend? Perhaps when I type the first letter it crashes because it does not have a valid file, and it restores the old one or something? This is with p1.2, set to Dutch. I tried with the dual dictionary setting and without, same result. In short, great idea but unfortunately it does not work for me. |
Re: [ANNOUNCE] Auto-Complete Editor
I don't know if this is the right app, I'm just putting it out there.
Ever since I modified the dictionary, hildon-input-method randomly crashes, pegging the CPU. Can I reset auto-complete to zero, for testing purposes? Can I just use rm on that file up there? Or should I copy it over and replace? |
Re: [ANNOUNCE] Auto-Complete Editor
Quote:
If you have the time, could you please follow the instructions here and send me a copy of a dictionary file with a few entries? |
Re: [ANNOUNCE] Auto-Complete Editor
Quote:
|
Re: [ANNOUNCE] Auto-Complete Editor
I'll try to locate the issue and, should it be related to the dictionary, I'll report back with a copy. Just wanted to check if this is a known problem.
|
Re: [ANNOUNCE] Auto-Complete Editor
Love this app! :) One small request:
Would it be possible to tell from the dictionary where new adds started? I would love to be able to look at a list of just new words it's learned since the last time I used the app. That would make it so much easier to work with. I find often about 70% or more of the new words it's learned are typos, but that's only about 5% of the total words. If I could just see the new words I could select them all, then unselect the few I want to keep. :) |
Re: [ANNOUNCE] Auto-Complete Editor
Quote:
|
Re: [ANNOUNCE] Auto-Complete Editor
Quote:
|
Re: [ANNOUNCE] Auto-Complete Editor
Can you add multi language support for it? :) I am using tr_CY (turkish-l10n community pkg) and app doesn't even start because of it. It should revert back to English, instead of closing itself.
|
Re: [ANNOUNCE] Auto-Complete Editor
Quote:
|
All times are GMT. The time now is 08:18. |
vBulletin® Version 3.8.8