Notices


Reply
Thread Tools
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#41
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.
 

The Following 4 Users Say Thank You to Rob1n For This Useful Post:
Posts: 39 | Thanked: 12 times | Joined on Feb 2010 @ Russia, Moscow
#42
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
 
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#43
Originally Posted by Oleg View Post
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
The dictionaries available for autocompletion are those selected in the "Text input" part of the Settings app. You only have a maximum of 2 available at one time, so you're presumably set to use Ru and En(Uk). You must have had En(Us) selected at one time to end up with words in the dictionary though.

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.
 
Posts: 729 | Thanked: 155 times | Joined on Dec 2009
#44
Originally Posted by Rob1n View Post
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.
Thanks for the update, not it works even with my new and complicated dictionary!
Really nice application!
One feature request: Save the last dictionary for the next start.
 
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#45
Version 0.0.5 & 0.0.6 uploaded now (0.0.6 just changes the location used for the saved settings). Changes are:
  • Added message box to alert user to unidentified dictionaries
  • Limited error messages to two levels of traceback
  • Save last viewed dictionary
  • Changed to use python for locale conversion as Qt was not working

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.
 

The Following 2 Users Say Thank You to Rob1n For This Useful Post:
Posts: 39 | Thanked: 12 times | Joined on Feb 2010 @ Russia, Moscow
#46
Originally Posted by Rob1n View Post
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.
As for the russian dictionary 0.0.6 doesn't seem to change anything since 0.0.4 on my device (seemingly blank fields where russian words should be)
 
Posts: 31 | Thanked: 7 times | Joined on Apr 2010
#47
any screenshots of this Auto-Complete Editor in use ?
is there a GUI ? or CLI only ?
 
Posts: 729 | Thanked: 155 times | Joined on Dec 2009
#48
@optional106:

@Rob1n: I cannot see umlauts (like δόφί) as well here.
Another feature request: Add an "undo" button or a security question for the delete buttons.

Last edited by DaSilva; 2010-06-16 at 05:58.
 

The Following 2 Users Say Thank You to DaSilva For This Useful Post:
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#49
Originally Posted by Oleg View Post
As for the russian dictionary 0.0.6 doesn't seem to change anything since 0.0.4 on my device (seemingly blank fields where russian words should be)
Can you try running from X Terminal:
Code:
LC_ALL=ru_RU.KOI8-R python /opt/AutoCompleteEditor/AutoCompleteEditor.py
Also, if you've saved with the old version, that would've corrupted the dictionary file.
 

The Following User Says Thank You to Rob1n For This Useful Post:
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#50
Originally Posted by DaSilva View Post
@Rob1n: I cannot see umlauts (like δόφί) as well here.
Another feature request: Add an "undo" button or a security question for the delete buttons.
umlauts show up fine here - are these in terms added since the latest version, or prior to that? The previous versions might have saved them incorrectly.

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?
 
Reply


 
Forum Jump


All times are GMT. The time now is 12:23.