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 |
---|
CategoryId
Identifier for a category.
|
RuleMatch
Information about an error rule that matches text and the position of the match.
|
Class and Description |
---|
RuleMatch
Information about an error rule that matches text and the position of the match.
|
Class and Description |
---|
RuleMatch
Information about an error rule that matches text and the position of the match.
|
Class and Description |
---|
RuleMatch
Information about an error rule that matches text and the position of the match.
|
Class and Description |
---|
ITSIssueType
Some constants for Localization Quality Issue Type from the
Internationalization Tag Set (ITS) Version 2.0.
|
Rule
Abstract rule class.
|
Class and Description |
---|
RemoteRuleConfig |
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.
|
Class and Description |
---|
Rule
Abstract rule class.
|
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.
|
Class and Description |
---|
Rule
Abstract rule class.
|
TextLevelRule
A rule that considers the complete text, not just one sentence after
the other.
|
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.
|
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 |
---|
AbstractSimpleReplaceRule2
A rule that matches words which should not be used and suggests correct ones instead.
|
AbstractWordCoherencyRule
A rule that matches words for which two different spellings are used
throughout the document.
|
CommaWhitespaceRule
A rule that matches periods, commas and closing parenthesis preceded by whitespace and
opening parenthesis followed by whitespace.
|
DoublePunctuationRule
A rule that matches ".."
|
Rule
Abstract rule class.
|
RuleMatch
Information about an error rule that matches text and the position of the match.
|
TextLevelRule
A rule that considers the complete text, not just one sentence after
the other.
|
WordRepeatRule
Check if a word is repeated, e.g.
|
WrongWordInContextRule
Check if there is a confusion of two words (which might have a similar spelling) depending on the context.
|
Class and Description |
---|
AbstractAdvancedSynthesizerFilter |
AbstractDateCheckFilter
Accepts rule matches if a date doesn't match the accompanying weekday, e.g. if
Monday, 8 November 2003
isn't actually a Monday. |
RuleMatch
Information about an error rule that matches text and the position of the match.
|
Class and Description |
---|
AbstractSpecificCaseRule
A rule that matches words which need a specific upper/lowercase spelling.
|
Rule
Abstract rule class.
|
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 |
---|
AbstractCompoundRule
Checks that compounds (if in the list) are not written as separate words.
|
CompoundRuleData
Data about words that are compounds and should thus not be written
as separate words.
|
Rule
Abstract rule class.
|
RuleMatch
Information about an error rule that matches text and the position of the match.
|
Class and Description |
---|
AbstractCheckCaseRule
A rule that checks case in phrases
|
AbstractFindSuggestionsFilter |
AbstractNumberInWordFilter |
AbstractRepeatedWordsRule |
AbstractSimpleReplaceRule
A rule that matches words which should not be used and suggests
correct ones instead.
|
AbstractSimpleReplaceRule2
A rule that matches words which should not be used and suggests correct ones instead.
|
AbstractSuppressIfAnyRuleMatchesFilter |
AbstractSuppressMisspelledSuggestionsFilter |
AbstractTextToNumberFilter |
GenericUnpairedBracketsRule
Rule that finds unpaired quotes, brackets etc.
|
GenericUnpairedBracketsRule.Symbol |
Rule
Abstract rule class.
|
RuleMatch
Information about an error rule that matches text and the position of the match.
|
SuggestedReplacement |
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). |
WordRepeatBeginningRule
Check if three successive sentences begin with the same word, e.g.
|
WordRepeatRule
Check if a word is repeated, e.g.
|
WrongWordInContextRule
Check if there is a confusion of two words (which might have a similar spelling) depending on the context.
|
Class and Description |
---|
AbstractCompoundRule
Checks that compounds (if in the list) are not written as separate words.
|
AbstractNumberInWordFilter |
AbstractRepeatedWordsRule |
AbstractStatisticSentenceStyleRule
A rule that gives hints when a defined condition is fulfilled
and the percentage of hints in the text exceeds the given limit.
|
AbstractStatisticStyleRule
A rule that gives hints when a defined condition is fulfilled
and the percentage of hints in the text exceeds the given limit.
|
AbstractStyleRepeatedWordRule
An abstract rule checks the appearance of same words in a sentence or in two consecutive sentences.
|
AbstractSuppressMisspelledSuggestionsFilter |
AbstractUnitConversionRule.Message |
CommaWhitespaceRule
A rule that matches periods, commas and closing parenthesis preceded by whitespace and
opening parenthesis followed by whitespace.
|
CompoundRuleData
Data about words that are compounds and should thus not be written
as separate words.
|
CorrectExample
A text, typically a sentence, that doesn't contain an error,
at least not one for a specific rule.
|
DoublePunctuationRule
A rule that matches ".."
|
GenericUnpairedBracketsRule
Rule that finds unpaired quotes, brackets etc.
|
GenericUnpairedBracketsRule.Symbol |
IncorrectExample
A text, typically a sentence, that contains an error.
|
LineExpander |
ParagraphRepeatBeginningRule
Check if to paragraphs begin with the same word.
|
ReadabilityRule
A rule that checks the readability of English text (using the Flesch-Reading-Ease Formula)
If tooEasyTest == true, the rule tests if paragraph level > level (readability is too easy)
If tooEasyTest == false, the rule tests if paragraph level < level (readability is too difficult)
|
Rule
Abstract rule class.
|
RuleMatch
Information about an error rule that matches text and the position of the match.
|
SentenceWhitespaceRule
Checks that there's whitespace between sentences.
|
SuggestedReplacement |
SynonymsData |
TextLevelRule
A rule that considers the complete text, not just one sentence after
the other.
|
WordRepeatBeginningRule
Check if three successive sentences begin with the same word, e.g.
|
WordRepeatRule
Check if a word is repeated, e.g.
|
WrongWordInContextRule
Check if there is a confusion of two words (which might have a similar spelling) depending on the context.
|
Class and Description |
---|
AbstractSimpleReplaceRule2
A rule that matches words which should not be used and suggests correct ones instead.
|
AbstractSpecificCaseRule
A rule that matches words which need a specific upper/lowercase spelling.
|
Rule
Abstract rule class.
|
RuleMatch
Information about an error rule that matches text and the position of the match.
|
TextLevelRule
A rule that considers the complete text, not just one sentence after
the other.
|
WordRepeatBeginningRule
Check if three successive sentences begin with the same word, e.g.
|
Class and Description |
---|
AbstractAdvancedSynthesizerFilter |
AbstractCompoundRule
Checks that compounds (if in the list) are not written as separate words.
|
AbstractDashRule
Another use of the compounds file -- check for compounds written with
dashes instead of hyphens (for example, Rabka — Zdrój).
|
AbstractDateCheckFilter
Accepts rule matches if a date doesn't match the accompanying weekday, e.g. if
Monday, 8 November 2003
isn't actually a Monday. |
AbstractFindSuggestionsFilter |
AbstractFutureDateFilter
Checks if a given date is in the future
Used for mismatch detection between verb tense and a given date
|
AbstractNewYearDateFilter
Accepts rule matches if we are in the first days of a new year and the user
may have entered a date with the old year (but not a date in December).
|
AbstractNumberInWordFilter |
AbstractRepeatedWordsRule |
AbstractSimpleReplaceRule
A rule that matches words which should not be used and suggests
correct ones instead.
|
AbstractSimpleReplaceRule2
A rule that matches words which should not be used and suggests correct ones instead.
|
AbstractSpecificCaseRule
A rule that matches words which need a specific upper/lowercase spelling.
|
AbstractStyleTooOftenUsedWordRule
The method gives stylistic hints that a word is being used too often
when the set percentage has been exceeded.
|
AbstractSuppressMisspelledSuggestionsFilter |
AbstractUnitConversionRule
Base class providing support for detecting, parsing and converting between measurements in different units
|
AbstractWordCoherencyRule
A rule that matches words for which two different spellings are used
throughout the document.
|
CompoundRuleData
Data about words that are compounds and should thus not be written
as separate words.
|
ConfusionString
A string in a
ConfusionPair - for internal use only. |
ConvertToSentenceCaseFilter |
GenericUnpairedBracketsRule
Rule that finds unpaired quotes, brackets etc.
|
LongSentenceRule
A rule that warns on long sentences.
|
PartialPosTagFilter
Filters rule matches so that only matches are kept where a part of the
token has a given POS tag.
|
Rule
Abstract rule class.
|
RuleMatch
Information about an error rule that matches text and the position of the match.
|
SuggestedReplacement |
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). |
WordRepeatBeginningRule
Check if three successive sentences begin with the same word, e.g.
|
WordRepeatRule
Check if a word is repeated, e.g.
|
WrongWordInContextRule
Check if there is a confusion of two words (which might have a similar spelling) depending on the context.
|
Class and Description |
---|
AbstractNumberInWordFilter |
AbstractRepeatedWordsRule |
AbstractSimpleReplaceRule2
A rule that matches words which should not be used and suggests correct ones instead.
|
AbstractSuppressMisspelledSuggestionsFilter |
GenericUnpairedBracketsRule
Rule that finds unpaired quotes, brackets etc.
|
Rule
Abstract rule class.
|
RuleMatch
Information about an error rule that matches text and the position of the match.
|
SuggestedReplacement |
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). |
WordRepeatBeginningRule
Check if three successive sentences begin with the same word, e.g.
|
WordRepeatRule
Check if a word is repeated, e.g.
|
WrongWordInContextRule
Check if there is a confusion of two words (which might have a similar spelling) depending on the context.
|
Class and Description |
---|
AbstractSimpleReplaceRule
A rule that matches words which should not be used and suggests
correct ones instead.
|
AbstractSpaceBeforeRule
An abstract rule that checks if there is a missing space before some conjunctions.
|
CommaWhitespaceRule
A rule that matches periods, commas and closing parenthesis preceded by whitespace and
opening parenthesis followed by whitespace.
|
DoublePunctuationRule
A rule that matches ".."
|
Rule
Abstract rule class.
|
TextLevelRule
A rule that considers the complete text, not just one sentence after
the other.
|
WordRepeatBeginningRule
Check if three successive sentences begin with the same word, e.g.
|
WordRepeatRule
Check if a word is repeated, e.g.
|
Class and Description |
---|
AbstractDateCheckFilter
Accepts rule matches if a date doesn't match the accompanying weekday, e.g. if
Monday, 8 November 2003
isn't actually a Monday. |
AbstractMakeContractionsFilter |
AbstractNumberInWordFilter |
AbstractRepeatedWordsRule |
AbstractSuppressMisspelledSuggestionsFilter |
PartialPosTagFilter
Filters rule matches so that only matches are kept where a part of the
token has a given POS tag.
|
Rule
Abstract rule class.
|
RuleMatch
Information about an error rule that matches text and the position of the match.
|
SuggestedReplacement |
SynonymsData |
TextLevelRule
A rule that considers the complete text, not just one sentence after
the other.
|
Class and Description |
---|
AbstractSimpleReplaceRule
A rule that matches words which should not be used and suggests
correct ones instead.
|
PartialPosTagFilter
Filters rule matches so that only matches are kept where a part of the
token has a given POS tag.
|
Rule
Abstract rule class.
|
RuleMatch
Information about an error rule that matches text and the position of the match.
|
Class and Description |
---|
AbstractSimpleReplaceRule
A rule that matches words which should not be used and suggests
correct ones instead.
|
AbstractSimpleReplaceRule2
A rule that matches words which should not be used and suggests correct ones instead.
|
Rule
Abstract rule class.
|
Class and Description |
---|
Rule
Abstract rule class.
|
SuggestedReplacement |
WordRepeatRule
Check if a word is repeated, e.g.
|
Class and Description |
---|
AbstractSimpleReplaceRule2
A rule that matches words which should not be used and suggests correct ones instead.
|
AbstractSpaceBeforeRule
An abstract rule that checks if there is a missing space before some conjunctions.
|
GenericUnpairedBracketsRule
Rule that finds unpaired quotes, brackets etc.
|
Rule
Abstract rule class.
|
RuleMatch
Information about an error rule that matches text and the position of the match.
|
TextLevelRule
A rule that considers the complete text, not just one sentence after
the other.
|
Class and Description |
---|
Rule
Abstract rule class.
|
Class and Description |
---|
Rule
Abstract rule class.
|
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 |
---|
AbstractNumberInWordFilter |
AbstractSimpleReplaceRule2.CaseSensitivy |
AbstractSuppressMisspelledSuggestionsFilter |
Rule
Abstract rule class.
|
RuleMatch
Information about an error rule that matches text and the position of the match.
|
WrongWordInContextRule
Check if there is a confusion of two words (which might have a similar spelling) depending on the context.
|
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 |
---|
AbstractDashRule
Another use of the compounds file -- check for compounds written with
dashes instead of hyphens (for example, Rabka — Zdrój).
|
AdvancedWordRepeatRule
Rule for detecting same words in the sentence but not just in a row.
|
GenericUnpairedBracketsRule
Rule that finds unpaired quotes, brackets etc.
|
Rule
Abstract rule class.
|
RuleMatch
Information about an error rule that matches text and the position of the match.
|
TextLevelRule
A rule that considers the complete text, not just one sentence after
the other.
|
Class and Description |
---|
AbstractCompoundRule
Checks that compounds (if in the list) are not written as separate words.
|
AbstractDashRule
Another use of the compounds file -- check for compounds written with
dashes instead of hyphens (for example, Rabka — Zdrój).
|
AbstractFillerWordsRule
A rule that gives hints about the use of filler words.
|
AbstractSimpleReplaceRule
A rule that matches words which should not be used and suggests
correct ones instead.
|
AbstractSimpleReplaceRule2
A rule that matches words which should not be used and suggests correct ones instead.
|
AbstractSuppressMisspelledSuggestionsFilter |
AbstractUnitConversionRule
Base class providing support for detecting, parsing and converting between measurements in different units
|
AbstractUnitConversionRule.Message |
AbstractWordCoherencyRule
A rule that matches words for which two different spellings are used
throughout the document.
|
CompoundRuleData
Data about words that are compounds and should thus not be written
as separate words.
|
PartialPosTagFilter
Filters rule matches so that only matches are kept where a part of the
token has a given POS tag.
|
ReadabilityRule
A rule that checks the readability of English text (using the Flesch-Reading-Ease Formula)
If tooEasyTest == true, the rule tests if paragraph level > level (readability is too easy)
If tooEasyTest == false, the rule tests if paragraph level < level (readability is too difficult)
|
Rule
Abstract rule class.
|
RuleMatch
Information about an error rule that matches text and the position of the match.
|
TextLevelRule
A rule that considers the complete text, not just one sentence after
the other.
|
WordRepeatBeginningRule
Check if three successive sentences begin with the same word, e.g.
|
WordRepeatRule
Check if a word is repeated, e.g.
|
WrongWordInContextRule
Check if there is a confusion of two words (which might have a similar spelling) depending on the context.
|
Class and Description |
---|
Rule
Abstract rule class.
|
TextLevelRule
A rule that considers the complete text, not just one sentence after
the other.
|
WordRepeatBeginningRule
Check if three successive sentences begin with the same word, e.g.
|
Class and Description |
---|
AbstractCompoundRule
Checks that compounds (if in the list) are not written as separate words.
|
AbstractDashRule
Another use of the compounds file -- check for compounds written with
dashes instead of hyphens (for example, Rabka — Zdrój).
|
AbstractFillerWordsRule
A rule that gives hints about the use of filler words.
|
AbstractSimpleReplaceRule2
A rule that matches words which should not be used and suggests correct ones instead.
|
AbstractSuppressMisspelledSuggestionsFilter |
AbstractWordCoherencyRule
A rule that matches words for which two different spellings are used
throughout the document.
|
AdvancedWordRepeatRule
Rule for detecting same words in the sentence but not just in a row.
|
CompoundRuleData
Data about words that are compounds and should thus not be written
as separate words.
|
GenericUnpairedBracketsRule
Rule that finds unpaired quotes, brackets etc.
|
PartialPosTagFilter
Filters rule matches so that only matches are kept where a part of the
token has a given POS tag.
|
Rule
Abstract rule class.
|
RuleMatch
Information about an error rule that matches text and the position of the match.
|
SuggestedReplacement |
TextLevelRule
A rule that considers the complete text, not just one sentence after
the other.
|
WordRepeatRule
Check if a word is repeated, e.g.
|
Class and Description |
---|
Rule
Abstract rule class.
|
Class and Description |
---|
Rule
Abstract rule class.
|
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.
|
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 |
---|
SuggestedReplacement |
Class and Description |
---|
AbstractPunctuationCheckRule
A rule that matches "
|
AbstractSimpleReplaceRule
A rule that matches words which should not be used and suggests
correct ones instead.
|
CommaWhitespaceRule
A rule that matches periods, commas and closing parenthesis preceded by whitespace and
opening parenthesis followed by whitespace.
|
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 |
TextLevelRule
A rule that considers the complete text, not just one sentence after
the other.
|
UppercaseSentenceStartRule
Checks that a sentence starts with an uppercase letter.
|
WordRepeatRule
Check if a word is repeated, e.g.
|
Class and Description |
---|
Rule
Abstract rule class.
|
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.
|