Modifier and Type | Method and Description |
---|---|
String |
AnalyzedTokenReadings.getCleanToken() |
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.
|
void |
AnalyzedTokenReadings.setCleanToken(String cleanToken) |
Modifier and Type | Class and Description |
---|---|
class |
RussianChunker
A rule-based prototype Russian chunker.
|
Modifier and Type | Method and Description |
---|---|
static void |
LuceneSingleIndexLanguageModel.clearCaches()
Only used internally.
|
Modifier and Type | Class and Description |
---|---|
class |
NgramProbabilityRule
LanguageTool's probability check that uses ngram lookups
to decide if an ngram of the input text is so rare in our
ngram index that it should be considered an error.
|
Modifier and Type | Method and Description |
---|---|
void |
NgramProbabilityRule.setMinProbability(double minProbability) |
Modifier and Type | Method and Description |
---|---|
RuleMatch.Type |
AbstractPatternRule.getType()
Determines the match type, based on the type variable if set (to allow overriding) or
Rule.getLocQualityIssueType() |
boolean |
AbstractPatternRule.isAdjustSuggestionCase()
Allows adjusting the behavior of uppercasing suggestions when the matched text started with an upper-case letter
|
void |
AbstractPatternRule.setAdjustSuggestionCase(boolean adjustSuggestionCase)
Allows adjusting the behavior of uppercasing suggestions when the matched text started with an upper-case letter
|
void |
AbstractPatternRule.setType(RuleMatch.Type type)
Allows overriding the match type, otherwise determined by
Rule.getLocQualityIssueType() |
Modifier and Type | Class and Description |
---|---|
class |
SymSpellRule
spell checking using SymSpell algorithm, implementation from
https://github.com/Lundez/JavaSymSpell in org.languagetool.rules.spelling.symspell.implementation
potential faster alternative to Morfologik, especially in generating suggestions
|
Modifier and Type | Method and Description |
---|---|
abstract boolean |
SpellingCheckRule.isMisspelled(String word) |
Modifier and Type | Method and Description |
---|---|
boolean |
MorfologikSpellerRule.isMisspelled(String word) |
Modifier and Type | Class and Description |
---|---|
class |
GRPCServer |
Modifier and Type | Method and Description |
---|---|
Pattern |
HTTPServerConfig.getAbTestClients()
Clients that a A/B test runs on; null -> disabled
|
int |
HTTPServerConfig.getAbTestRollout() |
void |
HTTPServerConfig.setAbTestClients(String pattern)
Clients that a A/B test runs on; null -> disabled
|
void |
HTTPServerConfig.setAbTestRollout(int abTestRollout) |