| Package | Description |
|---|---|
| org.languagetool | |
| org.languagetool.rules | |
| 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 |
|---|---|
JLanguageTool |
Language.createDefaultJLanguageTool()
Create a shared instance of JLanguageTool to use in rules for further processing
Instances are shared by Language
As this is a shared instance, do not modify (add or remove) any rules or filters.
|
| Modifier and Type | Field and Description |
|---|---|
protected JLanguageTool |
RemoteRule.lt |
| 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,
Set<CategoryId> disabledCategories,
Set<CategoryId> enabledCategories,
Set<String> disabledRules,
Set<String> enabledRules,
boolean useEnabledOnly,
boolean enableTempOff) |