Home > FLOSS, Hunspell4Eclipse, news, open source, oss > Eclipse Spell Checker

Eclipse Spell Checker

No Gravatar

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:

Hunspell4Eclipse

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.

Share
  1. András
    November 16th, 2009 at 17:16 | #1

    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]

  2. November 16th, 2009 at 21:18 | #2

    @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…

  3. November 16th, 2009 at 22:52 | #3

    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… :-/

  4. András
    November 16th, 2009 at 23:40 | #4

    Lóránd Somogyi :
    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 :)

  5. November 16th, 2009 at 23:59 | #5

    András :

    Lóránd Somogyi :
    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.

  6. Mauro
    January 11th, 2010 at 17:39 | #6

    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

  7. January 12th, 2010 at 21:46 | #7

    @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.

  8. Mauro
    January 15th, 2010 at 11:05 | #8

    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?

  9. January 16th, 2010 at 14:44 | #9

    New beta version (0.8.2) released! Tested under Ubuntu and Windows XP.
    Update site back to normal.

  10. January 17th, 2010 at 20:57 | #10

    @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:

    1. http://eclipsesource.com/blogs/2008/10/03/tip-spellchecking-in-eclipse/
    2. http://blog.ankursharma.org/2009/08/adding-spellchecking-to-custom-editors_19.html
  11. Mauro
    May 11th, 2010 at 09:02 | #11

    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

  12. Tamás
    March 2nd, 2011 at 17:04 | #12

    Nice :) ! Hungarian people talking english about a hungarian spell checker plugin … lol.
    Very well done anyway! Thx for the good job Lóránd!

    • lorands
      March 2nd, 2011 at 17:33 | #13

      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.

  1. No trackbacks yet.