Uses of Class
org.languagetool.rules.Rule
Packages that use Rule
Package
Description
-
Uses of Rule in org.languagetool
Fields in org.languagetool with type parameters of type RuleModifier and TypeFieldDescriptionJLanguageTool.builtinRulesJLanguageTool.userRulesUserConfig.userSpecificRulesMethods in org.languagetool that return types with arguments of type RuleModifier and TypeMethodDescriptionJLanguageTool.getAllActiveOfficeRules()Works like getAllActiveRules but overrides defaults by office defaultsJLanguageTool.getAllActiveRules()Get all active (not disabled) rules for the current language that are built-in or that have been added using e.g.JLanguageTool.getAllBuiltinRules(Language language, ResourceBundle messages, UserConfig userConfig, GlobalConfig globalConfig) JLanguageTool.getAllRules()Get all rules for the current language that are built-in or that have been added usingJLanguageTool.addRule(Rule).Language.getRelevantLanguageModelCapableRules(ResourceBundle messages, LanguageModel languageModel, GlobalConfig globalConfig, UserConfig userConfig, Language motherTongue, List<Language> altLanguages) Get a list of rules that can optionally use aLanguageModel.Language.getRelevantLanguageModelRules(ResourceBundle messages, LanguageModel languageModel, UserConfig userConfig) Get a list of rules that require aLanguageModel.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 onRemoteRulewill be executed asynchronously, with timeout, retries, etc.DynamicHunspellLanguage.getRelevantRules(ResourceBundle messages, UserConfig userConfig, Language motherTongue, List<Language> altLanguages) DynamicMorfologikLanguage.getRelevantRules(ResourceBundle messages, UserConfig userConfig, Language motherTongue, List<Language> altLanguages) Language.getRelevantRules(ResourceBundle messages, UserConfig userConfig, Language motherTongue, List<Language> altLanguages) Get the rules classes that should run for texts in this language.Language.getRelevantRulesGlobalConfig(ResourceBundle messages, GlobalConfig globalConfig, UserConfig userConfig, Language motherTongue, List<Language> altLanguages) Get the rules classes that should run for texts in this language.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.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.UserConfig.getRules()JLanguageTool.transformPatternRules(List<AbstractPatternRule> patternRules, Language lang) Methods in org.languagetool with parameters of type RuleModifier and TypeMethodDescriptionvoidAdd a rule to be used by the next call to the check methods likeJLanguageTool.check(String).intLanguage.getRulePriority(Rule rule) Returns a priority for Rule (default: 0).private booleanJLanguageTool.ignoreRule(Rule rule) abstract booleanPremium.isPremiumRule(Rule rule) booleanPremiumOff.isPremiumRule(Rule rule) private booleanJLanguageTool.isRuleActiveForLanguageWithModel(Rule rule, Language language, Map<String, RemoteRuleResult> remoteRulesResults) (package private) static booleanJLanguageTool.isRuleActiveForLevelAndToneTags(Rule rule, JLanguageTool.Level level, Set<ToneTag> toneTags) static booleanPremium.isTempNotPremium(Rule rule) voidLinguServices.setThesaurusRelevantRule(Rule rule) Set a thesaurus relevant ruleMethod parameters in org.languagetool with type arguments of type RuleModifier and TypeMethodDescriptionJLanguageTool.checkAnalyzedSentence(JLanguageTool.ParagraphHandling paraMode, List<Rule> rules, AnalyzedSentence analyzedSentence) Deprecated.JLanguageTool.checkAnalyzedSentence(JLanguageTool.ParagraphHandling paraMode, List<Rule> rules, AnalyzedSentence analyzedSentence, boolean checkRemoteRules) This is an internal method that's public only for technical reasons, please use one of theJLanguageTool.check(String)methods instead.JLanguageTool.checkAnalyzedSentence(JLanguageTool.ParagraphHandling paraMode, List<Rule> rules, AnalyzedSentence analyzedSentence, boolean checkRemoteRules, int wordCounter) private voidprivate voidprivate void -
Uses of Rule in org.languagetool.gui
Fields in org.languagetool.gui declared as RuleModifier and TypeFieldDescriptionprivate RuleConfigurationDialog.ruleprivate final RuleRuleNode.ruleFields in org.languagetool.gui with type parameters of type RuleMethods in org.languagetool.gui that return RuleMethods in org.languagetool.gui with parameters of type RuleModifier and TypeMethodDescriptionintstatic Stringprivate booleanConfigurationDialog.getEnabledState(Rule rule) static StringTools.getExampleSentences(Rule rule, ResourceBundle messages) (package private) static voidTools.showRuleInfoDialog(Component parent, String title, String message, Rule rule, URL matchUrl, ResourceBundle messages, String lang) Method parameters in org.languagetool.gui with type arguments of type RuleModifier and TypeMethodDescriptionprivate DefaultMutableTreeNodeConfigurationDialog.createTree(List<Rule> rules, boolean isStyle, String tabName, DefaultMutableTreeNode root) private JPanelConfigurationDialog.getChangedRulesPanel(List<Rule> rules, boolean enabledRules, JPanel panel) Panel to select disabled default rulesprivate JPanelConfigurationDialog.getProfilePanel(List<Rule> rules) private DefaultTreeModelConfigurationDialog.getTreeModel(DefaultMutableTreeNode rootNode, List<Rule> rules) (package private) JPanelConfigurationDialog.getUnderlineColorPanel(List<Rule> rules) Panel to choose underline ColorsvoidConfiguration.initStyleCategories(List<Rule> allRules) booleanbooleanprivate voidConfigurationDialog.updateProfileRules(List<Rule> rules) Update display of profile rulesprivate voidConfigurationDialog.updateRulesTrees(List<Rule> rules) Update display of rules treeConstructors in org.languagetool.gui with parameters of type Rule -
Uses of Rule in org.languagetool.language
Fields in org.languagetool.language with type parameters of type RuleMethods in org.languagetool.language that return RuleModifier and TypeMethodDescriptionprotected RuleUkrainian.getSpellingReplacementRule(ResourceBundle messages) Methods in org.languagetool.language that return types with arguments of type RuleModifier and TypeMethodDescriptionAmericanEnglish.getRelevantLanguageModelCapableRules(ResourceBundle messages, LanguageModel lm, GlobalConfig globalConfig, UserConfig userConfig, Language motherTongue, List<Language> altLanguages) AustralianEnglish.getRelevantLanguageModelCapableRules(ResourceBundle messages, LanguageModel lm, GlobalConfig globalConfig, UserConfig userConfig, Language motherTongue, List<Language> altLanguages) AustrianGerman.getRelevantLanguageModelCapableRules(ResourceBundle messages, LanguageModel languageModel, GlobalConfig globalConfig, UserConfig userConfig, Language motherTongue, List<Language> altLanguages) BritishEnglish.getRelevantLanguageModelCapableRules(ResourceBundle messages, LanguageModel lm, GlobalConfig globalConfig, UserConfig userConfig, Language motherTongue, List<Language> altLanguages) CanadianEnglish.getRelevantLanguageModelCapableRules(ResourceBundle messages, LanguageModel lm, GlobalConfig globalConfig, UserConfig userConfig, Language motherTongue, List<Language> altLanguages) English.getRelevantLanguageModelCapableRules(ResourceBundle messages, LanguageModel lm, GlobalConfig globalConfig, UserConfig userConfig, Language motherTongue, List<Language> altLanguages) GermanyGerman.getRelevantLanguageModelCapableRules(ResourceBundle messages, LanguageModel languageModel, GlobalConfig globalConfig, UserConfig userConfig, Language motherTongue, List<Language> altLanguages) NewZealandEnglish.getRelevantLanguageModelCapableRules(ResourceBundle messages, LanguageModel lm, GlobalConfig globalConfig, UserConfig userConfig, Language motherTongue, List<Language> altLanguages) SimpleGerman.getRelevantLanguageModelCapableRules(ResourceBundle messages, LanguageModel languageModel, GlobalConfig globalConfig, UserConfig userConfig, Language motherTongue, List<Language> altLanguages) SouthAfricanEnglish.getRelevantLanguageModelCapableRules(ResourceBundle messages, LanguageModel lm, GlobalConfig globalConfig, UserConfig userConfig, Language motherTongue, List<Language> altLanguages) SwissGerman.getRelevantLanguageModelCapableRules(ResourceBundle messages, LanguageModel languageModel, GlobalConfig globalConfig, UserConfig userConfig, Language motherTongue, List<Language> altLanguages) Arabic.getRelevantLanguageModelRules(ResourceBundle messages, LanguageModel languageModel, UserConfig userConfig) Chinese.getRelevantLanguageModelRules(ResourceBundle messages, LanguageModel languageModel, UserConfig userConfig) English.getRelevantLanguageModelRules(ResourceBundle messages, LanguageModel languageModel, UserConfig userConfig) French.getRelevantLanguageModelRules(ResourceBundle messages, LanguageModel languageModel, UserConfig userConfig) German.getRelevantLanguageModelRules(ResourceBundle messages, LanguageModel languageModel, UserConfig userConfig) Italian.getRelevantLanguageModelRules(ResourceBundle messages, LanguageModel languageModel, UserConfig userConfig) LanguageBuilder.ExtendedLanguage.getRelevantLanguageModelRules(ResourceBundle messages, LanguageModel languageModel, UserConfig userConfig) Portuguese.getRelevantLanguageModelRules(ResourceBundle messages, LanguageModel languageModel, UserConfig userConfig) Russian.getRelevantLanguageModelRules(ResourceBundle messages, LanguageModel languageModel, UserConfig userConfig) SimpleGerman.getRelevantLanguageModelRules(ResourceBundle messages, LanguageModel languageModel, UserConfig userConfig) Spanish.getRelevantLanguageModelRules(ResourceBundle messages, LanguageModel languageModel, UserConfig userConfig) SwissGerman.getRelevantRemoteRules(ResourceBundle messageBundle, List<RemoteRuleConfig> configs, GlobalConfig globalConfig, UserConfig userConfig, Language motherTongue, List<Language> altLanguages, boolean inputLogging) AmericanEnglish.getRelevantRules(ResourceBundle messages, UserConfig userConfig, Language motherTongue, List<Language> altLanguages) AngolaPortuguese.getRelevantRules(ResourceBundle messages, UserConfig userConfig, Language motherTongue, List<Language> altLanguages) Arabic.getRelevantRules(ResourceBundle messages, UserConfig userConfig, Language motherTongue, List<Language> altLanguages) Asturian.getRelevantRules(ResourceBundle messages, UserConfig userConfig, Language motherTongue, List<Language> altLanguages) Deprecated.AustralianEnglish.getRelevantRules(ResourceBundle messages, UserConfig userConfig, Language motherTongue, List<Language> altLanguages) AustrianGerman.getRelevantRules(ResourceBundle messages, UserConfig userConfig, Language motherTongue, List<Language> altLanguages) Belarusian.getRelevantRules(ResourceBundle messages, UserConfig userConfig, Language motherTongue, List<Language> altLanguages) Deprecated.BrazilianPortuguese.getRelevantRules(ResourceBundle messages, UserConfig userConfig, Language motherTongue, List<Language> altLanguages) Breton.getRelevantRules(ResourceBundle messages, UserConfig userConfig, Language motherTongue, List<Language> altLanguages) BritishEnglish.getRelevantRules(ResourceBundle messages, UserConfig userConfig, Language motherTongue, List<Language> altLanguages) CanadianEnglish.getRelevantRules(ResourceBundle messages, UserConfig userConfig, Language motherTongue, List<Language> altLanguages) Catalan.getRelevantRules(ResourceBundle messages, UserConfig userConfig, Language motherTongue, List<Language> altLanguages) Chinese.getRelevantRules(ResourceBundle messages, UserConfig userConfig, Language motherTongue, List<Language> altLanguages) CrimeanTatar.getRelevantRules(ResourceBundle messages, UserConfig userConfig, Language languagees, List<Language> altLanguages) Danish.getRelevantRules(ResourceBundle messages, UserConfig userConfig, Language motherTongue, List<Language> altLanguages) Deprecated.Dutch.getRelevantRules(ResourceBundle messages, UserConfig userConfig, Language motherTongue, List<Language> altLanguages) English.getRelevantRules(ResourceBundle messages, UserConfig userConfig, Language motherTongue, List<Language> altLanguages) Esperanto.getRelevantRules(ResourceBundle messages, UserConfig userConfig, Language motherTongue, List<Language> altLanguages) French.getRelevantRules(ResourceBundle messages, UserConfig userConfig, Language motherTongue, List<Language> altLanguages) Galician.getRelevantRules(ResourceBundle messages, UserConfig userConfig, Language motherTongue, List<Language> altLanguages) German.getRelevantRules(ResourceBundle messages, UserConfig userConfig, Language motherTongue, List<Language> altLanguages) GermanyGerman.getRelevantRules(ResourceBundle messages, UserConfig userConfig, Language motherTongue, List<Language> altLanguages) Greek.getRelevantRules(ResourceBundle messages, UserConfig userConfig, Language motherTongue, List<Language> altLanguages) Irish.getRelevantRules(ResourceBundle messages, UserConfig userConfig, Language motherTongue, List<Language> altLanguages) Italian.getRelevantRules(ResourceBundle messages, UserConfig userConfig, Language motherTongue, List<Language> altLanguages) Japanese.getRelevantRules(ResourceBundle messages, UserConfig userConfig, Language motherTongue, List<Language> altLanguages) Khmer.getRelevantRules(ResourceBundle messages, UserConfig userConfig, Language motherTongue, List<Language> altLanguages) LanguageBuilder.ExtendedLanguage.getRelevantRules(ResourceBundle messages, UserConfig userConfig, Language motherTongue, List<Language> altLanguages) MozambiquePortuguese.getRelevantRules(ResourceBundle messages, UserConfig userConfig, Language motherTongue, List<Language> altLanguages) NewZealandEnglish.getRelevantRules(ResourceBundle messages, UserConfig userConfig, Language motherTongue, List<Language> altLanguages) NonSwissGerman.getRelevantRules(ResourceBundle messages, UserConfig userConfig, Language motherTongue, List<Language> altLanguages) Persian.getRelevantRules(ResourceBundle messages, UserConfig userConfig, Language motherTongue, List<Language> altLanguages) Polish.getRelevantRules(ResourceBundle messages, UserConfig userConfig, Language motherTongue, List<Language> altLanguages) PortugalPortuguese.getRelevantRules(ResourceBundle messages, UserConfig userConfig, Language motherTongue, List<Language> altLanguages) Portuguese.getRelevantRules(ResourceBundle messages, UserConfig userConfig, Language motherTongue, List<Language> altLanguages) Romanian.getRelevantRules(ResourceBundle messages, UserConfig userConfig, Language motherTongue, List<Language> altLanguages) Russian.getRelevantRules(ResourceBundle messages, UserConfig userConfig, Language motherTongue, List<Language> altLanguages) SimpleGerman.getRelevantRules(ResourceBundle messages, UserConfig userConfig, Language motherTongue, List<Language> altLanguages) Slovak.getRelevantRules(ResourceBundle messages, UserConfig userConfig, Language motherTongue, List<Language> altLanguages) Slovenian.getRelevantRules(ResourceBundle messages, UserConfig userConfig, Language motherTongue, List<Language> altLanguages) Deprecated.SouthAfricanEnglish.getRelevantRules(ResourceBundle messages, UserConfig userConfig, Language motherTongue, List<Language> altLanguages) Spanish.getRelevantRules(ResourceBundle messages, UserConfig userConfig, Language motherTongue, List<Language> altLanguages) Swedish.getRelevantRules(ResourceBundle messages, UserConfig userConfig, Language motherTongue, List<Language> altLanguages) Deprecated.SwissGerman.getRelevantRules(ResourceBundle messages, UserConfig userConfig, Language motherTongue, List<Language> altLanguages) Tagalog.getRelevantRules(ResourceBundle messages, UserConfig userConfig, Language motherTongue, List<Language> altLanguages) Deprecated.Tamil.getRelevantRules(ResourceBundle messages, UserConfig userConfig, Language motherTongue, List<Language> altLanguages) Ukrainian.getRelevantRules(ResourceBundle messages, UserConfig userConfig, Language motherTongue, List<Language> altLanguages) ValencianCatalan.getRelevantRules(ResourceBundle messages, UserConfig userConfig, Language motherTongue, List<Language> altLanguages) French.getRelevantRulesGlobalConfig(ResourceBundle messages, GlobalConfig globalConfig, UserConfig userConfig, Language motherTongue, List<Language> altLanguages) English.getRemoteEnhancedRules(ResourceBundle messageBundle, List<RemoteRuleConfig> configs, UserConfig userConfig, Language motherTongue, List<Language> altLanguages, boolean inputLogging) English.getRemoteEnhancedRules(ResourceBundle messageBundle, List<RemoteRuleConfig> configs, UserConfig userConfig, Language motherTongue, List<Language> altLanguages, boolean inputLogging) -
Uses of Rule in org.languagetool.language.rules.ast
Subclasses of Rule in org.languagetool.language.rules.ast -
Uses of Rule in org.languagetool.language.tl
Subclasses of Rule in org.languagetool.language.tl -
Uses of Rule in org.languagetool.noop
Methods in org.languagetool.noop that return types with arguments of type RuleModifier and TypeMethodDescriptionNoopLanguage.getRelevantRules(ResourceBundle messages, UserConfig userConfig, Language motherTongue, List<Language> altLanguages) -
Uses of Rule in org.languagetool.rules
Subclasses of Rule in org.languagetool.rulesModifier and TypeClassDescriptionclassA rule that checks case in phrasesclassChecks that compounds (if in the list) are not written as separate words.classAnother use of the compounds file -- check for compounds written with dashes instead of hyphens (for example, Rabka — Zdrój).classA rule that gives hints about the use of filler words.classA rule that matches "..", "::", "-," but not "...", "!..", "?!!", ",-" etc.classclassA rule that matches words which should not be used and suggests correct ones instead.classA rule that matches words which should not be used and suggests correct ones instead.classAn abstract rule that checks if there is a missing space before some conjunctions.classA rule that matches words which need a specific upper/lowercase spelling.classA rule that gives hints when a defined condition is fulfilled and the percentage of hints in the text exceeds the given limit.classA rule that gives hints when a defined condition is fulfilled and the percentage of hints in the text exceeds the given limit.classAn abstract rule checks the appearance of same words in a sentence or in two consecutive sentences.classThe method gives stylistic hints that a word is being used too often when the set percentage has been exceeded.(default off).classBase class providing support for detecting, parsing and converting between measurements in different unitsclassA rule that matches words for which two different spellings are used throughout the document.classRule for detecting same words in the sentence but not just in a row.classreorder suggestions from another rule using BERT as a LMclassA rule that matches periods, commas and closing parenthesis preceded by whitespace and opening parenthesis followed by whitespace.classA simple demo rule as an example for how to implement your own Java-based rule in LanguageTool.classA rule that matches ".." (but not "..." etc) and ",,".classA rule that checks for empty lines.classclassRule that finds unpaired quotes, brackets etc.classRule that finds unpaired quotesclassBase 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:static classInternal rule to create rule matches with IDs based on Match Sub-IDsclassA rule that warns on long paragraphs.classA rule that warns on long sentences.classCheck if there is duplicated whitespace in a sentence.classCheck if to paragraphs begin with the same word.classA rule that checks for a punctuation mark at the end of a paragraph.classA rule that checks for a punctuation mark at the end of a paragraph.classA 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)class(package private) static classclassChecks that there's whitespace between sentences.classclassclassA rule that considers the complete text, not just one sentence after the other.classChecks that a sentence starts with an uppercase letter.classA rule that checks for WhiteSpaces at the begin of a paragraphclassA rule that checks for a whitespace at the end of a paragraphclassA rule that matches several punctuation signs such as:;and%preceded by whitespace.classCheck if three successive sentences begin with the same word, e.g.classCheck if a word is repeated, e.g.classCheck if there is a confusion of two words (which might have a similar spelling) depending on the context.Fields in org.languagetool.rules declared as RuleModifier and TypeFieldDescriptionprivate final RuleRuleMatch.ruleprivate final RuleSuggestionFilter.ruleprivate final RuleBERTSuggestionRanking.wrappedRuleMethods in org.languagetool.rules that return RuleConstructors in org.languagetool.rules with parameters of type RuleModifierConstructorDescriptionBERTSuggestionRanking(Language language, Rule rule, RemoteRuleConfig config, boolean inputLogging) Deprecated.use a constructor that also takes anAnalyzedSentenceparameter (deprecated since 4.0)RuleMatch(Rule rule, int fromPos, int toPos, String message, String shortMessage, boolean startWithUppercase, String suggestionsOutMsg) Deprecated.use a constructor that also takes anAnalyzedSentenceparameter (deprecated since 4.0)RuleMatch(Rule rule, AnalyzedSentence sentence, int fromPos, int toPos, int patternStartPos, int patternEndPos, String message, String shortMessage) Creates a RuleMatch object, taking the rule that triggered this match, position of the match and an explanation message.RuleMatch(Rule rule, AnalyzedSentence sentence, int fromPos, int toPos, int patternFromPos, int patternToPos, String message, String shortMessage, boolean startWithUppercase, boolean isAllUppercase, String suggestionsOutMsg, boolean setOriginalErrorStr) Creates a RuleMatch object, taking the rule that triggered this match, position of the match and an explanation message.RuleMatch(Rule rule, AnalyzedSentence sentence, int fromPos, int toPos, int patternFromPos, int patternToPos, String message, String shortMessage, boolean startWithUppercase, String suggestionsOutMsg) RuleMatch(Rule rule, AnalyzedSentence sentence, int fromPos, int toPos, String message) Creates a RuleMatch object, taking the rule that triggered this match, position of the match and an explanation message.RuleMatch(Rule rule, AnalyzedSentence sentence, int fromPos, int toPos, String message, String shortMessage) Creates a RuleMatch object, taking the rule that triggered this match, position of the match and an explanation message.RuleMatch(Rule rule, AnalyzedSentence sentence, int fromPos, int toPos, String message, String shortMessage, List<String> suggestions) Create a rule match with any suggestions in the message overridden by the given suggestionsSuggestionFilter(Rule rule, Language lang) -
Uses of Rule in org.languagetool.rules.ar
Subclasses of Rule in org.languagetool.rules.arModifier and TypeClassDescriptionclassclassclassA rule that matches words which should not be used and suggests correct ones instead.classA rule that matches words which are complex and suggests easier to understand alternatives.classclassA rule that matches words which are homophones and suggests easier to understand alternatives.final classclassclassclassA rule that matches redundant expression.classclassclassclassArabic version ofAbstractWordCoherencyRuleclassA rule that matches wordy expressions.classWord repeat rule for َArabic, to avoid false alarms in the generic word repetition rule.class -
Uses of Rule in org.languagetool.rules.be
Subclasses of Rule in org.languagetool.rules.beModifier and TypeClassDescriptionclassA rule that matches words which need a specific upper/lowercase spelling.final classclassA rule that matches words or phrases which should not be used and suggests correct ones instead. -
Uses of Rule in org.languagetool.rules.bitext
Subclasses of Rule in org.languagetool.rules.bitextModifier and TypeClassDescriptionclassAbstract bitext rule class.classChecks if the translation has a really different length than the source (smaller than 30% or longer by 250%).classChecks if the translation has the same ending punctuation as the source.classChecks if the translation for segments that have more than two words is different. -
Uses of Rule in org.languagetool.rules.br
Subclasses of Rule in org.languagetool.rules.brModifier and TypeClassDescriptionclassChecks that compounds (if in the list) are not written as separate words.final classclassA rule that matches place names in French which should be translated in Breton. -
Uses of Rule in org.languagetool.rules.ca
Subclasses of Rule in org.languagetool.rules.caModifier and TypeClassDescriptionclassAdds simple replacement using lemmasclassclassclassclassclassAdds Catalan suggestions toWordRepeatBeginningRule.classAvoid false alarms in the word repetition rule.classclassclassChecks that compounds (if in the list) are not written as separate words.final classclassclassA rule that suggests better names for technical operation names Loads the relevant words from/ca/replace_operationnames.txt.classSuggestions for replacing adverbs -ment Loads the relevant word forms fromrules/ca/replace_adverbs_ment.txt.classA rule that matches words which should not be used and suggests correct ones instead.classA rule that matches words which should not be used and suggests correct ones instead.classDicritics with IEC rules.classA rule that matches lemmas found only in DNV (AVL dictionary) and suggests alternative words.classA rule that matches lemmas found only in DNV (AVL dictionary) and suggests alternative words.classA rule that matches lemmas found only in DNV (AVL dictionary) and suggests alternative words.classA rule that matches words which should not be used and suggests correct ones instead.classA rule that matches words which should not be used and suggests correct ones instead.classA rule that matches incorrect verbs (including all inflected forms) and suggests correct ones instead.classCatalan version ofAbstractWordCoherencyRule.classCatalan version ofAbstractWordCoherencyRule. -
Uses of Rule in org.languagetool.rules.crh
Subclasses of Rule in org.languagetool.rules.crh -
Uses of Rule in org.languagetool.rules.de
Subclasses of Rule in org.languagetool.rules.deModifier and TypeClassDescriptionclassSimple agreement checker for German noun phrases.classSimple agreement checker for German noun phrases.classclassCheck that adjectives and verbs are not written with an uppercase first letter (except at the start of a sentence) and cases like this:Das laufen fällt mir leicht.(laufenneeds to be uppercased).classCheck consistent spelling for German compounds.classChecks the compound spelling of infinitive clause (Erweiterter Infinitiv mit zu)classA rule that gives Hints about the use of German filler words.classPrüft, dass in Bindestrich-Komposita kein Leerzeichen eingefügt wird (wie z.B.classCoherent use of Du/du, Dich/dich etc.classclassChecks that compounds are not written as separate words.classclassDouble punctuation rule with German-specific error message.classA rule that gives Hints about the use of German filler words.classCheck if to paragraphs begin with the same word.classA rule that checks the readability of German 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)classclassclassA rule checks the appearance of same words in a sentence or in two consecutive sentences.classclassclassExtendsWordRepeatBeginningRuleby a list of German adverbs ("Konjunktionaladverbien") for a more precise error message.classCheck if a word is repeated twice, taking into account an exception for German where e.g.classclassA rule that warns on long sentences.classA rule checks a sentence for a missing comma before or after a relative clause (only for German language).classChecks that a sentence contains at least one verb.final classDeprecated.since 4.4, use GermanSpellerRuleclassA rule that gives Hints about the use of non-significant verbs.classFinds spellings that were only correct in the pre-reform orthography.classA rule that gives Hints about the use of German filler words.classFind compounds that might be morphologically correct but are still probably wrong, like 'Lehrzeile'.classA rule that detects redundant modal and auxiliary verbs.classChecks that there's whitespace between sentences etc.classA rule that gives Hints about the use of German filler words.classA rule that gives Hints about the use of German filler words.classSearch for names similar to ones used before in the same text, as these might be typos.classA rule that matches words which should not be used and suggests correct ones instead.classA rule checks sentences beginning repeatedly with a subject.classA rule checks the use of very short sentences repeatedly.classA rule that gives Hints about too often used AdjectivesclassA rule that gives Hints about too often used NounsclassA rule that gives Hints about too often used VerbsclassCheck subject verb agreement for verb forms "ist", "sind", "war" and "waren".classclassclassclassA rule that gives Hints about the use of German phrases.classFinds some(!) words written uppercase that should be spelled lowercase and vice versa.classSimple agreement checker for German verbs and subject.classCheck incorrect use of "spiegelt ...classGerman version ofAbstractWordCoherencyRule. -
Uses of Rule in org.languagetool.rules.el
Subclasses of Rule in org.languagetool.rules.elModifier and TypeClassDescriptionclassA rule that matches redundant expressions.classA rule that matches words which need a specific upper/lowercase spelling.classAdds a list Greek adverbs toWordRepeatBeginningRule.final classclassRule for checking correct spell of ordinal numerals.class -
Uses of Rule in org.languagetool.rules.en
Subclasses of Rule in org.languagetool.rules.enModifier and TypeClassDescriptionclassclassA rule that matches words or phrases which should not be used and suggests correct ones instead.classCheck if the determiner (if any) preceding a word is: an if the next word starts with a vowel a if the next word does not start with a vowel This rule loads some exceptions from external filesdet_a.txtanddet_an.txt(e.g.classA rule that matches words or phrases which should not be used and suggests correct ones instead.classChecks that compounds (if in the list) are not written as separate words.classCheck for consistent use of apostrophes (typographic (’) vs.classA rule that matches words or phrases which should not be used and suggests correct ones instead, e.g.classclassCheck for compounds written with dashes instead of hyphens.classA rule that matches words which require specific diacritics (e.g,a lainstead ofà la).classFalse friends for Dutch native speakers who write English text, based on ngrams.classFalse friends for French native speakers who write English text, based on ngrams.classFalse friends for German native speakers who write English text, based on ngrams.classFalse friends for non-native speakers who write English text, based on ngrams.classFalse friends for Spanish native speakers who write English text, based on ngrams.classclassA rule that matches words which are complex and suggests easier to understand alternatives.classA rule that matches redundant expression.classclassA rule that matches words which need a specific upper/lowercase spelling.classclassclassAdds a list English adverbs toWordRepeatBeginningRule.classWord repeat rule for English, to avoid false alarms in the generic word repetition rule.classclassfinal classfinal classfinal classfinal classfinal classfinal classclassA rule that matches words or phrases which should not be used and suggests correct ones instead.classA rule that matches words which should not be used.classA rule that matches words which should not be used and suggests correct ones instead.classA rule that gives Hints about too often used AdjectivesclassA rule that gives Hints about too often used NounsclassA rule that gives Hints about too often used VerbsclassclassclassclassFinds some(!) words written uppercase that should be spelled lowercase.classEnglish version ofAbstractWordCoherencyRule -
Uses of Rule in org.languagetool.rules.es
Subclasses of Rule in org.languagetool.rules.esModifier and TypeClassDescriptionclassChecks that compounds (if in the list) are not written as separate words.classclassA rule that checks there's a '¿' character if the sentence ends with '?', same for '¡' and '!'.classA rule that matches words which should not be used and suggests correct ones instead.classA rule that matches incorrect verbs (including all inflected forms) and suggests correct ones instead.classclassclassclassA rule that matches common Wikipedia errors.classAdds Spanish suggestions toWordRepeatBeginningRule.classAvoid false alarms in the word repetition rule.class -
Uses of Rule in org.languagetool.rules.fa
Subclasses of Rule in org.languagetool.rules.faModifier and TypeClassDescriptionclassA rule that matches periods, commas and closing parenthesis preceded by whitespace and opening parenthesis followed by whitespace.classA rule that matches ".." (but not "..." etc) and "،،".classA Persian rule that checks if there is a missing space before some conjunctions.classList of Persian adverbs for WordRepeatBeginningRuleclassWord repeat rule for English, to avoid false alarms in the generic word repetition rule.classclassPersian version ofAbstractWordCoherencyRule. -
Uses of Rule in org.languagetool.rules.fr
Subclasses of Rule in org.languagetool.rules.frModifier and TypeClassDescriptionclassChecks that compounds (if in the list) are not written as separate words.classclassclassQueries a local Grammalecte server.(package private) static classfinal classclassA rule that matches spaces before ?,:,; and ! (required for correct French punctuation).classA rule that matches spaces before ?,:,; and ! (required for correct French punctuation).classA rule that matches words which should not be used and suggests correct ones instead. -
Uses of Rule in org.languagetool.rules.ga
Subclasses of Rule in org.languagetool.rules.gaModifier and TypeClassDescriptionfinal classChecks that compounds (if in the list) are not written as separate words.classA rule that matches words in the dative plural and suggests the common plural instead.classclassA rule that matches words which should not be used and suggests correct ones instead.classA rule that matches words which should not be used and suggests correct ones instead.classA rule that matches words which should not be used and suggests correct ones instead.classA rule that matches words which need a specific upper/lowercase spelling.classA rule that matches words which should not be used and suggests correct ones instead.final classclassA rule that matches words which should not be used and suggests correct ones instead.classA rule that matches words which should not be used and suggests correct ones instead.classA rule that matches words which should not be used and suggests correct ones instead. -
Uses of Rule in org.languagetool.rules.gl
Subclasses of Rule in org.languagetool.rules.glModifier and TypeClassDescriptionclassA rule that matches words or phrases which should not be used and suggests correct ones instead.classA rule that matches words which should not be used and suggests correct ones instead.classA rule that matches redundant expression.classA rule that matches common Wikipedia errors.classA rule that matches wordy expressions.classA rule that matches words or phrases which should not be used and suggests correct ones instead. -
Uses of Rule in org.languagetool.rules.it
Subclasses of Rule in org.languagetool.rules.itModifier and TypeClassDescriptionclassclassAvoid false alarms in the word repetition rule.final class -
Uses of Rule in org.languagetool.rules.km
Subclasses of Rule in org.languagetool.rules.kmModifier and TypeClassDescriptionfinal classclassA rule that matches words which should not be used and suggests correct ones instead.classA Khmer rule that checks if there is a missing space before some conjunctions.classclassCheck if a word is repeated in Khmer, e.g. -
Uses of Rule in org.languagetool.rules.ngrams
Subclasses of Rule in org.languagetool.rules.ngramsModifier and TypeClassDescriptionclassLanguageTool's homophone confusion check that uses ngram lookups to decide which word in a confusion set (fromconfusion_sets.txt) suits best.(package private) static classclassLanguageTool'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. -
Uses of Rule in org.languagetool.rules.nl
Subclasses of Rule in org.languagetool.rules.nlModifier and TypeClassDescriptionclassclassChecks that compounds (if in the list) are not written as separate words.classclassfinal classclassFinds words for which a better variant exists.classA rule that matches words or phrases which should not be used and suggests correct ones instead.classclassDutch version ofAbstractWordCoherencyRule.Fields in org.languagetool.rules.nl declared as RuleConstructors in org.languagetool.rules.nl with parameters of type RuleModifierConstructorDescription(package private)PreferredWordRuleWithSuggestion(Rule rule, String oldWord, String newWord) -
Uses of Rule in org.languagetool.rules.patterns
Subclasses of Rule in org.languagetool.rules.patternsModifier and TypeClassDescriptionclassAn Abstract Pattern Rule that describes a pattern of words or part-of-speech tags used for PatternRule and DisambiguationPatternRule.classA base class forPatternToken-based rules.classWrapper for loadedAbstractPatternRuleinstances to act as text-level rulesclassA pattern rule for finding false friends.classA Rule that describes a language error as a simple pattern of words or of part-of-speech tags.classMatches 'regexp' elements from XML rules against sentences.classWrapper for loadedAbstractPatternRuleinstances to act as text-level rulesprivate static classFields in org.languagetool.rules.patterns with type parameters of type RuleMethods in org.languagetool.rules.patterns that return types with arguments of type RuleModifier and TypeMethodDescriptionRuleSet.allRules()PatternRuleTransformer.TransformedRules.getTransformedRules()RuleSet.rulesForSentence(AnalyzedSentence sentence) Method parameters in org.languagetool.rules.patterns with type arguments of type RuleModifier and TypeMethodDescriptionprivate static RuleSetstatic RuleSetstatic RuleSetRuleSet.textHinted(List<? extends Rule> rules) static RuleSetRuleSet.textLemmaHinted(List<? extends Rule> rules) -
Uses of Rule in org.languagetool.rules.patterns.bitext
Subclasses of Rule in org.languagetool.rules.patterns.bitext -
Uses of Rule in org.languagetool.rules.pl
Subclasses of Rule in org.languagetool.rules.plModifier and TypeClassDescriptionfinal classChecks that compounds (if in the list) are not written as separate words.classCheck for compounds written with dashes instead of hyphens (for example, Rabka — Zdrój).final classclassclassclassA rule that matches words or phrases which should not be used and suggests correct ones instead.classPolish version ofAbstractWordCoherencyRule. -
Uses of Rule in org.languagetool.rules.pt
Subclasses of Rule in org.languagetool.rules.ptModifier and TypeClassDescriptionclassA rule that matches words which should not be used and suggests correct ones instead.classA rule that matches words or phrases which should not be used and suggests correct ones instead, e.g.classclassA rule that matches words which should not be used and suggests correct ones instead.classThis rule checks if a word without graphical accent and with a verb POS tag should be a noun or an adjective with graphical accent.classA rule that matches words or phrases which should not be used and suggests correct ones instead.classA rule that matches words which should not be used and suggests correct ones instead.classA rule that matches words which should not be used and suggests correct ones instead.classA rule that matches words which should not be used and suggests correct ones instead.classChecks that compounds (if in the list) are not written as separate words.classclassA rule that matches words which require specific diacritics (e.g,a lainstead ofà la).classA rule that gives hints on the use of Portuguese filler words.classRule for simple and frequent one-to-one spelling fixes in Portuguese.classA rule that checks the readability of Portuguese 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)classA rule that matches redundant expression.classA rule that matches words or phrases which should not be used and suggests correct ones instead.classLocalized from the German version by Tiago F.classA rule that matches known empty expressions.classA rule that matches common Wikipedia errors.classPortuguese version ofAbstractWordCoherencyRule.classA rule that matches wordy expressions.classAdds a list Portuguese adverbs toWordRepeatBeginningRule.classPalavras que se repetem no Poruguês.classclassChecks that compounds (if in the list) are not written as separate words.classCheck for compounds written with dashes instead of hyphens.classChecks that compounds (if in the list) are not written as separate words.classCheck for compounds written with dashes instead of hyphens. -
Uses of Rule in org.languagetool.rules.ro
Subclasses of Rule in org.languagetool.rules.roModifier and TypeClassDescriptionclassChecks that compounds (if in the list) are not written as separate words.final classclassWordRepeatBeginningRuleimplementation for Romanian language.classA rule that matches words which should not be used and suggests correct ones instead. -
Uses of Rule in org.languagetool.rules.ru
Subclasses of Rule in org.languagetool.rules.ruModifier and TypeClassDescriptionfinal classfinal classAn experimental rule for spell check (only yo variant)(set default off).classChecks that compounds (if in the list) are not written as separate words.classclassCheck for compounds written with dashes instead of hyphens.classA rule that gives Hints about the use of Russian filler words.classA rule that matches words or phrases which should not be used and suggests correct ones instead.classAvoid false alarms in the word repetition rule.classA rule that matches words which need a specific upper/lowercase spelling.classclassclassRussian version ofAbstractWordCoherencyRule.classclassWordRootRepeatRule. -
Uses of Rule in org.languagetool.rules.sk
Subclasses of Rule in org.languagetool.rules.skModifier and TypeClassDescriptionfinal classChecks that compounds (if in the list) are not written as separate words.final class -
Uses of Rule in org.languagetool.rules.sl
Subclasses of Rule in org.languagetool.rules.sl -
Uses of Rule in org.languagetool.rules.spelling
Subclasses of Rule in org.languagetool.rules.spellingModifier and TypeClassDescriptionclassAn abstract rule for spellchecking rules.classspell 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 suggestionsprivate classFields in org.languagetool.rules.spelling declared as RuleFields in org.languagetool.rules.spelling with type parameters of type RuleMethods in org.languagetool.rules.spelling that return RuleConstructors in org.languagetool.rules.spelling with parameters of type Rule -
Uses of Rule in org.languagetool.rules.spelling.hunspell
Subclasses of Rule in org.languagetool.rules.spelling.hunspellModifier and TypeClassDescriptionclassA spell checker that combines Hunspell and Morfologik spell checking to support compound words and offer fast suggestions for some misspelled compound words.classLikeHunspellRule, but does not offer suggestions for incorrect words as that is very slow with Hunspell.classA hunspell-based spellchecking-rule. -
Uses of Rule in org.languagetool.rules.spelling.morfologik
Subclasses of Rule in org.languagetool.rules.spelling.morfologik -
Uses of Rule in org.languagetool.rules.sv
Subclasses of Rule in org.languagetool.rules.svModifier and TypeClassDescriptionclassChecks that compounds (if in the list) are not written as separate words.classSwedish version ofAbstractWordCoherencyRule. -
Uses of Rule in org.languagetool.rules.uk
Subclasses of Rule in org.languagetool.rules.ukModifier and TypeClassDescriptionclassA rule that finds hidden characters in the textclassclassA rule that matches words Latin and Cyrillic characters in themfinal classclassA rule that matches "..", "::", "-," but not "...", "!..", "?!!", ",-" etc TODO: spaces seem to be special, extract from regexp?classA rule that matches proper names that has been renamed Loads the relevant words fromrules/uk/replace_renamed.txt.classA rule that matches words which should not be used and suggests correct ones instead.classA rule that matches words for which better alternatives exist and suggests them instead.classA rule that matches words that are written by 1992 spelling rules and suggests 2019 spelling instead.classA rule that matches words that are written by 2019 spelling (not approved in 1992 version)classA rule that checks if adjective and following noun agree on gender and inflectionclassA rule that checks if noun and verb agreeclassA rule that checks if adjective and following noun agree on gender and inflectionclassA rule that checks if preposition and a noun agree on inflection etcclassA rule that checks if noun and verb agreeclassA rule that matches short dash inside wordsclassclassclass -
Uses of Rule in org.languagetool.rules.zh
Subclasses of Rule in org.languagetool.rules.zh -
Uses of Rule in org.languagetool.server
Subclasses of Rule in org.languagetool.serverMethods in org.languagetool.server that return types with arguments of type RuleModifier and TypeMethodDescriptionPipeline.getAllActiveOfficeRules()Pipeline.getAllActiveRules()Pipeline.getAllRules()DatabaseAccess.getRules(UserLimits limits, Language lang, List<String> groups) DatabaseAccessOpenSource.getRules(UserLimits limits, Language lang, List<String> groups) TextChecker.getUserRules(UserLimits limits, Language lang, List<String> groups) Methods in org.languagetool.server with parameters of type Rule -
Uses of Rule in org.languagetool.tagging.disambiguation.rules
Subclasses of Rule in org.languagetool.tagging.disambiguation.rulesModifier and TypeClassDescriptionclassA Rule that describes a pattern of words or part-of-speech tags used for disambiguation. -
Uses of Rule in org.languagetool.tokenizers
Methods in org.languagetool.tokenizers that return types with arguments of type RuleModifier and TypeMethodDescriptionSimpleSentenceTokenizer.AnyLanguage.getRelevantRules(ResourceBundle messages, UserConfig userConfig, Language motherTongue, List<Language> altLanguages) -
Uses of Rule in org.languagetool.tools
Methods in org.languagetool.tools with parameters of type RuleModifier and TypeMethodDescriptionstatic intTools.profileRulesOnLine(String contents, JLanguageTool lt, Rule rule) -
Uses of Rule in org.languagetool.tools.grpc
Subclasses of Rule in org.languagetool.tools.grpc
JLanguageTool.check(java.lang.String)methods instead.