Package | Description |
---|---|
org.languagetool | |
org.languagetool.language | |
org.languagetool.rules |
Modifier and Type | Method and Description |
---|---|
void |
JLanguageTool.activateRemoteRules(List<RemoteRuleConfig> configs) |
List<Rule> |
Language.getRelevantRemoteRules(ResourceBundle messageBundle,
List<RemoteRuleConfig> configs,
GlobalConfig globalConfig,
UserConfig userConfig,
Language motherTongue,
List<Language> altLanguages,
boolean inputLogging)
For rules that depend on a remote server; based on
RemoteRule
will be executed asynchronously, with timeout, retries, etc. |
Function<Rule,Rule> |
Language.getRemoteEnhancedRules(ResourceBundle messageBundle,
List<RemoteRuleConfig> configs,
UserConfig userConfig,
Language motherTongue,
List<Language> altLanguages,
boolean inputLogging)
For rules whose results are extended using some remote service, e.g.
|
Modifier and Type | Method and Description |
---|---|
List<Rule> |
SwissGerman.getRelevantRemoteRules(ResourceBundle messageBundle,
List<RemoteRuleConfig> configs,
GlobalConfig globalConfig,
UserConfig userConfig,
Language motherTongue,
List<Language> altLanguages,
boolean inputLogging) |
Function<Rule,Rule> |
English.getRemoteEnhancedRules(ResourceBundle messageBundle,
List<RemoteRuleConfig> configs,
UserConfig userConfig,
Language motherTongue,
List<Language> altLanguages,
boolean inputLogging) |
Modifier and Type | Field and Description |
---|---|
protected RemoteRuleConfig |
RemoteRule.serviceConfiguration |
Modifier and Type | Method and Description |
---|---|
static RemoteRuleConfig |
RemoteRuleConfig.getRelevantConfig(String rule,
List<RemoteRuleConfig> configs) |
RemoteRuleConfig |
RemoteRule.getServiceConfiguration() |
Modifier and Type | Method and Description |
---|---|
static Predicate<RemoteRuleConfig> |
RemoteRuleConfig.isRelevantConfig(String type,
Language language) |
static List<RemoteRuleConfig> |
RemoteRuleConfig.load(File configFile) |
static List<RemoteRuleConfig> |
RemoteRuleConfig.parse(InputStream json) |
Modifier and Type | Method and Description |
---|---|
static GRPCRule |
GRPCRule.create(Language language,
RemoteRuleConfig config,
boolean inputLogging,
String id,
String description,
Map<String,String> messagesByID)
Helper method to create instances of RemoteMLRule
|
static GRPCRule |
GRPCRule.create(Language language,
ResourceBundle messages,
RemoteRuleConfig config,
boolean inputLogging,
String id,
String descriptionKey,
Map<String,String> messagesByID)
Helper method to create instances of RemoteMLRule
|
Modifier and Type | Method and Description |
---|---|
static void |
GRPCPostProcessing.configure(Language lang,
List<RemoteRuleConfig> configs) |
static List<GRPCRule> |
GRPCRule.createAll(Language language,
List<RemoteRuleConfig> configs,
boolean inputLogging) |
static List<GRPCRule> |
GRPCRule.createAll(Language language,
List<RemoteRuleConfig> configs,
boolean inputLogging,
String prefix,
String defaultDescription) |
static RemoteRuleConfig |
RemoteRuleConfig.getRelevantConfig(String rule,
List<RemoteRuleConfig> configs) |
Constructor and Description |
---|
BERTSuggestionRanking(Language language,
Rule rule,
RemoteRuleConfig config,
boolean inputLogging) |
GRPCPostProcessing(RemoteRuleConfig config) |
GRPCRule(Language language,
ResourceBundle messages,
RemoteRuleConfig config,
boolean inputLogging) |
RemoteRule(Language language,
ResourceBundle messages,
RemoteRuleConfig config,
boolean inputLogging) |
RemoteRule(Language language,
ResourceBundle messages,
RemoteRuleConfig config,
boolean inputLogging,
String ruleId) |
RemoteRuleConfig(RemoteRuleConfig copy) |
TestRemoteRule(Language lang,
RemoteRuleConfig config) |