M
M
Mingun2019-09-29 15:16:49
Java
Mingun, 2019-09-29 15:16:49

Which modern Java spell checker library to use?

For some reason, a Google search does not give a clear answer. It is not clear what is now modern and what is obsolete technology.
There is a TlkEdit-EE project that uses the JMySpell library that this project carries around with it. I want to replace it with the normal supported version from the maven repository, but surprisingly, I can't find if it's even in any repository. The only google link points to https://mvnrepository.com/artifact/org.omegat/jmys... but the repository link on this site is not a maven repository ( .indexthere is no folder), so this end again leads nowhere.
There is also a project https://github.com/1and1/jmyspell,but judging by the last commit in 2014 it looks like it's dead. In addition, apparently this is not even an official repository of the library and there is still no indication of where to look for it in maven.
Actually, therefore, there was a doubt that in 2019 you need to use JMySpell. Probably there are other, more up-to-date libraries? If yes, please advise. From the requirements:

  1. The main one is a license compatible with open source projects (in particular, with TlkEdit-EE -- GPL3 and NearInfinity -- LGPL 2.1).
  2. Desirable -- pure-Java implementation
  3. Desirable - ease of searching and connecting dictionaries

Googling Libraries:
  1. jortho.sourceforge.net -- SourgeForge in 2019 is already thought provoking and sure -- last changelog update in 2013. I doubt it's evolving
  2. jmyspell -- where is the official site, it is not clear, the latest references lead somewhere in 2014
  3. wiki.languagetool.org/java-api seems to be the most up-to-date library. It is confusing that it is not pure-Java and there are too many dependencies, and there are dependencies for checking specific languages. Of course, you can depend on the package language-all, but it's still worrying - what if you need an unsupported language? Shouldn't a dictionary be enough? Where do you get dictionaries from?
  4. HunspellJNA -- The LanguageTool website mentions this library, but it has the latest update in 2017 and again, not pure-Java
  5. HunspellBridJ -- all similar to HunspellJNA

In addition to the questions of choosing a library, the question of dictionaries also pops up. I heard about myspell and hunspell. What else are there and which ones are more modern?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question