Posted separately from my comment on [feature-requests:#970] in order to serve as a reminder.
LanguageTool 3.2 uses a version of lucene-gosen-ipadic that is incompatible with Lucene 5 (discussion). In trunk (r8461) I have manually replaced their JAR with a compatible one (lucene-gosen-5.0.0-ipadic.jar) built from source.
Future upgrades of LanguageTool should keep the 5.0.0 JAR until LanguageTool starts bundling a compatible version. This ticket should remain open until we are able to safely use the version included with LanguageTool.
Feature Requests: #1299
Feature Requests: #1551
Feature Requests: #970
LanguageTool 5.8 bundles Lucene 5.5.5 but also bundle incomaptible lucene-gosen-6.2.1 which is built against lucene 6.
Most recent LanguageTools also depends on Lucene 5.5.5.
So postpone the fix target .
OmegaT dev-list discussion suggest languagetool 6.1 bundles lucene 5.5.5 but it is not compatible with lucene-gosen 5.0.0 jar published by omegat project.
https://sourceforge.net/p/omegat/mailman/omegat-development/thread/A846A288-181B-407C-B6C1-93A1378F107E%40traduction-libre.org/#msg37867956
When moving to Lucene 8.11.3, we can use a build https://mvnrepository.com/artifact/org.omegat.lucene/lucene-gosen Lucene-gosen-8.11.0
Now OmegaT 6.1.0 Beta bundled Lucene 8.11.4 so The issue has been resolved.