2

I am looking for free and open source spell checking libraries (could check whether spelling is correct for a given string, and any suggested corrections for a mis-spelled string), which could be easily integrated into Java program on Linux. English language spell checking is a must requirement,spell checking for other languages is a better to have requirement.

Any suggestions?

BTW: libraries for C/C++ is also ok.

Wolfgang Fahl
  • 13,612
  • 9
  • 84
  • 163
George2
  • 43,543
  • 109
  • 314
  • 450
  • 1
    http://stackoverflow.com/questions/559510/looking-for-java-spell-checker-library - It has been answered – Vinod R Feb 27 '11 at 06:39
  • Does this answer your question? [Looking for Java spell checker library](https://stackoverflow.com/questions/559510/looking-for-java-spell-checker-library) – Dave Jarvis Jul 10 '20 at 02:48

1 Answers1

4

GNU Aspell is a LGPL spelling library that you can use but it's implemented in C++. Although I haven't used it there's a Java library called Jazzy that aims to be a Java re-implementation of Aspell. It's a fairly old project but it looks like it still works.

Edit:

Just discovered that Hunspell is a better project for spell checking. It powers Open Office.org, Firefox and Google Chrome. There's also a project with that supplies JNA wrappers so you can use it in Java.

wm_eddie
  • 3,918
  • 20
  • 22