Eclipse Spell Checker
Eclipse has a built in spell checker. It’s based on word list files. It is just fine for languages that does not use pre- and postfixes extensively. But for languages like Hungarian, it is a no go. – I’ve tried to generate a word list of Hungarian words, but when I noticed that the word list reached 35 GB (not a typo!) I’ve canceled the process. – Just imagine Eclipse loading 35+ GB of dictionary…
In my search for a spell checker for Eclipse I found eSpell, but eSpell is also a word list based engine, so that is a no go too. I left with no choice but to create one. So here it is:
Immature. In beta stage. Lot to do. But it works…
Plans
I’m planning to provide content sensitive checking for Java and XML. Actually my plan is to create extension points for that purpose, to provide possibility for others to contribute too.
Comments please
I hope you’ll enjoy the plug-in and that you found it worthy to comment.
It sounds great, but i can install it… Could you help me?
I am using Ubuntu 9.04, Eclipse Galieo.
Install error log:
Cannot complete the install because one or more required items could not be found.
Software currently installed: Hunspell JNA Bindigs 1.1.12.200911152201 (com.lorands.hunspell4eclipse.jna.feature.feature.group 1.1.12.200911152201)
Missing requirement: Hunspell for Darwin PPC 1.1.12 (com.lorands.hunspell4eclipse.hunspelljna.darwinppc 1.1.12) requires ‘bundle com.lorands.hunspell4eclipse.hunspelljna 1.1.12′ but it could not be found
Cannot satisfy dependency:
From: Hunspell JNA Bindigs 1.1.12.200911152201 (com.lorands.hunspell4eclipse.jna.feature.feature.group 1.1.12.200911152201)
To: com.lorands.hunspell4eclipse.hunspelljna.darwinppc [1.1.12]
@András
I’m having some problems with generating the site. Shortly I provide a download, which should be dropped in the dropins folder. Stay tuned…
I’ve just uploaded a tar.gz to download section (http://code.google.com/p/hunspell4eclipse/downloads/list ). Just download, tar xzf and copy the eclipse folder into dropins/eclipse and start eclipse.
I’m still having issues with site and p2… :-/
It works great! Thanks for your effort!
ps: there is a small typo in the link you provide, there is an unnecessary bracket at the end
Thx, typo fixed.
I am having the same problems installing, but I’m under windows (vista) so Your hunspell4eclipse-8.1-beta-dropin.tar.gz “Hunspell4Eclipse 0.8.1 beta for Linux x86 dropins version” doesn’t help me
Reason for my interest is I’m writing an RCP app that includes a TextEditor and I would like to provide spelling services.
Can I use You spelling engine? If so: do You have any example code for that?
TiA
Mauro
@Mauro
I’m having some issues with the JNA Bindings and Eclipse packaging. I hope I’ll resolve it in few days.
Naturally you can use my plugin, just name the license you need. – But do not forget that this plugin uses Hunspell and JNA Bindings for Hunspell, – both licensed under LGPL and Hunspell under MPL 1.1.
Thanks.
I’m waiting for a working version for eclipse and some usage guidelines.
I do not think licensing will be a problem since I plan to release it as Open Source ASAP. Most likely it will be straight GPL. Is that a problem?
New beta version (0.8.2) released! Tested under Ubuntu and Windows XP.
Update site back to normal.
@Mauro
Hunspell4Java extends Eclipse Spell Checking mechanism. So my plugin should work out-of-box for any editor prepared for Eclipse Spell Checking. Check out these blog entries:
Hi Lóránd,
I managed to install latest version and it seems to work somewhat, but not completely.
I am using an Italian dictionary taken from OpenOffice.
At first sight I have two malfunctions:
1) it doesn't recognize truncated articles ("l'ora", "nell'urna", etc.) and flags the first part (before the aphstrophe) as error.
2) the "Spell proposal" ia always empty.
Can You divine what I'm doing wrong?
TiA
Mauro
Nice
! Hungarian people talking english about a hungarian spell checker plugin … lol.
Very well done anyway! Thx for the good job Lóránd!
Thx. But hunspell is not only for Hungarian spell checking… as you might expect.
The author is Hungarian and probably the first dictionary was Hungarian, but now-a-days it's used by lots of software with lots of dictionaries, just check OpenOffice/LibreOffice…
Anyhow this plugin is a bit dead right now, if anybody has some spare time might join in.