Am Mi 12.09.2012, 14:20:32 schrieben Sie:
I already have a spell checker, I'm looking at only using LanguageTool
for grammar checking. Would it be possible to somehow integrate our
current spellchecker with LanguageTool?
You can disable the spell checker rule on LT side with the disableRule()
call. For example, call languageTool.disableRule("MORFOLOGIK_RULE_EN_US")
to disable the American English spell checker.
What is the minimum set of files that I would need to include to use
LanguageTool from within the Java application?
You can remove the sub directories from "rules" and "resources" for those
languages you don't need, plus the "hunspell" sub directory which is only
needed for spell checking.
We're currently working on a Maven artifact to make integration easier.
That will not contain the minimal set of files though (at least not in the