| Package | Description |
|---|---|
| org.languagetool | |
| org.languagetool.tools |
| Modifier and Type | Class and Description |
|---|---|
class |
MultiThreadedJLanguageTool
A variant of
JLanguageTool that uses several threads for rule matching. |
| Modifier and Type | Method and Description |
|---|---|
static List<RuleMatch> |
Tools.checkBitext(String src,
String trg,
JLanguageTool srcLt,
JLanguageTool trgLt,
List<BitextRule> bRules)
Checks the bilingual input (bitext).
|
static String |
Tools.correctText(String contents,
JLanguageTool lt)
Automatically applies suggestions to the text, as suggested
by the rules that match.
|
static int |
Tools.profileRulesOnLine(String contents,
JLanguageTool lt,
Rule rule) |
static void |
Tools.selectRules(JLanguageTool lt,
List<String> disabledRuleIds,
List<String> enabledRuleIds,
boolean useEnabledOnly)
Enable and disable rules of the given LanguageTool instance.
|
static void |
Tools.selectRules(JLanguageTool lt,
String[] disabledRules,
String[] enabledRules)
Enable and disable rules of the given LanguageTool instance.
|
static void |
Tools.selectRules(JLanguageTool lt,
String[] disabledRules,
String[] enabledRules,
boolean useEnabledOnly)
Enable and disable rules of the given LanguageTool instance.
|