| Class and Description |
|---|
| Category
A rule's category.
|
| CategoryId
Identifier for a category.
|
| RemoteRule |
| RemoteRuleConfig |
| RemoteRuleResult |
| Rule
Abstract rule class.
|
| RuleMatch
Information about an error rule that matches text and the position of the match.
|
| RuleMatchFilter
Filter rule matches.
|
| Class and Description |
|---|
| Rule
Abstract rule class.
|
| Class and Description |
|---|
| AbstractSimpleReplaceRule2
A rule that matches words which should not be used and suggests correct ones instead.
|
| AbstractSimpleReplaceRule2.CaseSensitivy |
| AbstractUnitConversionRule.Message |
| Categories
Pre-defined rule categories.
|
| Category
A rule's category.
|
| Category.Location |
| CategoryId
Identifier for a category.
|
| CompoundRuleData
Data about words that are compounds and should thus not be written
as separate words.
|
| ConfusionPair
Two words that can easily be confused - for internal use only.
|
| ConfusionString
A string in a
ConfusionPair - for internal use only. |
| CorrectExample
A text, typically a sentence, that doesn't contain an error,
at least not one for a specific rule.
|
| ErrorTriggeringExample
A text, typically a sentence, that doesn't contain an error,
but still leads to an error.
|
| ExampleSentence |
| GenericUnpairedBracketsRule.Symbol |
| GenericUnpairedBracketsRule.Symbol.Type |
| GRPCPostProcessing |
| GRPCRule
Base class fur rules running on external servers;
see gRPC service definition in languagetool-core/src/main/proto/ml_server.proto
See #create(Language, ResourceBundle, RemoteRuleConfig, boolean, String, String, Map) for an easy way to add rules; return rule in Language::getRelevantRemoteRules
add it like this:
public List<Rule> getRelevantRemoteRules(ResourceBundle messageBundle, List<RemoteRuleConfig> configs, GlobalConfig globalConfig, UserConfig userConfig, Language motherTongue, List<Language> altLanguages) throws IOException {
List<Rule> rules = new ArrayList<>(super.getRelevantRemoteRules(
messageBundle, configs, globalConfig, userConfig, motherTongue, altLanguages));
Rule exampleRule = GRPCRule.create(messageBundle,
RemoteRuleConfig.getRelevantConfig("EXAMPLE_ID", configs),
"EXAMPLE_ID", "example_rule_id",
Collections.singletonMap("example_match_id", "example_rule_message"));
rules.add(exampleRule);
return rules;
}
|
| IncorrectExample
A text, typically a sentence, that contains an error.
|
| ITSIssueType
Some constants for Localization Quality Issue Type from the
Internationalization Tag Set (ITS) Version 2.0.
|
| LineExpander |
| RemoteRule |
| RemoteRule.RemoteRequest |
| RemoteRuleConfig |
| RemoteRuleMetrics.RequestResult |
| RemoteRuleResult |
| Rule
Abstract rule class.
|
| RuleMatch
Information about an error rule that matches text and the position of the match.
|
| RuleMatch.Type
Unlike
Category, this is specific to a RuleMatch, not to a rule. |
| RuleMatchFilter
Filter rule matches.
|
| RuleOption
Class to configure rule option by option panel
|
| SuggestedReplacement |
| SuggestedReplacement.SuggestionType
classify the type of the suggestion
so that downstream tasks (e.g. resorting, as in
BERTSuggestionRanking)
can treat them accordingly
Default - default, no special treatment
Translation - offers to translate words from native language into text language;
suggestion ranking extends size of list of candidates
Curated - a manually curated suggestion / special case / ...; don't resort |
| SuggestionWithMessage |
| SymbolLocator
Helper class for
GenericUnpairedBracketsRule to identify
symbols indexed with integers. |
| SynonymsData |
| TextLevelRule
A rule that considers the complete text, not just one sentence after
the other.
|
| UnsyncStack
Implements unsynchronized stack (contrary to default Java
Stack,
this one is based on ArrayList). |
| Class and Description |
|---|
| Rule
Abstract rule class.
|
| RuleMatch
Information about an error rule that matches text and the position of the match.
|
| Class and Description |
|---|
| ConfusionPair
Two words that can easily be confused - for internal use only.
|
| ConfusionString
A string in a
ConfusionPair - for internal use only. |
| Rule
Abstract rule class.
|
| RuleMatch
Information about an error rule that matches text and the position of the match.
|
| Class and Description |
|---|
| Category
A rule's category.
|
| CorrectExample
A text, typically a sentence, that doesn't contain an error,
at least not one for a specific rule.
|
| ErrorTriggeringExample
A text, typically a sentence, that doesn't contain an error,
but still leads to an error.
|
| IncorrectExample
A text, typically a sentence, that contains an error.
|
| Rule
Abstract rule class.
|
| RuleMatch
Information about an error rule that matches text and the position of the match.
|
| RuleMatch.Type
Unlike
Category, this is specific to a RuleMatch, not to a rule. |
| TextLevelRule
A rule that considers the complete text, not just one sentence after
the other.
|
| Class and Description |
|---|
| Rule
Abstract rule class.
|
| RuleMatch
Information about an error rule that matches text and the position of the match.
|
| Class and Description |
|---|
| Rule
Abstract rule class.
|
| RuleMatch
Information about an error rule that matches text and the position of the match.
|
| SuggestedReplacement |
| Class and Description |
|---|
| CorrectExample
A text, typically a sentence, that doesn't contain an error,
at least not one for a specific rule.
|
| IncorrectExample
A text, typically a sentence, that contains an error.
|
| Rule
Abstract rule class.
|
| RuleMatch
Information about an error rule that matches text and the position of the match.
|
| SuggestedReplacement |
| Class and Description |
|---|
| Rule
Abstract rule class.
|
| RuleMatch
Information about an error rule that matches text and the position of the match.
|
| SuggestedReplacement |
| Class and Description |
|---|
| RuleMatch
Information about an error rule that matches text and the position of the match.
|
| Class and Description |
|---|
| SuggestedReplacement |
| Class and Description |
|---|
| Rule
Abstract rule class.
|
| Class and Description |
|---|
| CategoryId
Identifier for a category.
|
| Rule
Abstract rule class.
|
| RuleMatch
Information about an error rule that matches text and the position of the match.
|