views:

1313

answers:

4

I am looking for an open source Java spell checking library which has dictionaries for at least the following languages: French, German, Spanish, and Czech. Any suggestion?

+3  A: 

You should check out Jazzy its used in some high profile java applications. Two problems with it. 1. has not been updated since 2005. 2. only has an english dictionairy on there sourceforge page. There are some third party dictionaries floating around. I had one for french, last time I used jazzy.

Infamy
@Infamy Jazzy looks like the best candidate. For dictionaries, the OpenOffice project has a number of them (http://wiki.services.openoffice.org/wiki/Dictionaries) and they can be converted to the Jazzy word list format with JazzyDicts (https://sourceforge.net/projects/jazzydicts/).
Alessandro Vernet
+1  A: 

Hunspell looks like it could be of use. It is written in C++ but a java interface according to the home page. Tri-licensed under GPL, LGPL and MPL so you shouldn't have a problem with it.

Evan
Good suggestion. Using a C++ library from Java will just add too much complexity for me, as I'd need to compile it for a number of different platform. But that definitely looks like a well-rounded library.
Alessandro Vernet
A: 

Have a look at JaSpell. It comes with an internal spell checking engine or you can use aspell. Since the source is available, you can also attach aspell-like engines easily (like Hunspell).

It comes with filters for TeX and XML and it has support for suggestion engines like keyboard distance, common misspellings (where you can define words and their replacements for common typos), Levenshtein distance, and phonetic distance.

Aaron Digulla
A: 

Check out JSpell by Page Scholar, http://www.jspell.com.

Big Red Dog