New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Find LibreOffice and/or Firefox dictionaries #11

Open
ffes opened this Issue Apr 15, 2013 · 1 comment

Comments

Projects
None yet
2 participants
@ffes

ffes commented Apr 15, 2013

It would be very nice if the plug-in could find the LibreOffice or Firefox dictionaries that are already installed on the pc. These products use Hunspell. I think quite some N++ users also have one of these products installed.

LibreOffice: C:\Program Files (x86)\LibreOffice 4.0\share\extensions\dict-*\

Firefox dictionaries are a bit more complex to find because the default language (Dutch in my case) comes with the browser and is in C:\Program Files (x86)\Mozilla Firefox\dictionaries, but the languages I added (like English) are in the user profile: C:\Users\Frank\AppData\Roaming\Mozilla\Firefox\Profiles\6tujqnz2.default\extensions\en-US@dictionaries.addons.mozilla.org\dictionaries
I assume Thunderbird works similar, don't know because I don't use Thunderbird.

On my old pc at home I have 32-bit XP, so here they are in the normal C:\Program Files\ directory. I don't know where the words added to the user dictionary are stored, but remember that not everybody can write in program files directories.

According to http://en.wikipedia.org/wiki/Hunspell Chrome uses Hunspell as well, but in my Chrome directory are *.bdic dictionaries. Found http://dev.chromium.org/developers/how-tos/editing-the-spell-checking-dictionaries where they say that *.bdic are their own optimized hunspell dictionaries, so they won't help your plug-in.

@Predelnik

This comment has been minimized.

Owner

Predelnik commented Apr 15, 2013

Well yes I think it would be useful. By the way, I checked out that openoffice stores dictionaries in their own .oxt format, which is basically zipped file with a lot of .aff, .dic files, not very easy to use file of that kind though).
About chrome, maybe with specification (it's open afterall) they could be used.

Btw the thing I really don't like about Hunspell is that it have very little standards, so everyone uses it as they like. Even though they have some compressed format .hzip but no one is using it and from my perspective there is no standard way of handling user dictionary so again everyone doing it as they please.

But I'll look into using of other applications dictionaries, that's for sure :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment