Spell check : where is the personal dictionary stored ?

Forums » Opera for Windows/Mac/Linux » Opera browser

You need to be logged in to post in the forums. If you do not have an account, please sign up first.

Go to last post

24. April 2010, 10:14:42

Hibou57

Opera's as nice as an opera

Posts: 689

Spell check : where is the personal dictionary stored ?

Hello,

Where is the personal dictionary for spell-check with Opera ?

Opera uses Aspell, so I've searched the Aspell documentation and both the global and personal configuration directories for Apsell, but found nothing. The fr.pws file which is supposed to contains the words I've added to the personal dictionary, contains no entry at all.

I have to correct some errors I've introduced in this file, so I have to edit it manually.

By the way, is there a way to tell Aspell used with Opera, to use “ ’ ” instead of “ ' ” for the french apostrophe ?

There as well, I've searched the Aspell documentation, without success.

Have a nice day.

For publication tool chain (for the web and else) : Semantic online editor, Lasidoré (XML based) - prerelease - requires at least Opera 9.5 to work nice

Google is not a synonym of Search engine : boys and girls, have a look at Exalead and WolframAlpha

24. April 2010, 11:31:42

Hibou57

Opera's as nice as an opera

Posts: 689

Oh, I see, it seems this is not Aspell anymore, as claims Wikipedia : Inline Spell-Checker.

Previous versions of Opera contained an on-demand spell-checker based on Aspell. Opera 10 introduced an inline spell checker based on Hunspell.



I did not see it in Opera's documentations.

So I will have a look at Hunspell now.

What does “inline” stands for in this context ? Embeded ? Integrated ?
For publication tool chain (for the web and else) : Semantic online editor, Lasidoré (XML based) - prerelease - requires at least Opera 9.5 to work nice

Google is not a synonym of Search engine : boys and girls, have a look at Exalead and WolframAlpha

24. April 2010, 11:53:41

Hibou57

Opera's as nice as an opera

Posts: 689

OK, the dictionaries for Hunspell are stored in the Opera folder “%UserProfile%\Application Data\Opera\Opera\dictionaries” and are *.oow files.

The “oo” is probably because it seems OpenOffice.org use the same Hunspell (Mac OS also it seems by the way).

I could fix my personal dictionaries for both English and french. But now, how about to tell Hunspell to use the good apostrophe with french, that is “ ’ ” and not “ ' ” ?
For publication tool chain (for the web and else) : Semantic online editor, Lasidoré (XML based) - prerelease - requires at least Opera 9.5 to work nice

Google is not a synonym of Search engine : boys and girls, have a look at Exalead and WolframAlpha

24. April 2010, 14:41:44

Pesala

Reclining Buddha

Posts: 27328

Je pourrais fixer mes dictionnaires personnels pour l’anglais et le Français. Mais maintenant, que diriez-vous dire Hunspell d’employer la bonne apostrophe avec le Français

Je pourrais fixer mes dictionnaires personnels pour l'anglais et le Français. Mais maintenant, que diriez-vous dire Hunspell d'employer la bonne apostrophe avec le Français

I am very surprised to discover this limitation, which I haven’t seen reported before. In English, the spell-check doesn’t support the smart quote apostrophe. This looks like a bug, as there is no problem with either English or French if using the Hunspell dictionaries in OpenOffice.

Inline spell-checking underlines spelling errors as you type. In earlier versions of Opera, Aspell was used, which uses dialogue box checking. Many users requested inline spell-check like Firefox, but it is actually less efficient, less accurate, and has some other problems, such as the bug you just reported.

Potentially, Hunspell could be better than Aspell as it supports Unicode, but it still needs some work. A dialogue check option as in OpenOffice Writer would be better than inline checking.

Skins Tips Buttons Backup Security User Scripts Language Forums
Browser JS Changelogs Opera Next Dragonfly Bugs FTP
My Website Opera Review My Fonts IrfanView Search Downloads
Opera 11.64 on Windows 7 64-bit • AMD A10-6800K, 8 Gbyte RAM specs idea
Rules of Conduct and Posting RulesPlease Don't ShoutEditing PostsOpera Config Links

24. April 2010, 18:43:33

Hibou57

Opera's as nice as an opera

Posts: 689

Originally posted by Pesala:


I am very surprised to discover this limitation, which I haven’t seen reported before. In English, the spell-check doesn’t support the smart quote apostrophe. This looks like a bug, as there is no problem with either English or French if using the Hunspell dictionaries in OpenOffice.


As I don't use OpenOffice, I can't tell anything about it. However, I've uncompressed the fr.zip archive in the “dictionnaries” folder, and somewhat modified both fr.dic and fr.aff so that it now use “ ’ ” instead of “ ' ” for french (this was done with care, as the “ ' ” also have a special meaning in the dictionary, one should not simply turn all occurrence of the character to the other).

I’m not sure the “ ’ ” is valid as an apostrophe in english, so I did not touch this one.

As the Hunspell dictionnary is using the “ ' ” apostrophe, I suppose OpenOffice is making a special handling and do the convertion on its own side.

So this would not be an Opera bug, and mostly an Opera missing feature.

If someones are interested in this modified french dictionnary, I may think about providing it for download… just tell me.

Originally posted by Pesala:

Inline spell-checking underlines spelling errors as you type. In earlier versions of Opera, Aspell was used, which uses dialogue box checking. Many users requested inline spell-check like Firefox, but it is actually less efficient, less accurate, and has some other problems, such as the bug you just reported.

Potentially, Hunspell could be better than Aspell as it supports Unicode, but it still needs some work. A dialogue check option as in OpenOffice Writer would be better than inline checking.


I’ve noticed some bugs, real bugs theses ones : sometimes, erroneous words are not underlined, and sometimes Opera crashes after I've switched from french to English or the opposite.
For publication tool chain (for the web and else) : Semantic online editor, Lasidoré (XML based) - prerelease - requires at least Opera 9.5 to work nice

Google is not a synonym of Search engine : boys and girls, have a look at Exalead and WolframAlpha

Forums » Opera for Windows/Mac/Linux » Opera browser