A B C D E F G H I J L M N O P R S T U V W X Y 
All Classes All Packages

A

AbstractCompoundRule - Class in org.languagetool.rules
Checks that compounds (if in the list) are not written as separate words.
AbstractCompoundRule(ResourceBundle, String, String, String) - Constructor for class org.languagetool.rules.AbstractCompoundRule
 
AbstractCompoundRule(ResourceBundle, String, String, String, String) - Constructor for class org.languagetool.rules.AbstractCompoundRule
 
AbstractDashRule - Class in org.languagetool.rules
Another use of the compounds file -- check for compounds written with dashes instead of hyphens (for example, Rabka — Zdrój).
AbstractDashRule(List<PatternRule>) - Constructor for class org.languagetool.rules.AbstractDashRule
 
AbstractDateCheckFilter - Class in org.languagetool.rules
Accepts rule matches if a date doesn't match the accompanying weekday, e.g.
AbstractDateCheckFilter() - Constructor for class org.languagetool.rules.AbstractDateCheckFilter
 
AbstractDisambiguator - Class in org.languagetool.tagging.disambiguation
Abstract Disambiguator class to provide default (empty) implementation for Disambiguator.preDisambiguate(AnalyzedSentence).
AbstractDisambiguator() - Constructor for class org.languagetool.tagging.disambiguation.AbstractDisambiguator
 
AbstractFillerWordsRule - Class in org.languagetool.rules
A rule that gives hints about the use of filler words.
AbstractFillerWordsRule(ResourceBundle, Language, UserConfig) - Constructor for class org.languagetool.rules.AbstractFillerWordsRule
 
AbstractFillerWordsRule(ResourceBundle, Language, UserConfig, boolean) - Constructor for class org.languagetool.rules.AbstractFillerWordsRule
 
AbstractFutureDateFilter - Class in org.languagetool.rules
Checks if a given date is in the future Used for mismatch detection between verb tense and a given date
AbstractFutureDateFilter() - Constructor for class org.languagetool.rules.AbstractFutureDateFilter
 
AbstractNewYearDateFilter - Class in org.languagetool.rules
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).
AbstractNewYearDateFilter() - Constructor for class org.languagetool.rules.AbstractNewYearDateFilter
 
AbstractPatternRule - Class in org.languagetool.rules.patterns
An Abstract Pattern Rule that describes a pattern of words or part-of-speech tags used for PatternRule and DisambiguationPatternRule.
AbstractPatternRule(String, String, Language, List<PatternToken>, boolean) - Constructor for class org.languagetool.rules.patterns.AbstractPatternRule
 
AbstractPatternRule(String, String, Language, List<PatternToken>, boolean, String) - Constructor for class org.languagetool.rules.patterns.AbstractPatternRule
 
AbstractPatternRule(String, String, Language, Pattern, int) - Constructor for class org.languagetool.rules.patterns.AbstractPatternRule
 
AbstractPatternRulePerformer - Class in org.languagetool.rules.patterns
 
AbstractPatternRulePerformer(AbstractPatternRule, Unifier) - Constructor for class org.languagetool.rules.patterns.AbstractPatternRulePerformer
 
AbstractPunctuationCheckRule - Class in org.languagetool.rules
A rule that matches "..", "::", "-," but not "...", "!..", "?!!", ",-" etc.
AbstractPunctuationCheckRule(ResourceBundle) - Constructor for class org.languagetool.rules.AbstractPunctuationCheckRule
 
AbstractSimpleReplaceRule - Class in org.languagetool.rules
A rule that matches words which should not be used and suggests correct ones instead.
AbstractSimpleReplaceRule(ResourceBundle) - Constructor for class org.languagetool.rules.AbstractSimpleReplaceRule
 
AbstractSimpleReplaceRule2 - Class in org.languagetool.rules
A rule that matches words which should not be used and suggests correct ones instead.
AbstractSimpleReplaceRule2(ResourceBundle, Language) - Constructor for class org.languagetool.rules.AbstractSimpleReplaceRule2
 
AbstractSpaceBeforeRule - Class in org.languagetool.rules
An abstract rule that checks if there is a missing space before some conjunctions.
AbstractSpaceBeforeRule(ResourceBundle, Language) - Constructor for class org.languagetool.rules.AbstractSpaceBeforeRule
 
AbstractStyleRepeatedWordRule - Class in org.languagetool.rules
An abstract rule checks the appearance of same words in a sentence or in two consecutive sentences.
AbstractStyleRepeatedWordRule(ResourceBundle, Language, UserConfig) - Constructor for class org.languagetool.rules.AbstractStyleRepeatedWordRule
 
AbstractUnitConversionRule - Class in org.languagetool.rules
Base class providing support for detecting, parsing and converting between measurements in different units
AbstractUnitConversionRule(ResourceBundle) - Constructor for class org.languagetool.rules.AbstractUnitConversionRule
 
AbstractUnitConversionRule.Message - Enum in org.languagetool.rules
 
AbstractWordCoherencyRule - Class in org.languagetool.rules
A rule that matches words for which two different spellings are used throughout the document.
AbstractWordCoherencyRule(ResourceBundle) - Constructor for class org.languagetool.rules.AbstractWordCoherencyRule
 
acceptedInAlternativeLanguage(String) - Method in class org.languagetool.rules.spelling.SpellingCheckRule
 
acceptMatch(RuleMatch, Probability, AnalyzedSentence) - Method in class org.languagetool.rules.ngrams.NgramProbabilityRule
Overwrite this method to discard matches by returning false.
acceptPhrases(List<String>) - Method in class org.languagetool.rules.spelling.SpellingCheckRule
Accept (case-sensitively, unless at the start of a sentence) the given phrases even though they are not in the built-in dictionary.
acceptRuleMatch(RuleMatch, Map<String, String>, int, AnalyzedTokenReadings[]) - Method in class org.languagetool.rules.AbstractDateCheckFilter
 
acceptRuleMatch(RuleMatch, Map<String, String>, int, AnalyzedTokenReadings[]) - Method in class org.languagetool.rules.AbstractFutureDateFilter
 
acceptRuleMatch(RuleMatch, Map<String, String>, int, AnalyzedTokenReadings[]) - Method in class org.languagetool.rules.AbstractNewYearDateFilter
 
acceptRuleMatch(RuleMatch, Map<String, String>, int, AnalyzedTokenReadings[]) - Method in class org.languagetool.rules.DateRangeChecker
 
acceptRuleMatch(RuleMatch, Map<String, String>, int, AnalyzedTokenReadings[]) - Method in class org.languagetool.rules.PartialPosTagFilter
 
acceptRuleMatch(RuleMatch, Map<String, String>, int, AnalyzedTokenReadings[]) - Method in class org.languagetool.rules.patterns.RuleFilter
Returns the original rule match or a modified one, or null if the rule match is filtered out.
acceptRuleMatch(RuleMatch, Map<String, String>, int, AnalyzedTokenReadings[]) - Method in class org.languagetool.rules.ShortenedYearRangeChecker
 
acceptRuleMatch(RuleMatch, Map<String, String>, int, AnalyzedTokenReadings[]) - Method in class org.languagetool.rules.WhitespaceCheckFilter
 
activateLanguageModelRules(File) - Method in class org.languagetool.JLanguageTool
Activate rules that depend on a language model.
activateNeuralNetworkRules(File) - Method in class org.languagetool.JLanguageTool
Activate rules that depend on pretrained neural network models.
activateWord2VecModelRules(File) - Method in class org.languagetool.JLanguageTool
Activate rules that depend on a word2vec language model.
ActivelyMaintained - org.languagetool.LanguageMaintainedState
 
add(SuggestionStage.Node) - Method in class org.languagetool.rules.spelling.symspell.implementation.ChunkArray
 
ADD - org.languagetool.tagging.disambiguation.rules.DisambiguationPatternRule.DisambiguatorAction
 
addChunkTags(List<AnalyzedTokenReadings>) - Method in interface org.languagetool.chunking.Chunker
 
addChunkTags(List<AnalyzedTokenReadings>) - Method in class org.languagetool.noop.NoopChunker
 
addExamplePair(IncorrectExample, CorrectExample) - Method in class org.languagetool.rules.Rule
Convenience method to add a pair of sentences: an incorrect sentence and the same sentence with the error corrected.
addFilter(Predicate<RuleLoggerMessage>) - Method in class org.languagetool.RuleLogger
 
addGlobalMetaData(String, String) - Method in class org.languagetool.markup.AnnotatedTextBuilder
Add any global meta data about the document to be checked.
addGlobalMetaData(AnnotatedText.MetaDataKey, String) - Method in class org.languagetool.markup.AnnotatedTextBuilder
Add global meta data like document title or receiver name (when writing an email).
addIgnoreTokens(List<String>) - Method in class org.languagetool.rules.spelling.SpellingCheckRule
Add the given words to the list of words to be ignored during spell check.
addIgnoreWords(String) - Method in class org.languagetool.rules.spelling.SpellingCheckRule
 
Addition - org.languagetool.rules.ITSIssueType
 
additionalTags(String, WordTagger) - Method in class org.languagetool.tagging.BaseTagger
Allows additional tagging in some language-dependent circumstances
addLanguage(String, String, File) - Static method in class org.languagetool.Languages
 
addLegacyMatches(List<Match>, String, boolean) - Method in class org.languagetool.rules.patterns.XMLRuleHandler
Adds Match objects for all references to tokens (including '\1' and the like).
addLogger(RuleLogger) - Method in class org.languagetool.RuleLoggerManager
 
addMarkup(String) - Method in class org.languagetool.markup.AnnotatedTextBuilder
Add a markup text snippet like <b attr='something'> or <div>.
addMarkup(String, String) - Method in class org.languagetool.markup.AnnotatedTextBuilder
Add a markup text snippet like <b attr='something'> or <div>.
addMatchFilter(RuleMatchFilter) - Method in class org.languagetool.JLanguageTool
Add a RuleMatchFilter for post-processing of rule matches Filters are called sequentially in the same order as added
addMemberAndGroup(AnalyzedToken) - Method in class org.languagetool.rules.patterns.PatternTokenMatcher
Enables testing multiple conditions specified by different elements.
addNeutralElement(AnalyzedTokenReadings) - Method in class org.languagetool.rules.patterns.Unifier
Used to add neutral elements (AnalyzedTokenReadings to the unified sequence.
addProhibitedWords(List<String>) - Method in class org.languagetool.rules.spelling.SpellingCheckRule
 
addReading(AnalyzedToken, String) - Method in class org.languagetool.AnalyzedTokenReadings
Add a new reading.
addRule(Rule) - Method in class org.languagetool.JLanguageTool
Add a rule to be used by the next call to the check methods like JLanguageTool.check(String).
addSpace(String, Language) - Static method in class org.languagetool.tools.StringTools
Adds spaces before words that are not punctuation.
addSuggestedReplacement(String) - Method in class org.languagetool.rules.RuleMatch
 
addSuggestedReplacements(List<String>) - Method in class org.languagetool.rules.RuleMatch
 
addSuggestionMatch(Match) - Method in class org.languagetool.rules.patterns.AbstractPatternRule
Add formatted suggestion elements.
addSuggestionMatchOutMsg(Match) - Method in class org.languagetool.rules.patterns.AbstractPatternRule
Add formatted suggestion elements outside message.
addSuggestionsToRuleMatch(String, List<String>, List<String>, SuggestionsOrderer, RuleMatch) - Static method in class org.languagetool.rules.spelling.SpellingCheckRule
 
addTemporaryFile(File) - Static method in class org.languagetool.JLanguageTool
Adds a temporary file to the internal list (internal method, you should never need to call this as a user of LanguageTool)
addText(String) - Method in class org.languagetool.markup.AnnotatedTextBuilder
Add a plain text snippet, to be checked by LanguageTool when using JLanguageTool.check(AnnotatedText).
addUnit(String, Unit, String, double, boolean) - Method in class org.languagetool.rules.AbstractUnitConversionRule
Associate a notation with a given unit.
addWord(String) - Method in class org.languagetool.rules.spelling.hunspell.Hunspell.Dictionary
Adds a word to the runtime dictionary.
adjustRuleMatchPos(RuleMatch, int, int, int, String, AnnotatedText) - Method in class org.languagetool.JLanguageTool
Change RuleMatch positions so they are relative to the complete text, not just to the sentence.
AdvancedWordRepeatRule - Class in org.languagetool.rules
Rule for detecting same words in the sentence but not just in a row.
AdvancedWordRepeatRule(ResourceBundle) - Constructor for class org.languagetool.rules.AdvancedWordRepeatRule
 
All - org.languagetool.rules.spelling.symspell.implementation.SymSpell.Verbosity
 
ALL - org.languagetool.JLanguageTool.Mode
Use all active rules for checking.
ALL - org.languagetool.rules.patterns.Match.IncludeRange
 
ALL_BUT_TEXTLEVEL_ONLY - org.languagetool.JLanguageTool.Mode
Use all activate rules for checking except the text-level rules.
ALLLOWER - org.languagetool.rules.patterns.Match.CaseConversion
 
ALLUPPER - org.languagetool.rules.patterns.Match.CaseConversion
 
AnalyzedSentence - Class in org.languagetool
A sentence that has been tokenized and analyzed.
AnalyzedSentence(AnalyzedTokenReadings[]) - Constructor for class org.languagetool.AnalyzedSentence
Creates an AnalyzedSentence from the given AnalyzedTokenReadings.
AnalyzedSentence(AnalyzedTokenReadings[], AnalyzedTokenReadings[]) - Constructor for class org.languagetool.AnalyzedSentence
 
AnalyzedToken - Class in org.languagetool
A word (or punctuation, or whitespace) and its analysis (part-of-speech tag, lemma)
AnalyzedToken(String, String, String) - Constructor for class org.languagetool.AnalyzedToken
 
AnalyzedTokenReadings - Class in org.languagetool
An array of AnalyzedTokens used to store multiple POS tags and lemmas for a given single token.
AnalyzedTokenReadings(List<AnalyzedToken>, int) - Constructor for class org.languagetool.AnalyzedTokenReadings
 
AnalyzedTokenReadings(AnalyzedToken[], int) - Constructor for class org.languagetool.AnalyzedTokenReadings
 
AnalyzedTokenReadings(AnalyzedToken, int) - Constructor for class org.languagetool.AnalyzedTokenReadings
 
AnalyzedTokenReadings(AnalyzedTokenReadings, List<AnalyzedToken>, String) - Constructor for class org.languagetool.AnalyzedTokenReadings
 
analyzeSentences(List<String>) - Method in class org.languagetool.JLanguageTool
 
analyzeSentences(List<String>) - Method in class org.languagetool.MultiThreadedJLanguageTool
 
analyzeText(String) - Method in class org.languagetool.JLanguageTool
Use this method if you want to access LanguageTool's otherwise internal analysis of the text.
AND - Static variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
andGroupCounter - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
AnnotatedText - Class in org.languagetool.markup
A text with markup and with a mapping so error positions will refer to the original position that includes the markup, even though only the plain text parts are checked.
AnnotatedText.MetaDataKey - Enum in org.languagetool.markup
 
AnnotatedTextBuilder - Class in org.languagetool.markup
Use this builder to create input of text with markup for LanguageTool, so that it can check only the plain text parts and ignore the markup, yet still calculate the positions of errors so that they refer to the complete text, including markup.
AnnotatedTextBuilder() - Constructor for class org.languagetool.markup.AnnotatedTextBuilder
 
ANTIPATTERN - Static variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
antiPatterns - Variable in class org.languagetool.rules.patterns.AbstractPatternRule
 
ApiCleanupNeeded - Annotation Type in org.languagetool
An internal marker for places in the source where the API would need to be cleaned up.
apply(String) - Method in class org.languagetool.rules.spelling.morfologik.suggestions_ordering.DetailedDamerauLevenstheinDistance.Delete
 
apply(String) - Method in class org.languagetool.rules.spelling.morfologik.suggestions_ordering.DetailedDamerauLevenstheinDistance.Insert
 
apply(String) - Method in class org.languagetool.rules.spelling.morfologik.suggestions_ordering.DetailedDamerauLevenstheinDistance.Replace
 
apply(String) - Method in class org.languagetool.rules.spelling.morfologik.suggestions_ordering.DetailedDamerauLevenstheinDistance.Transpose
 
applyCustomFilters(List<RuleMatch>, AnnotatedText) - Method in class org.languagetool.JLanguageTool
should be called just once with complete list of matches, before returning them to caller
asAnalyzedToken(String, WordData) - Method in class org.languagetool.tagging.BaseTagger
 
asAnalyzedTokenList(String, List<WordData>) - Method in class org.languagetool.tagging.BaseTagger
 
asAnalyzedTokenListForTaggedWords(String, List<TaggedWord>) - Method in class org.languagetool.tagging.BaseTagger
 
asString(CharSequence) - Static method in class org.languagetool.tools.StringTools
 
assureSet(String, String) - Static method in class org.languagetool.tools.StringTools
Throw exception if the given string is null or empty or only whitespace.

B

BARBARISM - Static variable in class org.languagetool.rules.CategoryIds
A words or expressions that are badly formed according to traditional philological rules, for example a word formed from elements of different languages
BaseLanguageModel - Class in org.languagetool.languagemodel
The algorithm of a language model, independent of the way data is stored (see sub classes for that).
BaseLanguageModel() - Constructor for class org.languagetool.languagemodel.BaseLanguageModel
 
BaseSynthesizer - Class in org.languagetool.synthesis
 
BaseSynthesizer(String, String, String, Language) - Constructor for class org.languagetool.synthesis.BaseSynthesizer
 
BaseSynthesizer(String, String, Language) - Constructor for class org.languagetool.synthesis.BaseSynthesizer
 
BaseTagger - Class in org.languagetool.tagging
Base tagger using Morfologik binary dictionaries.
BaseTagger(String) - Constructor for class org.languagetool.tagging.BaseTagger
 
BaseTagger(String, Locale) - Constructor for class org.languagetool.tagging.BaseTagger
 
BaseTagger(String, Locale, boolean) - Constructor for class org.languagetool.tagging.BaseTagger
 
BitextPatternRule - Class in org.languagetool.rules.patterns.bitext
A bitext pattern rule class.
BitextPatternRuleLoader - Class in org.languagetool.rules.patterns.bitext
Loads PatternRules from an XML file.
BitextPatternRuleLoader() - Constructor for class org.languagetool.rules.patterns.bitext.BitextPatternRuleLoader
 
BitextReader - Interface in org.languagetool.bitext
Interface for classes that implement reading from bitext files, such as translation memory files, glossary files, aligned text...
BitextRule - Class in org.languagetool.rules.bitext
Abstract bitext rule class.
BitextRule() - Constructor for class org.languagetool.rules.bitext.BitextRule
 
build() - Method in class org.languagetool.markup.AnnotatedTextBuilder
Create the annotated text to be passed into JLanguageTool.check(AnnotatedText).
build() - Method in class org.languagetool.rules.patterns.PatternTokenBuilder
 
BUILD_DATE - Static variable in class org.languagetool.JLanguageTool
LanguageTool build date and time like 2013-10-17 16:10 or null if not run from JAR.

C

CachingWordListLoader - Class in org.languagetool.rules.spelling
Helper to load text files from classpath.
CachingWordListLoader() - Constructor for class org.languagetool.rules.spelling.CachingWordListLoader
 
canBeIgnoredFor(AnalyzedSentence) - Method in class org.languagetool.rules.patterns.PatternRule
A fast check whether this rule can be ignored for the given sentence because it can never match.
CASE_SENSITIVE - Static variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
CaseConversionHelper - Class in org.languagetool.rules.patterns
 
caseSensitive - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
CASING - Static variable in class org.languagetool.rules.Categories
Rules about detecting uppercase words where lowercase is required and vice versa.
CASING - Static variable in class org.languagetool.rules.CategoryIds
Rules about detecting uppercase words where lowercase is required and vice versa.
Categories - Class in org.languagetool.rules
Pre-defined rule categories.
category - Variable in class org.languagetool.rules.patterns.PatternRuleHandler
 
Category - Class in org.languagetool.rules
A rule's category.
Category(CategoryId, String) - Constructor for class org.languagetool.rules.Category
 
Category(CategoryId, String, Category.Location) - Constructor for class org.languagetool.rules.Category
 
Category(CategoryId, String, Category.Location, boolean) - Constructor for class org.languagetool.rules.Category
 
Category(CategoryId, String, Category.Location, boolean, String) - Constructor for class org.languagetool.rules.Category
 
Category.Location - Enum in org.languagetool.rules
 
CategoryId - Class in org.languagetool.rules
Identifier for a category.
CategoryId(String) - Constructor for class org.languagetool.rules.CategoryId
 
CategoryIds - Class in org.languagetool.rules
Category ids.
categoryIssueType - Variable in class org.languagetool.rules.patterns.PatternRuleHandler
 
characters(char[], int, int) - Method in class org.languagetool.rules.patterns.PatternRuleHandler
 
Characters - org.languagetool.rules.ITSIssueType
 
charAt(int) - Method in class org.languagetool.tools.InterruptibleCharSequence
 
check(String) - Method in class org.languagetool.JLanguageTool
The main check method.
check(String, boolean, JLanguageTool.ParagraphHandling) - Method in class org.languagetool.JLanguageTool
 
check(String, boolean, JLanguageTool.ParagraphHandling, RuleMatchListener) - Method in class org.languagetool.JLanguageTool
 
check(String, RuleMatchListener) - Method in class org.languagetool.JLanguageTool
The main check method.
check(AnnotatedText) - Method in class org.languagetool.JLanguageTool
The main check method.
check(AnnotatedText, boolean, JLanguageTool.ParagraphHandling) - Method in class org.languagetool.JLanguageTool
The main check method.
check(AnnotatedText, boolean, JLanguageTool.ParagraphHandling, RuleMatchListener) - Method in class org.languagetool.JLanguageTool
The main check method.
check(AnnotatedText, boolean, JLanguageTool.ParagraphHandling, RuleMatchListener, JLanguageTool.Mode) - Method in class org.languagetool.JLanguageTool
The main check method.
check(AnnotatedText, RuleMatchListener) - Method in class org.languagetool.JLanguageTool
 
CHECK - org.languagetool.rules.AbstractUnitConversionRule.Message
 
CHECK_UNKNOWN_UNIT - org.languagetool.rules.AbstractUnitConversionRule.Message
 
checkAnalyzedSentence(JLanguageTool.ParagraphHandling, List<Rule>, AnalyzedSentence) - Method in class org.languagetool.JLanguageTool
This is an internal method that's public only for technical reasons, please use one of the JLanguageTool.check(String) methods instead.
checkAndGroup(boolean) - Method in class org.languagetool.rules.patterns.PatternTokenMatcher
 
checkBitext(String, String, JLanguageTool, JLanguageTool, List<BitextRule>) - Static method in class org.languagetool.tools.Tools
Checks the bilingual input (bitext).
checkSimpleXMLString(String) - Method in class org.languagetool.XMLValidator
Check some limits of our simplified XML output.
checksSpelling() - Method in class org.languagetool.rules.patterns.Match
Used to tell whether the Match class will spell-check the result so that misspelled suggestions are suppressed.
ChunkArray<T> - Class in org.languagetool.rules.spelling.symspell.implementation
 
Chunker - Interface in org.languagetool.chunking
Assign chunks (i.e.
chunkTag - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
ChunkTag - Class in org.languagetool.chunking
The name of a chunk.
ChunkTag(String) - Constructor for class org.languagetool.chunking.ChunkTag
 
CHUNKTAG - Static variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
Classifier - Interface in org.languagetool.rules.neuralnetwork
 
CleanOverlappingFilter - Class in org.languagetool.rules
 
CleanOverlappingFilter(Language) - Constructor for class org.languagetool.rules.CleanOverlappingFilter
 
clear() - Method in class org.languagetool.rules.spelling.symspell.implementation.ChunkArray
 
clear() - Method in class org.languagetool.rules.spelling.symspell.implementation.SuggestionStage
 
clearCaches() - Static method in class org.languagetool.languagemodel.LuceneSingleIndexLanguageModel
Only used internally.
clearFilters() - Method in class org.languagetool.RuleLogger
 
clearLoggers() - Method in class org.languagetool.RuleLoggerManager
 
clone() - Method in class org.languagetool.rules.patterns.PatternToken
 
clone() - Method in class org.languagetool.rules.spelling.symspell.implementation.SuggestItem
 
close() - Method in interface org.languagetool.languagemodel.LanguageModel
 
close() - Method in class org.languagetool.languagemodel.LuceneLanguageModel
 
close() - Method in class org.languagetool.languagemodel.LuceneSingleIndexLanguageModel
 
close() - Method in class org.languagetool.languagemodel.MockLanguageModel
 
close() - Method in class org.languagetool.languagemodel.MultiLanguageModel
 
Closest - org.languagetool.rules.spelling.symspell.implementation.SymSpell.Verbosity
 
COLLOQUIALISMS - Static variable in class org.languagetool.rules.Categories
Colloquial style.
COLLOQUIALISMS - Static variable in class org.languagetool.rules.CategoryIds
Colloquial style.
CombiningTagger - Class in org.languagetool.tagging
Tags a word using two taggers, combining their results.
CombiningTagger(WordTagger, WordTagger, boolean) - Constructor for class org.languagetool.tagging.CombiningTagger
 
CombiningTagger(WordTagger, WordTagger, WordTagger, boolean) - Constructor for class org.languagetool.tagging.CombiningTagger
 
CommaWhitespaceRule - Class in org.languagetool.rules
A rule that matches periods, commas and closing parenthesis preceded by whitespace and opening parenthesis followed by whitespace.
CommaWhitespaceRule(ResourceBundle) - Constructor for class org.languagetool.rules.CommaWhitespaceRule
Deprecated.
CommaWhitespaceRule(ResourceBundle, boolean) - Constructor for class org.languagetool.rules.CommaWhitespaceRule
 
CommaWhitespaceRule(ResourceBundle, IncorrectExample, CorrectExample) - Constructor for class org.languagetool.rules.CommaWhitespaceRule
 
commitStaged(SuggestionStage) - Method in class org.languagetool.rules.spelling.symspell.implementation.SymSpell
 
CommonWords - Class in org.languagetool.language
Information about common words - use as a fallback if language identification yields low confidence.
CommonWords() - Constructor for class org.languagetool.language.CommonWords
 
compare(String, int) - Method in class org.languagetool.rules.spelling.symspell.implementation.EditDistance
 
compare(String, String) - Static method in class org.languagetool.rules.spelling.morfologik.suggestions_ordering.DetailedDamerauLevenstheinDistance
Compute the distance between strings: the minimum number of operations needed to transform one string into the other (insertion, deletion, substitution of a single character, or a transposition of two adjacent characters).
compare(SuggestItem, SuggestItem) - Method in class org.languagetool.rules.spelling.symspell.implementation.SuggestItem
 
compareTo(RuleMatch) - Method in class org.languagetool.rules.RuleMatch
Compare by start position.
compareTo(SuggestItem) - Method in class org.languagetool.rules.spelling.symspell.implementation.SuggestItem
 
compile(AnalyzedTokenReadings, Synthesizer) - Method in class org.languagetool.rules.patterns.PatternToken
Prepare PatternToken for matching by formatting its string token and POS (if the Element is supposed to refer to some other token).
CompoundAwareHunspellRule - Class in org.languagetool.rules.spelling.hunspell
A spell checker that combines Hunspell und Morfologik spell checking to support compound words and offer fast suggestions for some misspelled compound words.
CompoundAwareHunspellRule(ResourceBundle, Language, CompoundWordTokenizer, MorfologikMultiSpeller, UserConfig) - Constructor for class org.languagetool.rules.spelling.hunspell.CompoundAwareHunspellRule
 
CompoundAwareHunspellRule(ResourceBundle, Language, CompoundWordTokenizer, MorfologikMultiSpeller, UserConfig, List<Language>) - Constructor for class org.languagetool.rules.spelling.hunspell.CompoundAwareHunspellRule
 
CompoundAwareHunspellRule(ResourceBundle, Language, CompoundWordTokenizer, MorfologikMultiSpeller, UserConfig, List<Language>, LanguageModel) - Constructor for class org.languagetool.rules.spelling.hunspell.CompoundAwareHunspellRule
 
COMPOUNDING - Static variable in class org.languagetool.rules.Categories
Rules about spelling terms as one word or as as separate words.
CompoundRuleData - Class in org.languagetool.rules
Data about words that are compounds and should thus not be written as separate words.
CompoundRuleData(String) - Constructor for class org.languagetool.rules.CompoundRuleData
 
CompoundRuleData(String...) - Constructor for class org.languagetool.rules.CompoundRuleData
 
CompoundWordTokenizer - Interface in org.languagetool.tokenizers
Interface for components that take compound words and split them into their parts.
computeFeatures(List<String>, String, AnalyzedSentence, int) - Method in class org.languagetool.rules.spelling.suggestions.SuggestionsOrdererFeatureExtractor
compute features for training or prediction of a ranking model for suggestions
CONFUSED_WORDS - Static variable in class org.languagetool.rules.Categories
Words that are easily confused, like 'there' and 'their' in English.
CONFUSED_WORDS - Static variable in class org.languagetool.rules.CategoryIds
Words that are easily confused, like 'there' and 'their' in English.
ConfusionPair - Class in org.languagetool.rules
Two words that can easily be confused - for internal use only.
ConfusionPair(String, String, Long, boolean) - Constructor for class org.languagetool.rules.ConfusionPair
 
ConfusionPair(ConfusionString, ConfusionString, long, boolean) - Constructor for class org.languagetool.rules.ConfusionPair
 
ConfusionProbabilityRule - Class in org.languagetool.rules.ngrams
LanguageTool's homophone confusion check that uses ngram lookups to decide which word in a confusion set (from confusion_sets.txt) suits best.
ConfusionProbabilityRule(ResourceBundle, LanguageModel, Language) - Constructor for class org.languagetool.rules.ngrams.ConfusionProbabilityRule
 
ConfusionProbabilityRule(ResourceBundle, LanguageModel, Language, int) - Constructor for class org.languagetool.rules.ngrams.ConfusionProbabilityRule
 
ConfusionProbabilityRule(ResourceBundle, LanguageModel, Language, int, List<String>) - Constructor for class org.languagetool.rules.ngrams.ConfusionProbabilityRule
 
ConfusionSet - Class in org.languagetool.rules
Words that can easily be confused - for internal use only.
ConfusionSet(long, String...) - Constructor for class org.languagetool.rules.ConfusionSet
 
ConfusionSet(long, List<ConfusionString>) - Constructor for class org.languagetool.rules.ConfusionSet
 
ConfusionSetLoader - Class in org.languagetool.rules
Loads a confusion set from a plain text file (UTF-8).
ConfusionSetLoader() - Constructor for class org.languagetool.rules.ConfusionSetLoader
 
ConfusionString - Class in org.languagetool.rules
A string in a ConfusionPair - for internal use only.
ContextTools - Class in org.languagetool.tools
Helper class to mark errors in text.
ContextTools() - Constructor for class org.languagetool.tools.ContextTools
 
CONTINUE_API - org.languagetool.tools.StringTools.ApiPrintMode
Simply continue rule match output.
Contributor - Class in org.languagetool.language
A person that contributed rules or code to LanguageTool.
conversionLocale - Variable in class org.languagetool.rules.spelling.morfologik.MorfologikSpellerRule
 
conversionLocale - Variable in class org.languagetool.tagging.BaseTagger
 
convertCase(Match.CaseConversion, String, String, Language) - Static method in class org.languagetool.rules.patterns.CaseConversionHelper
Converts case of the string token according to match element attributes.
convertedPatterns - Variable in class org.languagetool.rules.AbstractUnitConversionRule
 
convertsCase() - Method in class org.languagetool.rules.patterns.Match
Used to let LT know that it should change the case of the match.
convertsCase() - Method in class org.languagetool.rules.spelling.morfologik.MorfologikMultiSpeller
Determines whether the dictionary uses case conversions.
convertsCase() - Method in class org.languagetool.rules.spelling.morfologik.MorfologikSpeller
Determines whether the dictionary uses case conversions.
copy(AnalyzedSentence) - Method in class org.languagetool.AnalyzedSentence
The method copies AnalyzedSentence and returns the copy.
correctDate(RuleMatch, Map<String, String>) - Method in class org.languagetool.rules.YMDDateHelper
 
correctExample - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
CorrectExample - Class in org.languagetool.rules
A text, typically a sentence, that doesn't contain an error, at least not one for a specific rule.
CorrectExample(String) - Constructor for class org.languagetool.rules.CorrectExample
 
correctExamples - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
correctText(String, JLanguageTool) - Static method in class org.languagetool.tools.Tools
Automatically applies suggestions to the text, as suggested by the rules that match.
correctTextFromMatches(String, List<RuleMatch>) - Static method in class org.languagetool.tools.Tools
 
count - Variable in class org.languagetool.rules.spelling.symspell.implementation.ChunkArray
 
count - Variable in class org.languagetool.rules.spelling.symspell.implementation.SuggestionStage.Entry
 
count - Variable in class org.languagetool.rules.spelling.symspell.implementation.SuggestItem
 
createDictionary(String) - Method in class org.languagetool.rules.spelling.symspell.implementation.SymSpell
 
createDictionaryEntry(String, long, SuggestionStage) - Method in class org.languagetool.rules.spelling.symspell.implementation.SymSpell
 
createElementMatchers() - Method in class org.languagetool.rules.patterns.AbstractPatternRulePerformer
 
createNullToken(String, int) - Method in class org.languagetool.tagging.BaseTagger
 
createNullToken(String, int) - Method in interface org.languagetool.tagging.Tagger
Create the AnalyzedToken used for whitespace and other non-words.
createNullToken(String, int) - Method in class org.languagetool.tagging.xx.DemoTagger
 
createRuleMatch(String, String, int, int, String, AnalyzedSentence) - Method in class org.languagetool.rules.WordRepeatRule
 
createRuleMatch(AnalyzedTokenReadings, List<String>, AnalyzedSentence) - Method in class org.languagetool.rules.AbstractSimpleReplaceRule
 
createRules(ResourceBundle, Language, Word2VecModel) - Static method in class org.languagetool.rules.neuralnetwork.NeuralNetworkRuleCreator
 
createState(Synthesizer, AnalyzedTokenReadings) - Method in class org.languagetool.rules.patterns.Match
Creates a state used for actually matching a token.
createState(Synthesizer, AnalyzedTokenReadings[], int, int) - Method in class org.languagetool.rules.patterns.Match
Creates a state used for actually matching a token.
createStemmer() - Method in class org.languagetool.synthesis.BaseSynthesizer
Creates a new IStemmer based on the configured dictionary.
createToken(String, String) - Method in class org.languagetool.tagging.BaseTagger
 
createToken(String, String) - Method in interface org.languagetool.tagging.Tagger
Create a token specific to the language of the implementing class.
createToken(String, String) - Method in class org.languagetool.tagging.xx.DemoTagger
 
createUnifier() - Method in class org.languagetool.rules.patterns.UnifierConfiguration
 
createWrongSplitMatch(AnalyzedSentence, List<RuleMatch>, int, String, String, String, int) - Method in class org.languagetool.rules.spelling.SpellingCheckRule
 
csRegex(String) - Static method in class org.languagetool.rules.patterns.PatternRuleBuilderHelper
 
csToken(String) - Static method in class org.languagetool.rules.patterns.PatternRuleBuilderHelper
 
csToken(String) - Method in class org.languagetool.rules.patterns.PatternTokenBuilder
Add a case-sensitive token.
csTokenRegex(String) - Method in class org.languagetool.rules.patterns.PatternTokenBuilder
 

D

Damerau - org.languagetool.rules.spelling.symspell.implementation.EditDistance.DistanceAlgorithm
 
DamerauLevenshteinDistance(String, int) - Method in class org.languagetool.rules.spelling.symspell.implementation.EditDistance
 
DateRangeChecker - Class in org.languagetool.rules
Checks whether the date range is valid, i.e., that the starting date happens before the end date.
DateRangeChecker() - Constructor for class org.languagetool.rules.DateRangeChecker
 
DEFAULT - Static variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
defaultDictSpeller - Variable in class org.languagetool.rules.spelling.SymSpellRule
 
DefaultResourceDataBroker - Class in org.languagetool.databroker
Responsible for getting any items from the grammar checker's resource directories.
DefaultResourceDataBroker() - Constructor for class org.languagetool.databroker.DefaultResourceDataBroker
Instantiates this data broker with the default resource directory names as specified in: ResourceDataBroker.RESOURCE_DIR ResourceDataBroker.RULES_DIR
DefaultResourceDataBroker(String, String) - Constructor for class org.languagetool.databroker.DefaultResourceDataBroker
Instantiates this data broker with the passed resource directory names.
delete() - Method in class org.languagetool.rules.spelling.morfologik.suggestions_ordering.DetailedDamerauLevenstheinDistance.Distance
 
Delete() - Constructor for class org.languagetool.rules.spelling.morfologik.suggestions_ordering.DetailedDamerauLevenstheinDistance.Delete
 
deleteCount() - Method in class org.languagetool.rules.spelling.symspell.implementation.SuggestionStage
 
deletes - Variable in class org.languagetool.rules.spelling.morfologik.suggestions_ordering.DetailedDamerauLevenstheinDistance.Distance
 
deletes - Variable in class org.languagetool.rules.spelling.symspell.implementation.SuggestionStage
 
DemoDisambiguator - Class in org.languagetool.tagging.disambiguation.xx
Trivial disambiguator.
DemoDisambiguator() - Constructor for class org.languagetool.tagging.disambiguation.xx.DemoDisambiguator
 
DemoRule - Class in org.languagetool.rules
A simple demo rule as an example for how to implement your own Java-based rule in LanguageTool.
DemoRule() - Constructor for class org.languagetool.rules.DemoRule
 
DemoTagger - Class in org.languagetool.tagging.xx
A trivial tagger that does nothing than assign null tags to words.
DemoTagger() - Constructor for class org.languagetool.tagging.xx.DemoTagger
 
destroy() - Method in class org.languagetool.rules.spelling.hunspell.Hunspell.Dictionary
Deallocate the dictionary.
destroyDictionary(String) - Method in class org.languagetool.rules.spelling.hunspell.Hunspell
Removes a dictionary from the internal cache
DetailedDamerauLevenstheinDistance - Class in org.languagetool.rules.spelling.morfologik.suggestions_ordering
 
DetailedDamerauLevenstheinDistance.Delete - Class in org.languagetool.rules.spelling.morfologik.suggestions_ordering
 
DetailedDamerauLevenstheinDistance.Distance - Class in org.languagetool.rules.spelling.morfologik.suggestions_ordering
 
DetailedDamerauLevenstheinDistance.EditOperation - Class in org.languagetool.rules.spelling.morfologik.suggestions_ordering
 
DetailedDamerauLevenstheinDistance.Insert - Class in org.languagetool.rules.spelling.morfologik.suggestions_ordering
 
DetailedDamerauLevenstheinDistance.Replace - Class in org.languagetool.rules.spelling.morfologik.suggestions_ordering
 
DetailedDamerauLevenstheinDistance.Transpose - Class in org.languagetool.rules.spelling.morfologik.suggestions_ordering
 
DetectedLanguage - Class in org.languagetool
 
DetectedLanguage(Language, Language) - Constructor for class org.languagetool.DetectedLanguage
 
DetectedLanguage(Language, Language, float) - Constructor for class org.languagetool.DetectedLanguage
 
detectLanguage(String) - Method in class org.languagetool.language.LanguageIdentifier
 
detectLanguage(String, List<String>, List<String>) - Method in class org.languagetool.language.LanguageIdentifier
 
detectNumberRange(AnalyzedSentence, Matcher) - Method in class org.languagetool.rules.AbstractUnitConversionRule
 
Dictionary - Class in org.languagetool.rules.neuralnetwork
 
Dictionary(InputStream) - Constructor for class org.languagetool.rules.neuralnetwork.Dictionary
 
Dictionary(String) - Constructor for class org.languagetool.rules.neuralnetwork.Dictionary
 
DICTIONARY_FILENAME_EXTENSION - Static variable in class org.languagetool.JLanguageTool
Extension of dictionary files read by Spellers
DictionaryMatchFilter - Class in org.languagetool.rules
 
DictionaryMatchFilter(UserConfig) - Constructor for class org.languagetool.rules.DictionaryMatchFilter
 
DifferentLengthRule - Class in org.languagetool.rules.bitext
Checks if the translation has a really different length than the source (smaller than 30% or longer by 250%).
DifferentLengthRule() - Constructor for class org.languagetool.rules.bitext.DifferentLengthRule
 
DifferentPunctuationRule - Class in org.languagetool.rules.bitext
Checks if the translation has the same ending punctuation as the source.
DifferentPunctuationRule() - Constructor for class org.languagetool.rules.bitext.DifferentPunctuationRule
 
disableCategory(CategoryId) - Method in class org.languagetool.JLanguageTool
Disable the given rule category so the check methods like JLanguageTool.check(String) won't use it.
disabledCategories - Variable in class org.languagetool.rules.LanguageDependentFilter
 
disableRule(String) - Method in class org.languagetool.JLanguageTool
Disable a given rule so the check methods like JLanguageTool.check(String) won't use it.
disableRules(List<String>) - Method in class org.languagetool.JLanguageTool
Disable the given rules so the check methods like JLanguageTool.check(String) won't use them.
disambiguate(AnalyzedSentence) - Method in class org.languagetool.noop.NoopDisambiguator
 
disambiguate(AnalyzedSentence) - Method in interface org.languagetool.tagging.disambiguation.Disambiguator
If possible, filters out the wrong POS tags.
disambiguate(AnalyzedSentence) - Method in class org.languagetool.tagging.disambiguation.MultiWordChunker
Implements multiword POS tags, e.g., <ELLIPSIS> for ellipsis (...) start, and </ELLIPSIS> for ellipsis end.
disambiguate(AnalyzedSentence) - Method in class org.languagetool.tagging.disambiguation.MultiWordChunker2
Implements multiword POS tags, e.g., <ELLIPSIS> for ellipsis (...) start, and </ELLIPSIS> for ellipsis end.
disambiguate(AnalyzedSentence) - Method in class org.languagetool.tagging.disambiguation.rules.XmlRuleDisambiguator
 
disambiguate(AnalyzedSentence) - Method in class org.languagetool.tagging.disambiguation.xx.DemoDisambiguator
 
DisambiguatedExample - Class in org.languagetool.tagging.disambiguation.rules
Disambiguated example.
DisambiguatedExample(String) - Constructor for class org.languagetool.tagging.disambiguation.rules.DisambiguatedExample
 
DisambiguatedExample(String, String, String) - Constructor for class org.languagetool.tagging.disambiguation.rules.DisambiguatedExample
 
DisambiguationPatternRule - Class in org.languagetool.tagging.disambiguation.rules
A Rule that describes a pattern of words or part-of-speech tags used for disambiguation.
DisambiguationPatternRule(String, String, Language, List<PatternToken>, String, Match, DisambiguationPatternRule.DisambiguatorAction) - Constructor for class org.languagetool.tagging.disambiguation.rules.DisambiguationPatternRule
 
DisambiguationPatternRule.DisambiguatorAction - Enum in org.languagetool.tagging.disambiguation.rules
Possible disambiguator actions.
DisambiguationRuleLoader - Class in org.languagetool.tagging.disambiguation.rules
Loads DisambiguationPatternRules from a disambiguation rules XML file.
DisambiguationRuleLoader() - Constructor for class org.languagetool.tagging.disambiguation.rules.DisambiguationRuleLoader
 
Disambiguator - Interface in org.languagetool.tagging.disambiguation
Disambiguator interface.
distance - Variable in class org.languagetool.rules.spelling.symspell.implementation.SuggestItem
 
Distance() - Constructor for class org.languagetool.rules.spelling.morfologik.suggestions_ordering.DetailedDamerauLevenstheinDistance.Distance
 
Distance(int, int, int, int) - Constructor for class org.languagetool.rules.spelling.morfologik.suggestions_ordering.DetailedDamerauLevenstheinDistance.Distance
 
DocumentTitle - org.languagetool.markup.AnnotatedText.MetaDataKey
 
DoublePunctuationRule - Class in org.languagetool.rules
A rule that matches ".." (but not "..." etc) and ",,".
DoublePunctuationRule(ResourceBundle) - Constructor for class org.languagetool.rules.DoublePunctuationRule
 
doValidateDirectory(File) - Method in class org.languagetool.languagemodel.LuceneSingleIndexLanguageModel
 
Duplication - org.languagetool.rules.ITSIssueType
 

E

EditDistance - Class in org.languagetool.rules.spelling.symspell.implementation
 
EditDistance(String, EditDistance.DistanceAlgorithm) - Constructor for class org.languagetool.rules.spelling.symspell.implementation.EditDistance
 
EditDistance.DistanceAlgorithm - Enum in org.languagetool.rules.spelling.symspell.implementation
 
EditOperation() - Constructor for class org.languagetool.rules.spelling.morfologik.suggestions_ordering.DetailedDamerauLevenstheinDistance.EditOperation
 
EditOperation(long) - Constructor for class org.languagetool.rules.spelling.morfologik.suggestions_ordering.DetailedDamerauLevenstheinDistance.EditOperation
 
editOperations - Static variable in class org.languagetool.rules.spelling.morfologik.suggestions_ordering.DetailedDamerauLevenstheinDistance
 
elements - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
EmailNumberOfAttachments - org.languagetool.markup.AnnotatedText.MetaDataKey
 
EmailToAddress - org.languagetool.markup.AnnotatedText.MetaDataKey
 
empty() - Method in class org.languagetool.rules.UnsyncStack
Tests if this stack is empty.
EmptyLineRule - Class in org.languagetool.rules
A rule that checks for empty lines.
EmptyLineRule(ResourceBundle, Language) - Constructor for class org.languagetool.rules.EmptyLineRule
 
EmptyLineRule(ResourceBundle, Language, boolean) - Constructor for class org.languagetool.rules.EmptyLineRule
 
enabledRules - Variable in class org.languagetool.rules.LanguageDependentFilter
 
enableFasttext(File, File) - Method in class org.languagetool.language.LanguageIdentifier
 
enableRule(String) - Method in class org.languagetool.JLanguageTool
Enable a given rule so the check methods like JLanguageTool.check(String) will use it.
enableRuleCategory(CategoryId) - Method in class org.languagetool.JLanguageTool
Enable all rules of the given category so the check methods like JLanguageTool.check(String) will use it.
END_API - org.languagetool.tools.StringTools.ApiPrintMode
End XML/JSON output by closing the root element.
endElement(String, String, String) - Method in class org.languagetool.rules.patterns.PatternRuleHandler
 
endPositionCorrection - Variable in class org.languagetool.rules.patterns.AbstractPatternRule
 
endPositionCorrection - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
equals(Object) - Method in class org.languagetool.AnalyzedSentence
 
equals(Object) - Method in class org.languagetool.AnalyzedToken
 
equals(Object) - Method in class org.languagetool.AnalyzedTokenReadings
 
equals(Object) - Method in class org.languagetool.chunking.ChunkTag
 
equals(Object) - Method in class org.languagetool.GlobalConfig
 
equals(Object) - Method in class org.languagetool.Language
Considers languages as equal if their language code, including the country and variant codes are equal.
equals(Object) - Method in class org.languagetool.rules.CategoryId
 
equals(Object) - Method in class org.languagetool.rules.ConfusionPair
 
equals(Object) - Method in class org.languagetool.rules.ConfusionSet
 
equals(Object) - Method in class org.languagetool.rules.ConfusionString
 
equals(Object) - Method in class org.languagetool.rules.neuralnetwork.Matrix
 
equals(Object) - Method in class org.languagetool.rules.RuleMatch
 
equals(Object) - Method in class org.languagetool.rules.ScoredConfusionSet
 
equals(Object) - Method in class org.languagetool.rules.spelling.morfologik.suggestions_ordering.DetailedDamerauLevenstheinDistance.Distance
 
equals(Object) - Method in class org.languagetool.rules.spelling.RuleWithLanguage
 
equals(Object) - Method in class org.languagetool.rules.spelling.suggestions.SuggestionChangesExperiment
 
equals(Object) - Method in class org.languagetool.rules.spelling.symspell.implementation.SuggestItem
 
equals(Object) - Method in class org.languagetool.rules.SuggestedReplacement
 
equals(Object) - Method in class org.languagetool.tagging.TaggedWord
 
equals(Object) - Method in class org.languagetool.UserConfig
 
equalsConsiderVariantsIfSpecified(Language) - Method in class org.languagetool.Language
Return true if this is the same language as the given one, considering country variants only if set for both languages.
equivalenceFeatures - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
error(SAXParseException) - Method in class org.languagetool.rules.patterns.XMLRuleHandler
 
ErrorRateTooHighException - Exception in org.languagetool
 
errorTriggerExample - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
ErrorTriggeringExample - Class in org.languagetool.rules
A text, typically a sentence, that doesn't contain an error, but still leads to an error.
ErrorTriggeringExample(String) - Constructor for class org.languagetool.rules.ErrorTriggeringExample
 
errorTriggeringExamples - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
escapeForXmlAttribute(String) - Static method in class org.languagetool.tools.StringTools
 
escapeForXmlContent(String) - Static method in class org.languagetool.tools.StringTools
 
escapeHTML(String) - Static method in class org.languagetool.tools.StringTools
Escapes these characters: less than, greater than, quote, ampersand.
escapeXML(String) - Static method in class org.languagetool.tools.StringTools
estimateContextForSureMatch() - Method in class org.languagetool.rules.AbstractCompoundRule
 
estimateContextForSureMatch() - Method in class org.languagetool.rules.AbstractDashRule
 
estimateContextForSureMatch() - Method in class org.languagetool.rules.ngrams.ConfusionProbabilityRule
 
estimateContextForSureMatch() - Method in class org.languagetool.rules.patterns.PatternRule
 
estimateContextForSureMatch() - Method in class org.languagetool.rules.patterns.RegexPatternRule
 
estimateContextForSureMatch() - Method in class org.languagetool.rules.Rule
A number that estimates how many words there must be after a match before we can be (relatively) sure the match is valid.
estimateContextForSureMatch() - Method in class org.languagetool.rules.TextLevelRule
 
estimateContextForSureMatch() - Method in class org.languagetool.rules.WordRepeatRule
 
example - Variable in class org.languagetool.rules.ExampleSentence
 
Example - Class in org.languagetool.rules
Helper class to create error examples.
EXAMPLE - Static variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
exampleCorrection - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
ExampleSentence - Class in org.languagetool.rules
 
ExampleSentence(String) - Constructor for class org.languagetool.rules.ExampleSentence
 
EXCEPTION - Static variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
exceptionLevelCaseSensitive - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
exceptionLevelCaseSet - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
exceptionPosNegation - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
exceptionPosRegExp - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
exceptionPosToken - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
exceptions - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
exceptionSet - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
exceptionSpaceBefore - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
exceptionSpaceBeforeSet - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
exceptionStringInflected - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
exceptionStringNegation - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
exceptionStringRegExp - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
exceptionValidNext - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
exceptionValidPrev - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
expandLine(String) - Method in class org.languagetool.rules.spelling.SpellingCheckRule
Expand suffixes in a line.
Experimental - Annotation Type in org.languagetool
An experimental feature that may change without warning in future versions.
EXTERNAL - org.languagetool.rules.Category.Location
The rules in this category are not part of the main distribution of LanguageTool.

F

FAHRENHEIT - Static variable in class org.languagetool.rules.AbstractUnitConversionRule
 
FALSE_FRIEND_FILE - Static variable in class org.languagetool.JLanguageTool
The name of the file with false friend information.
FALSE_FRIENDS - Static variable in class org.languagetool.rules.Categories
False friends: words easily confused by language learners because a similar word exists in their native language.
FalseFriendPatternRule - Class in org.languagetool.rules.patterns
A pattern rule for finding false friends.
FalseFriendPatternRule(String, Language, List<PatternToken>, String, String, String) - Constructor for class org.languagetool.rules.patterns.FalseFriendPatternRule
 
FalseFriendRuleLoader - Class in org.languagetool.rules.patterns
Loads PatternRules from a false friends XML file.
FalseFriendRuleLoader(String, String) - Constructor for class org.languagetool.rules.patterns.FalseFriendRuleLoader
 
FalseFriendRuleLoader(Language) - Constructor for class org.languagetool.rules.patterns.FalseFriendRuleLoader
 
FalseFriendsAsBitextLoader - Class in org.languagetool.rules.patterns.bitext
Loads the false friend rules as bitext pattern rules.
FalseFriendsAsBitextLoader() - Constructor for class org.languagetool.rules.patterns.bitext.FalseFriendsAsBitextLoader
 
FEATURE - Static variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
FEET - Static variable in class org.languagetool.rules.AbstractUnitConversionRule
 
FILE_EXTENSION - Static variable in class org.languagetool.rules.spelling.hunspell.HunspellRule
 
filter - Variable in class org.languagetool.rules.patterns.AbstractPatternRule
 
filter(List<String>, String) - Method in class org.languagetool.rules.SuggestionFilter
 
filter(List<RuleMatch>) - Method in class org.languagetool.rules.CleanOverlappingFilter
 
filter(List<RuleMatch>) - Method in class org.languagetool.rules.LanguageDependentFilter
 
filter(List<RuleMatch>) - Method in interface org.languagetool.rules.RuleMatchFilter
Deprecated.
use and implement filter(List<RuleMatch> ruleMatches, AnnotatedText text)
filter(List<RuleMatch>) - Method in class org.languagetool.rules.RuleWithMaxFilter
 
filter(List<RuleMatch>) - Method in class org.languagetool.rules.SameRuleGroupFilter
 
filter(List<RuleMatch>, AnnotatedText) - Method in class org.languagetool.rules.DictionaryMatchFilter
 
filter(List<RuleMatch>, AnnotatedText) - Method in interface org.languagetool.rules.RuleMatchFilter
 
filter(RuleLoggerMessage) - Method in class org.languagetool.RuleLogger
 
FILTER - org.languagetool.tagging.disambiguation.rules.DisambiguationPatternRule.DisambiguatorAction
 
FILTERALL - org.languagetool.tagging.disambiguation.rules.DisambiguationPatternRule.DisambiguatorAction
 
filterArgs - Variable in class org.languagetool.rules.patterns.AbstractPatternRule
 
filterArgs - Variable in class org.languagetool.rules.patterns.PatternRuleHandler
 
filterClassName - Variable in class org.languagetool.rules.patterns.PatternRuleHandler
 
filterDictionaryMatches() - Method in class org.languagetool.UserConfig
 
filterDupes(List<String>) - Method in class org.languagetool.rules.spelling.SpellingCheckRule
 
filterForLanguage(List<String>) - Method in class org.languagetool.rules.spelling.hunspell.CompoundAwareHunspellRule
 
filterReadings() - Method in class org.languagetool.rules.patterns.MatchState
 
filterSuggestions(List<String>, AnalyzedSentence, int) - Method in class org.languagetool.rules.spelling.SpellingCheckRule
Remove prohibited words from suggestions.
filterXML(String) - Static method in class org.languagetool.tools.StringTools
Simple XML filtering for XML tags.
finalizeExceptions() - Method in class org.languagetool.rules.patterns.XMLRuleHandler
 
finalizePhrase() - Method in class org.languagetool.rules.patterns.XMLRuleHandler
 
finalizeTokens() - Method in class org.languagetool.rules.patterns.XMLRuleHandler
 
findMatches(AnalyzedTokenReadings, AnalyzedSentence) - Method in class org.languagetool.rules.AbstractSimpleReplaceRule
 
first - Variable in class org.languagetool.rules.spelling.symspell.implementation.SuggestionStage.Entry
 
fixed(String) - Static method in class org.languagetool.rules.Example
Create an example text (usually just one sentence) without an error - the fixed error (compared to the text created with Example.wrong(String)) can be marked with <marker>...</marker>.
FOLLOWING - org.languagetool.rules.patterns.Match.IncludeRange
 
formatMeasurement(double, Unit) - Method in class org.languagetool.rules.AbstractUnitConversionRule
 
formatPosTag(String, int, int) - Method in class org.languagetool.tagging.disambiguation.MultiWordChunker2
Override this method if you want format POS tag differently
formatRounded(String) - Method in class org.languagetool.rules.AbstractUnitConversionRule
Override in subclasses.
Formatting - org.languagetool.rules.ITSIssueType
 

G

GENDER_NEUTRALITY - Static variable in class org.languagetool.rules.Categories
 
GENDER_NEUTRALITY - Static variable in class org.languagetool.rules.CategoryIds
 
GenericUnpairedBracketsRule - Class in org.languagetool.rules
Rule that finds unpaired quotes, brackets etc.
GenericUnpairedBracketsRule(String, ResourceBundle, List<String>, List<String>) - Constructor for class org.languagetool.rules.GenericUnpairedBracketsRule
 
GenericUnpairedBracketsRule(String, ResourceBundle, List<String>, List<String>, Pattern) - Constructor for class org.languagetool.rules.GenericUnpairedBracketsRule
 
GenericUnpairedBracketsRule(ResourceBundle) - Constructor for class org.languagetool.rules.GenericUnpairedBracketsRule
Construct rule with a set of default start and end symbols: [] () {} "" ''
GenericUnpairedBracketsRule(ResourceBundle, List<String>, List<String>) - Constructor for class org.languagetool.rules.GenericUnpairedBracketsRule
 
GenericUnpairedBracketsRule(ResourceBundle, List<String>, List<String>, Pattern) - Constructor for class org.languagetool.rules.GenericUnpairedBracketsRule
 
get() - Static method in class org.languagetool.Languages
Language classes are detected at runtime by searching the classpath for files named META-INF/org/languagetool/language-module.properties.
get3gramProbabilityFor(Language, LanguageModel, int, AnalyzedSentence, String) - Static method in class org.languagetool.rules.ngrams.LanguageModelUtils
 
get4gramProbabilityFor(Language, LanguageModel, int, AnalyzedSentence, String) - Static method in class org.languagetool.rules.ngrams.LanguageModelUtils
 
getAbTest() - Method in class org.languagetool.UserConfig
 
getAcceptedWords() - Method in class org.languagetool.UserConfig
 
getAction() - Method in class org.languagetool.tagging.disambiguation.rules.DisambiguationPatternRule
 
getActiveChecks() - Static method in class org.languagetool.rules.spelling.hunspell.HunspellRule
 
getAdditionalProhibitFileNames() - Method in class org.languagetool.rules.spelling.SpellingCheckRule
Get the name of the prohibit file, which lists words not to be accepted, even when the spell checker would accept them.
getAdditionalSpellingFileNames() - Method in class org.languagetool.rules.spelling.SpellingCheckRule
Get the name of additional spelling file, which lists words to be accepted and used for suggestions, even when the spell checker would not accept them.
getAdditionalSuggestions(List<String>, String) - Method in class org.languagetool.rules.spelling.SpellingCheckRule
Get additional suggestions added after other suggestions (note the rule may choose to re-order the suggestions anyway).
getAdditionalTopSuggestions(List<String>, String) - Method in class org.languagetool.rules.spelling.SpellingCheckRule
Get additional suggestions added before other suggestions (note the rule may choose to re-order the suggestions anyway).
getAllActiveOfficeRules() - Method in class org.languagetool.JLanguageTool
Works like getAllActiveRules but overrides defaults by office defaults
getAllActiveRules() - Method in class org.languagetool.JLanguageTool
Get all active (not disabled) rules for the current language that are built-in or that have been added using e.g.
getAllRules() - Method in class org.languagetool.JLanguageTool
Get all rules for the current language that are built-in or that have been added using JLanguageTool.addRule(Rule).
getAlternativeLangSpellingRules(List<Language>) - Method in class org.languagetool.rules.spelling.SpellingCheckRule
 
getAmbiguous() - Method in class org.languagetool.tagging.disambiguation.rules.DisambiguatedExample
 
getAnalyzedSentence(String) - Method in class org.languagetool.JLanguageTool
Tokenizes the given sentence into words and analyzes it, and then disambiguates POS tags.
getAnalyzedToken(int) - Method in class org.languagetool.AnalyzedTokenReadings
Get a token reading.
getAnalyzedTokens(String) - Method in class org.languagetool.tagging.BaseTagger
 
getAndGroup() - Method in class org.languagetool.rules.patterns.PatternToken
Returns the group of elements linked with AND operator.
getAnnotations() - Method in class org.languagetool.AnalyzedSentence
Get disambiguator actions log.
getAntiPatterns() - Method in class org.languagetool.rules.patterns.AbstractPatternRule
 
getAntiPatterns() - Method in class org.languagetool.rules.Rule
Overwrite this to avoid false alarms by ignoring these patterns - note that your Rule.match(AnalyzedSentence) method needs to call Rule.getSentenceWithImmunization(org.languagetool.AnalyzedSentence) for this to be used and you need to check AnalyzedTokenReadings.isImmunized()
getAntiPatterns() - Method in class org.languagetool.rules.spelling.SpellingCheckRule
 
getBitextRules(Language, Language) - Static method in class org.languagetool.tools.Tools
Gets default bitext rules for a given pair of languages
getBitextRules(Language, Language, File) - Static method in class org.languagetool.tools.Tools
Gets default bitext rules for a given pair of languages
getCalendar() - Method in class org.languagetool.rules.AbstractDateCheckFilter
 
getCalendar() - Method in class org.languagetool.rules.AbstractFutureDateFilter
 
getCalendar() - Method in class org.languagetool.rules.AbstractNewYearDateFilter
 
getCandidates(String) - Method in class org.languagetool.rules.spelling.hunspell.CompoundAwareHunspellRule
Find potential corrections - it's okay if some of these are not valid words, this list will be filtered against the spellchecker before being returned to the user.
getCandidates(List<String>) - Method in class org.languagetool.rules.spelling.hunspell.CompoundAwareHunspellRule
 
getCaseConversionType() - Method in class org.languagetool.rules.patterns.Match
 
getCategories() - Method in class org.languagetool.JLanguageTool
Get all rule categories for the current language.
getCategory() - Method in class org.languagetool.rules.Rule
 
getCategory(ResourceBundle) - Method in class org.languagetool.rules.Categories
 
getCategoryString() - Method in class org.languagetool.rules.WrongWordInContextRule
 
getChunker() - Method in class org.languagetool.Language
Get this language's chunker implementation or null.
getChunker() - Method in class org.languagetool.noop.NoopLanguage
 
getChunkTag() - Method in class org.languagetool.chunking.ChunkTag
 
getChunkTag() - Method in class org.languagetool.rules.patterns.PatternToken
 
getChunkTags() - Method in class org.languagetool.AnalyzedTokenReadings
 
getColumn() - Method in class org.languagetool.rules.RuleMatch
Deprecated.
rely on the character-based RuleMatch.getFromPos() instead (deprecated since 3.4)
getColumnCount() - Method in interface org.languagetool.bitext.BitextReader
Get the current column number in the file.
getColumnCount() - Method in class org.languagetool.bitext.TabBitextReader
 
getCommaCharacter() - Method in class org.languagetool.rules.CommaWhitespaceRule
 
getCommaCharacter() - Method in class org.languagetool.rules.DoublePunctuationRule
 
getCommaMessage() - Method in class org.languagetool.rules.DoublePunctuationRule
 
getCommonWordsPath() - Method in class org.languagetool.Language
A file with commons words, either in the classpath or as a filename in the file system.
getCompoundRuleData() - Method in class org.languagetool.rules.AbstractCompoundRule
 
getConfidence() - Method in class org.languagetool.rules.SuggestedReplacement
 
getConfig() - Method in class org.languagetool.rules.spelling.suggestions.SuggestionsChanges
 
getConfigureText() - Method in class org.languagetool.rules.AbstractFillerWordsRule
 
getConfigureText() - Method in class org.languagetool.rules.AbstractStyleRepeatedWordRule
 
getConfigureText() - Method in class org.languagetool.rules.LongParagraphRule
 
getConfigureText() - Method in class org.languagetool.rules.LongSentenceRule
 
getConfigureText() - Method in class org.languagetool.rules.ReadabilityRule
 
getConfigureText() - Method in class org.languagetool.rules.Rule
Overwrite this to define the Text in the option panel for the configurable value
getConfigValueByID(String) - Method in class org.languagetool.UserConfig
 
getConfigValues() - Method in class org.languagetool.UserConfig
 
getConfusionTokens() - Method in class org.languagetool.rules.ScoredConfusionSet
 
getConjunctions() - Method in class org.languagetool.rules.AbstractSpaceBeforeRule
 
getContext(int, int, String) - Method in class org.languagetool.tools.ContextTools
 
getContext(T, List<T>, List<T>, int, int, Predicate<T>, T) - Static method in class org.languagetool.rules.ngrams.LanguageModelUtils
 
getCorrectBitextExamples() - Method in class org.languagetool.rules.bitext.BitextRule
Get example sentences that are correct and thus will not match this rule.
getCorrectExamples() - Method in class org.languagetool.rules.Rule
Get example sentences that are correct and thus will not match this rule.
getCorrections() - Method in class org.languagetool.rules.bitext.IncorrectBitextExample
Return the possible corrections.
getCorrections() - Method in class org.languagetool.rules.IncorrectExample
Return the possible corrections.
getCount(String) - Method in class org.languagetool.languagemodel.BaseLanguageModel
Get the occurrence count for token.
getCount(String) - Method in class org.languagetool.languagemodel.LuceneLanguageModel
 
getCount(String) - Method in class org.languagetool.languagemodel.LuceneSingleIndexLanguageModel
 
getCount(List<String>) - Method in class org.languagetool.languagemodel.BaseLanguageModel
Get the occurrence count for the given token sequence.
getCount(List<String>) - Method in class org.languagetool.languagemodel.LuceneLanguageModel
 
getCount(List<String>) - Method in class org.languagetool.languagemodel.LuceneSingleIndexLanguageModel
 
getCountries() - Method in class org.languagetool.Language
Get this language's country options , e.g.
getCountries() - Method in class org.languagetool.noop.NoopLanguage
 
getCoverage() - Method in class org.languagetool.rules.ngrams.Probability
The fraction of lookups that had occurrence counts > 0.
getCurrentExperiment() - Method in class org.languagetool.rules.spelling.suggestions.SuggestionsChanges
 
getCurrentLine() - Method in interface org.languagetool.bitext.BitextReader
Get the current line of the bitext input.
getCurrentLine() - Method in class org.languagetool.bitext.TabBitextReader
 
getCurrentRules() - Static method in class org.languagetool.rules.patterns.PatternRuleMatcher
 
getCurrentYear() - Method in class org.languagetool.rules.AbstractNewYearDateFilter
 
getDataBroker() - Static method in class org.languagetool.JLanguageTool
The grammar checker needs resources from following directories: /resource /rules
getDayOfMonth(String) - Method in class org.languagetool.rules.AbstractDateCheckFilter
Implement so that "first" returns 1, second returns 2 etc.
getDayOfMonth(String) - Method in class org.languagetool.rules.AbstractFutureDateFilter
Implement so that "first" returns 1, second returns 2 etc.
getDayOfMonth(String) - Method in class org.languagetool.rules.AbstractNewYearDateFilter
Implement so that "first" returns 1, second returns 2 etc.
getDayOfWeek(String) - Method in class org.languagetool.rules.AbstractDateCheckFilter
Implement so that Sunday returns 1, Monday 2 etc.
getDayOfWeek(Calendar) - Method in class org.languagetool.rules.AbstractDateCheckFilter
Get the localized name of the day of week for the given date.
getDefaultDisabledRulesForVariant() - Method in class org.languagetool.Language
Get disabled rules different from the default ones for this language variant.
getDefaultEnabledRulesForVariant() - Method in class org.languagetool.Language
Get enabled rules different from the default ones for this language variant.
getDefaultLanguageVariant() - Method in class org.languagetool.Language
Languages that have country variants need to overwrite this to select their most common variant.
getDefaultValue() - Method in class org.languagetool.rules.AbstractFillerWordsRule
 
getDefaultValue() - Method in class org.languagetool.rules.AbstractStyleRepeatedWordRule
 
getDefaultValue() - Method in class org.languagetool.rules.LongParagraphRule
 
getDefaultValue() - Method in class org.languagetool.rules.LongSentenceRule
 
getDefaultValue() - Method in class org.languagetool.rules.ReadabilityRule
 
getDefaultValue() - Method in class org.languagetool.rules.Rule
Overwrite this to get a default Integer value by option panel
getDescription() - Method in class org.languagetool.rules.AbstractCompoundRule
 
getDescription() - Method in class org.languagetool.rules.AbstractDashRule
 
getDescription() - Method in class org.languagetool.rules.AbstractFillerWordsRule
 
getDescription() - Method in class org.languagetool.rules.AbstractPunctuationCheckRule
 
getDescription() - Method in class org.languagetool.rules.AbstractSimpleReplaceRule
 
getDescription() - Method in class org.languagetool.rules.AbstractSimpleReplaceRule2
 
getDescription() - Method in class org.languagetool.rules.AbstractSpaceBeforeRule
 
getDescription() - Method in class org.languagetool.rules.AbstractStyleRepeatedWordRule
 
getDescription() - Method in class org.languagetool.rules.bitext.DifferentLengthRule
 
getDescription() - Method in class org.languagetool.rules.bitext.DifferentPunctuationRule
 
getDescription() - Method in class org.languagetool.rules.bitext.SameTranslationRule
 
getDescription() - Method in class org.languagetool.rules.CommaWhitespaceRule
 
getDescription() - Method in class org.languagetool.rules.ConfusionString
 
getDescription() - Method in class org.languagetool.rules.DemoRule
 
getDescription() - Method in class org.languagetool.rules.DoublePunctuationRule
 
getDescription() - Method in class org.languagetool.rules.EmptyLineRule
 
getDescription() - Method in class org.languagetool.rules.GenericUnpairedBracketsRule
 
getDescription() - Method in class org.languagetool.rules.LongParagraphRule
 
getDescription() - Method in class org.languagetool.rules.LongSentenceRule
 
getDescription() - Method in class org.languagetool.rules.MultipleWhitespaceRule
 
getDescription() - Method in class org.languagetool.rules.neuralnetwork.NeuralNetworkRule
 
getDescription() - Method in class org.languagetool.rules.ngrams.ConfusionProbabilityRule
 
getDescription() - Method in class org.languagetool.rules.ngrams.NgramProbabilityRule
 
getDescription() - Method in class org.languagetool.rules.OpenNMTRule
 
getDescription() - Method in class org.languagetool.rules.ParagraphRepeatBeginningRule
 
getDescription() - Method in class org.languagetool.rules.patterns.AbstractPatternRule
 
getDescription() - Method in class org.languagetool.rules.patterns.bitext.BitextPatternRule
 
getDescription() - Method in class org.languagetool.rules.PunctuationMarkAtParagraphEnd
 
getDescription() - Method in class org.languagetool.rules.ReadabilityRule
 
getDescription() - Method in class org.languagetool.rules.Rule
A short description of the error this rule can detect, usually in the language of the text that is checked.
getDescription() - Method in class org.languagetool.rules.SentenceWhitespaceRule
 
getDescription() - Method in class org.languagetool.rules.spelling.hunspell.HunspellNoSuggestionRule
 
getDescription() - Method in class org.languagetool.rules.spelling.hunspell.HunspellRule
 
getDescription() - Method in class org.languagetool.rules.spelling.morfologik.MorfologikSpellerRule
 
getDescription() - Method in class org.languagetool.rules.spelling.SpellingCheckRule
 
getDescription() - Method in class org.languagetool.rules.spelling.SymSpellRule
 
getDescription() - Method in class org.languagetool.rules.UppercaseSentenceStartRule
 
getDescription() - Method in class org.languagetool.rules.WhiteSpaceAtBeginOfParagraph
 
getDescription() - Method in class org.languagetool.rules.WhiteSpaceBeforeParagraphEnd
 
getDescription() - Method in class org.languagetool.rules.WhitespaceBeforePunctuationRule
 
getDescription() - Method in class org.languagetool.rules.WordRepeatBeginningRule
 
getDescription() - Method in class org.languagetool.rules.WordRepeatRule
 
getDescription() - Method in class org.languagetool.rules.WrongWordInContextRule
 
getDetectedLanguage() - Method in class org.languagetool.DetectedLanguage
 
getDetectionConfidence() - Method in class org.languagetool.DetectedLanguage
 
getDictFilenameInResources(String) - Method in class org.languagetool.rules.spelling.hunspell.HunspellRule
 
getDictionary() - Method in class org.languagetool.synthesis.BaseSynthesizer
Returns the Dictionary used for this synthesizer.
getDictionary() - Method in class org.languagetool.tagging.BaseTagger
 
getDictionary(String) - Method in class org.languagetool.rules.spelling.hunspell.Hunspell
Gets an instance of the dictionary.
getDictionaryPath() - Method in class org.languagetool.tagging.BaseTagger
 
getDisabledRules() - Method in class org.languagetool.JLanguageTool
Get rule ids of the rules that have been explicitly disabled.
getDisambiguated() - Method in class org.languagetool.tagging.disambiguation.rules.DisambiguatedExample
Return the possible corrections.
getDisambiguatedPOS() - Method in class org.languagetool.tagging.disambiguation.rules.DisambiguationPatternRule
 
getDisambiguationUnifier() - Method in class org.languagetool.Language
Get this language's feature unifier used for disambiguation.
getDisambiguationUnifierConfiguration() - Method in class org.languagetool.Language
 
getDisambiguator() - Method in class org.languagetool.Language
Get this language's part-of-speech disambiguator implementation.
getDisambiguator() - Method in class org.languagetool.noop.NoopLanguage
 
getDotMessage() - Method in class org.languagetool.rules.DoublePunctuationRule
 
getEmbedding() - Method in class org.languagetool.rules.neuralnetwork.Word2VecModel
 
getEndColumn() - Method in class org.languagetool.rules.RuleMatch
Deprecated.
rely on RuleMatch.getToPos() instead (deprecated since 3.4)
getEndLine() - Method in class org.languagetool.rules.RuleMatch
Deprecated.
rely on RuleMatch.getToPos() instead (deprecated since 3.4)
getEndPos() - Method in class org.languagetool.AnalyzedTokenReadings
 
getEndPositionCorrection() - Method in class org.languagetool.rules.patterns.AbstractPatternRule
 
getEquivalenceFeatures() - Method in class org.languagetool.rules.patterns.UnifierConfiguration
 
getEquivalenceTypes() - Method in class org.languagetool.rules.patterns.UnifierConfiguration
 
getErrorTriggeringExamples() - Method in class org.languagetool.rules.Rule
Get the examples that are correct but still trigger the rule due to an issue with the rule.
getExample() - Method in class org.languagetool.rules.bitext.IncorrectBitextExample
Return the example that contains the error.
getExample() - Method in class org.languagetool.rules.ExampleSentence
Return the example, typically one sentence.
getExample() - Method in class org.languagetool.tagging.disambiguation.rules.DisambiguatedExample
Return the example that contains the error.
getExamples() - Method in class org.languagetool.tagging.disambiguation.rules.DisambiguationPatternRule
 
getExceptionList() - Method in class org.languagetool.rules.patterns.PatternToken
 
getExcludedNonWordsPattern() - Method in class org.languagetool.rules.AdvancedWordRepeatRule
 
getExcludedPos() - Method in class org.languagetool.rules.AdvancedWordRepeatRule
 
getExcludedWordsPattern() - Method in class org.languagetool.rules.AdvancedWordRepeatRule
 
getExecutorService() - Method in class org.languagetool.MultiThreadedJLanguageTool
 
getExperiments() - Method in class org.languagetool.rules.spelling.suggestions.SuggestionsChanges
 
getFactor() - Method in class org.languagetool.rules.ConfusionPair
 
getFactor() - Method in class org.languagetool.rules.ConfusionSet
 
getFalseFriendsAsBitext(String, Language, Language) - Method in class org.languagetool.rules.patterns.bitext.FalseFriendsAsBitextLoader
 
getFeatures() - Method in class org.languagetool.rules.RuleMatch
 
getFeatures() - Method in class org.languagetool.rules.SuggestedReplacement
 
getFilename() - Method in class org.languagetool.rules.WrongWordInContextRule
 
getFileName() - Method in class org.languagetool.rules.AbstractSimpleReplaceRule2
 
getFileName() - Method in class org.languagetool.rules.spelling.morfologik.MorfologikSpellerRule
Get the filename, e.g., /resource/pl/spelling.dict.
getFilenames() - Method in class org.languagetool.rules.ngrams.ConfusionProbabilityRule
 
getFilter() - Method in class org.languagetool.rules.patterns.AbstractPatternRule
 
getFilter(String) - Method in class org.languagetool.rules.patterns.RuleFilterCreator
 
getFilterArguments() - Method in class org.languagetool.rules.patterns.AbstractPatternRule
 
getFilteredSuggestions(List<String>) - Method in class org.languagetool.rules.spelling.hunspell.CompoundAwareHunspellRule
 
getFinalUnificationValue(Map<String, List<String>>) - Method in class org.languagetool.rules.patterns.Unifier
Make sure that we really matched all the required features of the unification.
getFinalUnified() - Method in class org.languagetool.rules.patterns.Unifier
Used for getting a unified sequence in case when simple test method Unifier.isUnified(AnalyzedToken, Map, boolean)} was used.
getFleschReadingEase(double, double) - Method in class org.languagetool.rules.ReadabilityRule
get Flesch-Reading-Ease (Formula for readability) for English the formula dependence on the language and has to be overridden for every supported language
getFrequency(String) - Method in class org.languagetool.rules.spelling.morfologik.MorfologikMultiSpeller
Get the frequency of use of a word (0-27) form the dictionary
getFrequency(String) - Method in class org.languagetool.rules.spelling.morfologik.MorfologikSpeller
 
getFrequency(MorfologikMultiSpeller, String) - Method in class org.languagetool.rules.spelling.morfologik.MorfologikSpellerRule
 
getFromPos() - Method in class org.languagetool.rules.RuleMatch
Position of the start of the error (in characters, zero-based, relative to the original input text).
getFromResourceDirAsStream(String) - Method in class org.languagetool.databroker.DefaultResourceDataBroker
getFromResourceDirAsStream(String) - Method in interface org.languagetool.databroker.ResourceDataBroker
Gets any resource from the grammar checker's /resource directory.
getFromResourceDirAsUrl(String) - Method in class org.languagetool.databroker.DefaultResourceDataBroker
getFromResourceDirAsUrl(String) - Method in interface org.languagetool.databroker.ResourceDataBroker
Gets any resource from the grammar checker's /resource directory.
getFromRulesDirAsStream(String) - Method in class org.languagetool.databroker.DefaultResourceDataBroker
getFromRulesDirAsStream(String) - Method in interface org.languagetool.databroker.ResourceDataBroker
Gets any resource from the grammar checker's /rules directory.
getFromRulesDirAsUrl(String) - Method in class org.languagetool.databroker.DefaultResourceDataBroker
getFromRulesDirAsUrl(String) - Method in interface org.languagetool.databroker.ResourceDataBroker
Gets any resource from the grammar checker's /rules directory.
getFullId() - Method in class org.languagetool.rules.patterns.AbstractPatternRule
The rule id and its sub id, if any.
getFullStackTrace(Throwable) - Static method in class org.languagetool.tools.Tools
Get a stacktrace as a string.
getGivenLanguage() - Method in class org.languagetool.DetectedLanguage
 
getGlobalMetaData(String, String) - Method in class org.languagetool.markup.AnnotatedText
 
getGlobalMetaData(AnnotatedText.MetaDataKey, String) - Method in class org.languagetool.markup.AnnotatedText
 
getGoogleStyleWordTokenizer() - Method in class org.languagetool.rules.ngrams.NgramProbabilityRule
 
getGoogleTokensForString(String, boolean, Language) - Static method in class org.languagetool.rules.ngrams.GoogleTokenUtil
 
getGrammalectePassword() - Method in class org.languagetool.GlobalConfig
 
getGrammalecteServer() - Method in class org.languagetool.GlobalConfig
 
getGrammalecteUser() - Method in class org.languagetool.GlobalConfig
 
getHistoricalAnnotations() - Method in class org.languagetool.AnalyzedTokenReadings
Used to track disambiguator actions.
getId() - Method in class org.languagetool.rules.AbstractCompoundRule
 
getId() - Method in class org.languagetool.rules.AbstractDashRule
 
getId() - Method in class org.languagetool.rules.AbstractFillerWordsRule
 
getId() - Method in class org.languagetool.rules.AbstractPunctuationCheckRule
 
getId() - Method in class org.languagetool.rules.AbstractSimpleReplaceRule
 
getId() - Method in class org.languagetool.rules.AbstractSimpleReplaceRule2
 
getId() - Method in class org.languagetool.rules.AbstractSpaceBeforeRule
 
getId() - Method in class org.languagetool.rules.AbstractStyleRepeatedWordRule
Override this ID by adding a language acronym (e.g.
getId() - Method in class org.languagetool.rules.bitext.DifferentLengthRule
 
getId() - Method in class org.languagetool.rules.bitext.DifferentPunctuationRule
 
getId() - Method in class org.languagetool.rules.bitext.SameTranslationRule
 
getId() - Method in class org.languagetool.rules.Categories
 
getId() - Method in class org.languagetool.rules.Category
 
getId() - Method in class org.languagetool.rules.CommaWhitespaceRule
 
getId() - Method in class org.languagetool.rules.DemoRule
 
getId() - Method in class org.languagetool.rules.DoublePunctuationRule
 
getId() - Method in class org.languagetool.rules.EmptyLineRule
 
getId() - Method in class org.languagetool.rules.GenericUnpairedBracketsRule
 
getId() - Method in class org.languagetool.rules.LongParagraphRule
 
getId() - Method in class org.languagetool.rules.LongSentenceRule
Override this ID by adding a language acronym (e.g.
getId() - Method in class org.languagetool.rules.MultipleWhitespaceRule
 
getId() - Method in class org.languagetool.rules.neuralnetwork.NeuralNetworkRule
 
getId() - Method in class org.languagetool.rules.ngrams.ConfusionProbabilityRule
 
getId() - Method in class org.languagetool.rules.ngrams.NgramProbabilityRule
 
getId() - Method in class org.languagetool.rules.OpenNMTRule
 
getId() - Method in class org.languagetool.rules.ParagraphRepeatBeginningRule
 
getId() - Method in class org.languagetool.rules.patterns.AbstractPatternRule
 
getId() - Method in class org.languagetool.rules.patterns.bitext.BitextPatternRule
 
getId() - Method in class org.languagetool.rules.patterns.PatternRuleId
 
getId() - Method in class org.languagetool.rules.PunctuationMarkAtParagraphEnd
 
getId() - Method in class org.languagetool.rules.ReadabilityRule
 
getId() - Method in class org.languagetool.rules.Rule
A string used to identify the rule in e.g.
getId() - Method in class org.languagetool.rules.SentenceWhitespaceRule
 
getId() - Method in class org.languagetool.rules.spelling.hunspell.HunspellNoSuggestionRule
 
getId() - Method in class org.languagetool.rules.spelling.hunspell.HunspellRule
 
getId() - Method in class org.languagetool.rules.spelling.morfologik.MorfologikSpellerRule
 
getId() - Method in class org.languagetool.rules.spelling.SpellingCheckRule
 
getId() - Method in class org.languagetool.rules.spelling.SymSpellRule
 
getId() - Method in class org.languagetool.rules.UppercaseSentenceStartRule
 
getId() - Method in class org.languagetool.rules.WhiteSpaceAtBeginOfParagraph
 
getId() - Method in class org.languagetool.rules.WhiteSpaceBeforeParagraphEnd
 
getId() - Method in class org.languagetool.rules.WhitespaceBeforePunctuationRule
 
getId() - Method in class org.languagetool.rules.WordRepeatBeginningRule
 
getId() - Method in class org.languagetool.rules.WordRepeatRule
 
getId() - Method in class org.languagetool.rules.WrongWordInContextRule
 
getId(boolean) - Method in class org.languagetool.rules.ReadabilityRule
 
getIfPresent(InputSentence) - Method in class org.languagetool.ResultCache
 
getIfPresent(SimpleInputSentence) - Method in class org.languagetool.ResultCache
 
getIgnoredCharactersRegex() - Method in class org.languagetool.Language
 
getIgnoreFileName() - Method in class org.languagetool.rules.spelling.SpellingCheckRule
Get the name of the ignore file, which lists words to be accepted, even when the spell checker would not accept them.
getIncludeSkipped() - Method in class org.languagetool.rules.patterns.Match
 
getIncorrectBitextExamples() - Method in class org.languagetool.rules.bitext.BitextRule
Get example sentences that are incorrect and thus will match this rule.
getIncorrectExamples() - Method in class org.languagetool.rules.Rule
Get example sentences that are incorrect and thus will match this rule.
getInstance() - Static method in class org.languagetool.RuleLoggerManager
 
getInstance() - Static method in class org.languagetool.rules.spelling.hunspell.Hunspell
The instance of the HunspellManager, looks for the native lib in the default directories
getInstance() - Static method in class org.languagetool.rules.spelling.suggestions.SuggestionsChanges
null if nothing is configured, i.e.
getInstance(String) - Static method in class org.languagetool.rules.spelling.hunspell.Hunspell
The instance of the HunspellManager, looks for the native lib in the directory specified.
getIssueType(String) - Static method in enum org.languagetool.rules.ITSIssueType
 
getKeys() - Method in class org.languagetool.ResourceBundleWithFallback
 
getKnownWordsPerLanguage(String) - Method in class org.languagetool.language.CommonWords
 
getLanguage() - Method in class org.languagetool.JLanguageTool
Get the language that was used to configure this instance.
getLanguage() - Method in class org.languagetool.RuleLoggerMessage
 
getLanguage() - Method in class org.languagetool.rules.patterns.AbstractPatternRule
 
getLanguage() - Method in class org.languagetool.rules.spelling.RuleWithLanguage
 
getLanguageForLocale(Locale) - Static method in class org.languagetool.Languages
Get the best match for a locale, using American English as the final fallback if nothing else fits.
getLanguageForName(String) - Static method in class org.languagetool.Languages
Get the Language object for the given language name.
getLanguageForShortCode(String) - Static method in class org.languagetool.Languages
Get the Language object for the given language code.
getLanguageForShortCode(String, List<String>) - Static method in class org.languagetool.Languages
Get the Language object for the given language code.
getLanguageModel(File) - Method in class org.languagetool.Language
 
getLanguageVariantSpellingFileName() - Method in class org.languagetool.rules.spelling.SpellingCheckRule
Get the name of the spelling file for a language variant (e.g., en-US or de-AT), which lists words to be accepted and used for suggestions, even when the spell checker would not accept them.
getLemma() - Method in class org.languagetool.AnalyzedToken
 
getLemma() - Method in class org.languagetool.rules.patterns.Match
 
getLemma() - Method in class org.languagetool.tagging.TaggedWord
 
getLemmaSet() - Method in class org.languagetool.AnalyzedSentence
Get the lowercase lemmas of this sentence in a set.
getLevel() - Method in class org.languagetool.OutputStreamLogger
 
getLevel() - Method in class org.languagetool.RuleLoggerManager
 
getLibFile() - Method in class org.languagetool.rules.spelling.hunspell.Hunspell
 
getLine() - Method in class org.languagetool.rules.RuleMatch
Deprecated.
rely on the character-based RuleMatch.getFromPos() instead (deprecated since 3.4)
getLineCount() - Method in interface org.languagetool.bitext.BitextReader
Get the current line number in the file.
getLineCount() - Method in class org.languagetool.bitext.TabBitextReader
 
getLinguServices() - Method in class org.languagetool.UserConfig
 
getLocale() - Method in class org.languagetool.Language
Get this language's Java locale, not considering the country code.
getLocale() - Method in class org.languagetool.noop.NoopLanguage
 
getLocale() - Method in class org.languagetool.rules.AbstractSimpleReplaceRule
 
getLocale() - Method in class org.languagetool.rules.AbstractSimpleReplaceRule2
locale used on case-conversion
getLocaleWithCountryAndVariant() - Method in class org.languagetool.Language
Get this language's Java locale, considering language code and country code (if any).
getLocation() - Method in class org.languagetool.rules.Category
 
getLocQualityIssueType() - Method in class org.languagetool.rules.Rule
getLogProb() - Method in class org.languagetool.rules.ngrams.Probability
 
getLongMessageString() - Method in class org.languagetool.rules.WrongWordInContextRule
 
getLuceneSearcher(int) - Method in class org.languagetool.languagemodel.LuceneSingleIndexLanguageModel
 
getMaintainedState() - Method in class org.languagetool.Language
Information about whether the support for this language in LanguageTool is actively maintained.
getMaintainers() - Method in class org.languagetool.Language
Get the name(s) of the maintainer(s) for this language or null.
getMaintainers() - Method in class org.languagetool.noop.NoopLanguage
 
getManualAdditionsFileName() - Method in class org.languagetool.tagging.BaseTagger
Get the filename for manual additions, e.g., /en/added.txt, or null.
getManualRemovalsFileName() - Method in class org.languagetool.tagging.BaseTagger
Get the filename for manual removals, e.g., /en/removed.txt, or null.
getMatch() - Method in class org.languagetool.rules.patterns.MatchState
 
getMatch() - Method in class org.languagetool.rules.patterns.PatternToken
 
getMatchElement() - Method in class org.languagetool.tagging.disambiguation.rules.DisambiguationPatternRule
 
getMatchesCache() - Method in class org.languagetool.ResultCache
 
getMaxConfigurableValue() - Method in class org.languagetool.rules.AbstractFillerWordsRule
 
getMaxConfigurableValue() - Method in class org.languagetool.rules.AbstractStyleRepeatedWordRule
 
getMaxConfigurableValue() - Method in class org.languagetool.rules.LongParagraphRule
 
getMaxConfigurableValue() - Method in class org.languagetool.rules.LongSentenceRule
 
getMaxConfigurableValue() - Method in class org.languagetool.rules.ReadabilityRule
 
getMaxConfigurableValue() - Method in class org.languagetool.rules.Rule
Overwrite this to define the maximum of a configurable value
getMaxOccurrence() - Method in class org.languagetool.rules.patterns.PatternToken
The maximum number of times the element may occur.
getMaxSpellingSuggestions() - Method in class org.languagetool.UserConfig
 
getMessage() - Method in class org.languagetool.RuleLoggerMessage
 
getMessage() - Method in class org.languagetool.rules.AbstractFillerWordsRule
 
getMessage() - Method in class org.languagetool.rules.AdvancedWordRepeatRule
 
getMessage() - Method in class org.languagetool.rules.bitext.BitextRule
 
getMessage() - Method in class org.languagetool.rules.bitext.DifferentLengthRule
 
getMessage() - Method in class org.languagetool.rules.bitext.DifferentPunctuationRule
 
getMessage() - Method in class org.languagetool.rules.bitext.SameTranslationRule
 
getMessage() - Method in class org.languagetool.rules.LongParagraphRule
 
getMessage() - Method in class org.languagetool.rules.LongSentenceRule
 
getMessage() - Method in class org.languagetool.rules.patterns.AbstractPatternRule
Get the message shown to the user if this rule matches.
getMessage() - Method in class org.languagetool.rules.patterns.bitext.BitextPatternRule
 
getMessage() - Method in class org.languagetool.rules.RuleMatch
A human-readable explanation describing the error.
getMessage(boolean) - Method in class org.languagetool.rules.SentenceWhitespaceRule
 
getMessage(int, int, int, int) - Method in class org.languagetool.rules.ReadabilityRule
 
getMessage(String, String) - Method in class org.languagetool.rules.AbstractWordCoherencyRule
Get the message shown to the user if the rule matches.
getMessage(String, List<String>) - Method in class org.languagetool.rules.AbstractSimpleReplaceRule
 
getMessage(AbstractUnitConversionRule.Message) - Method in class org.languagetool.rules.AbstractUnitConversionRule
Override in subclasses
getMessage(ConfusionString, ConfusionString) - Method in class org.languagetool.rules.ngrams.ConfusionProbabilityRule
 
getMessageBundle() - Static method in class org.languagetool.JLanguageTool
Gets the ResourceBundle (i18n strings) for the default language of the user's system.
getMessageBundle(Language) - Static method in class org.languagetool.JLanguageTool
Gets the ResourceBundle (i18n strings) for the given user interface language.
getMessageString() - Method in class org.languagetool.rules.WrongWordInContextRule
 
getMetricEquivalent(double, Unit) - Method in class org.languagetool.rules.AbstractUnitConversionRule
 
getMinConfigurableValue() - Method in class org.languagetool.rules.AbstractFillerWordsRule
 
getMinConfigurableValue() - Method in class org.languagetool.rules.AbstractStyleRepeatedWordRule
 
getMinConfigurableValue() - Method in class org.languagetool.rules.LongParagraphRule
 
getMinConfigurableValue() - Method in class org.languagetool.rules.LongSentenceRule
 
getMinConfigurableValue() - Method in class org.languagetool.rules.ReadabilityRule
 
getMinConfigurableValue() - Method in class org.languagetool.rules.Rule
Overwrite this to define the minimum of a configurable value
getMinOccurrence() - Method in class org.languagetool.rules.patterns.PatternToken
The minimum number of times the element needs to occur.
getMinOccurrenceCorrection() - Method in class org.languagetool.rules.patterns.AbstractPatternRulePerformer
 
getMinScore() - Method in class org.languagetool.rules.neuralnetwork.NeuralNetworkRule
 
getMonth(String) - Method in class org.languagetool.rules.AbstractDateCheckFilter
Implement so that January returns 1, February 2 etc.
getMonth(String) - Method in class org.languagetool.rules.AbstractFutureDateFilter
Implement so that January returns 1, February 2 etc.
getMonth(String) - Method in class org.languagetool.rules.AbstractNewYearDateFilter
Implement so that January returns 1, February 2 etc.
getName() - Method in class org.languagetool.language.Contributor
 
getName() - Method in class org.languagetool.Language
Get this language's name in English, e.g.
getName() - Method in class org.languagetool.noop.NoopLanguage
 
getName() - Method in class org.languagetool.rules.Category
 
getNegation() - Method in class org.languagetool.rules.patterns.PatternToken
getNewTokenReadings() - Method in class org.languagetool.tagging.disambiguation.rules.DisambiguationPatternRule
 
getNGrams() - Method in class org.languagetool.rules.ngrams.ConfusionProbabilityRule
Returns the ngram level used, typically 3.
getNumberFormat() - Method in class org.languagetool.rules.AbstractUnitConversionRule
Override in subclasses
getNumberOfSyllables(String, Language) - Method in class org.languagetool.LinguServices
Returns the number of syllable of a word Returns -1 if the word was not found or anything goes wrong
getOccurrences() - Method in class org.languagetool.rules.ngrams.Probability
The number the longest ngram occurs in the corpus.
getOrGroup() - Method in class org.languagetool.rules.patterns.PatternToken
Returns the group of elements linked with OR operator.
getOriginalPosition(int) - Method in class org.languagetool.AnalyzedSentence
Get a position of a non-whitespace token in the original sentence with whitespace.
getOriginalText() - Method in class org.languagetool.markup.AnnotatedText
Get the plain text, without markup and content from interpretAs.
getOriginalTextPositionFor(int, boolean) - Method in class org.languagetool.markup.AnnotatedText
Internally used by LanguageTool to adjust error positions to point to the original location with markup, even though markup was ignored during text checking.
getPasswordAuthentication() - Method in class org.languagetool.rules.patterns.PasswordAuthenticator
 
getPath() - Method in class org.languagetool.rules.neuralnetwork.Word2VecModel
 
getPattern() - Method in class org.languagetool.rules.patterns.RegexPatternRule
 
getPatternRuleId() - Method in class org.languagetool.rules.patterns.AbstractPatternRule
The rule id and its sub id, if any.
getPatternRules() - Method in class org.languagetool.Language
Get the pattern rules as defined in the files returned by Language.getRuleFileNames().
getPatternRules() - Method in class org.languagetool.noop.NoopLanguage
 
getPatternRulesByIdAndSubId(String, String) - Method in class org.languagetool.JLanguageTool
Get pattern rules by Id and SubId.
getPatternToken() - Method in class org.languagetool.rules.patterns.PatternTokenMatcher
 
getPatternTokens() - Method in class org.languagetool.rules.patterns.AbstractPatternRule
 
getPhraseName() - Method in class org.languagetool.rules.patterns.PatternToken
Gets the phrase the element is in.
getPlainText() - Method in class org.languagetool.markup.AnnotatedText
Get the plain text, without markup but with content from interpretAs.
getPlainTextContext(int, int, String) - Method in class org.languagetool.tools.ContextTools
Get a plain text context that uses ^ characters in a new line as a marker of the given string region.
getPOSNegation() - Method in class org.languagetool.rules.patterns.PatternToken
 
getPosRegexMatch() - Method in class org.languagetool.rules.patterns.Match
 
getPossibleTags() - Method in class org.languagetool.synthesis.ManualSynthesizer
Retrieve all the possible POS values.
getPosTag() - Method in class org.languagetool.rules.patterns.Match
 
getPosTag() - Method in class org.languagetool.tagging.TaggedWord
 
getPOStag() - Method in class org.languagetool.rules.patterns.PatternToken
 
getPOSTag() - Method in class org.languagetool.AnalyzedToken
 
getPosTagCorrection(String) - Method in class org.languagetool.synthesis.BaseSynthesizer
 
getPosTagCorrection(String) - Method in interface org.languagetool.synthesis.Synthesizer
Gets a corrected version of the POS tag used for synthesis.
getPosTagReplace() - Method in class org.languagetool.rules.patterns.Match
 
getPostDisambiguationChunker() - Method in class org.languagetool.Language
Get this language's chunker implementation or null.
getPreDisambigTokens() - Method in class org.languagetool.AnalyzedSentence
 
getPreDisambigTokensWithoutWhitespace() - Method in class org.languagetool.AnalyzedSentence
 
getPreviousExceptionList() - Method in class org.languagetool.rules.patterns.PatternToken
 
getPriorityForId(String) - Method in class org.languagetool.Language
Returns a priority for Rule or Category Id (default: 0).
getProb() - Method in class org.languagetool.rules.ngrams.Probability
A probability-like value, but can be filled with any float >= 0.
getProhibitFileName() - Method in class org.languagetool.rules.spelling.SpellingCheckRule
Get the name of the prohibit file, which lists words not to be accepted, even when the spell checker would accept them.
getProperty(String) - Method in class org.languagetool.tools.MultiKeyProperties
 
getProtocols() - Static method in class org.languagetool.tokenizers.WordTokenizer
Get the protocols that the tokenizer knows about.
getPseudoProbability(List<String>) - Method in class org.languagetool.languagemodel.BaseLanguageModel
 
getPseudoProbability(List<String>) - Method in interface org.languagetool.languagemodel.LanguageModel
This is not always guaranteed to be a real probability (0.0 to 1.0).
getPseudoProbability(List<String>) - Method in class org.languagetool.languagemodel.MockLanguageModel
 
getPseudoProbability(List<String>) - Method in class org.languagetool.languagemodel.MultiLanguageModel
 
getPseudoProbabilityStupidBackoff(List<String>) - Method in class org.languagetool.languagemodel.BaseLanguageModel
 
getRawAnalyzedSentence(String) - Method in class org.languagetool.JLanguageTool
Tokenizes the given sentence into words and analyzes it.
getReader() - Method in class org.languagetool.languagemodel.LuceneSingleIndexLanguageModel.LuceneSearcher
 
getReadings() - Method in class org.languagetool.AnalyzedTokenReadings
 
getReadingsLength() - Method in class org.languagetool.AnalyzedTokenReadings
Number of readings.
getRegexMatch() - Method in class org.languagetool.rules.patterns.Match
 
getRegexReplace() - Method in class org.languagetool.rules.patterns.Match
 
getRelevantLanguageModelCapableRules(ResourceBundle, LanguageModel, UserConfig, Language, List<Language>) - Method in class org.languagetool.Language
Get a list of rules that can optionally use a LanguageModel.
getRelevantLanguageModelRules(ResourceBundle, LanguageModel) - Method in class org.languagetool.Language
Get a list of rules that require a LanguageModel.
getRelevantNeuralNetworkModels(ResourceBundle, File) - Method in class org.languagetool.Language
Get a list of rules that load trained neural networks.
getRelevantRules() - Static method in class org.languagetool.rules.bitext.BitextRule
 
getRelevantRules(ResourceBundle, UserConfig, Language, List<Language>) - Method in class org.languagetool.Language
Get the rules classes that should run for texts in this language.
getRelevantRules(ResourceBundle, UserConfig, Language, List<Language>) - Method in class org.languagetool.noop.NoopLanguage
 
getRelevantRulesGlobalConfig(ResourceBundle, GlobalConfig, UserConfig, Language, List<Language>) - Method in class org.languagetool.Language
Get the rules classes that should run for texts in this language.
getRelevantWord2VecModelRules(ResourceBundle, Word2VecModel) - Method in class org.languagetool.Language
Get a list of rules that require a Word2VecModel.
getReplacement() - Method in class org.languagetool.rules.SuggestedReplacement
 
getRequired(String, Map<String, String>) - Method in class org.languagetool.rules.patterns.RuleFilter
 
getResolvedArguments(String, AnalyzedTokenReadings[], int, List<Integer>) - Method in class org.languagetool.rules.patterns.RuleFilterEvaluator
Resolves the backref arguments, e.g.
getResourceDir() - Method in class org.languagetool.databroker.DefaultResourceDataBroker
 
getResourceDir() - Method in interface org.languagetool.databroker.ResourceDataBroker
 
getRule() - Method in class org.languagetool.rules.RuleMatch
 
getRule() - Method in class org.languagetool.rules.spelling.RuleWithLanguage
 
getRuleFileNames() - Method in class org.languagetool.Language
Get the location of the rule file(s) in a form like /org/languagetool/rules/de/grammar.xml, i.e.
getRuleId() - Method in class org.languagetool.RuleLoggerMessage
 
getRuleMatches(String, int, AnalyzedSentence, List<RuleMatch>, int, AnalyzedTokenReadings[]) - Method in class org.languagetool.rules.spelling.morfologik.MorfologikSpellerRule
 
getRules() - Method in class org.languagetool.rules.patterns.XMLRuleHandler
 
getRules(File) - Method in class org.languagetool.rules.patterns.PatternRuleLoader
 
getRules(File, Language, Language) - Method in class org.languagetool.rules.patterns.FalseFriendRuleLoader
 
getRules(InputStream) - Method in class org.languagetool.tagging.disambiguation.rules.DisambiguationRuleLoader
 
getRules(InputStream, String) - Method in class org.languagetool.rules.patterns.bitext.BitextPatternRuleLoader
 
getRules(InputStream, String) - Method in class org.languagetool.rules.patterns.PatternRuleLoader
 
getRules(InputStream, Language, Language) - Method in class org.languagetool.rules.patterns.FalseFriendRuleLoader
 
getRulesDir() - Method in class org.languagetool.databroker.DefaultResourceDataBroker
 
getRulesDir() - Method in interface org.languagetool.databroker.ResourceDataBroker
 
getScore() - Method in class org.languagetool.rules.ScoredConfusionSet
 
getScores(String[]) - Method in interface org.languagetool.rules.neuralnetwork.Classifier
 
getScores(String[]) - Method in class org.languagetool.rules.neuralnetwork.SingleLayerClassifier
 
getScores(String[]) - Method in class org.languagetool.rules.neuralnetwork.TwoLayerClassifier
 
getSentence() - Method in class org.languagetool.rules.RuleMatch
 
getSentenceCache() - Method in class org.languagetool.ResultCache
 
getSentencePosition() - Method in interface org.languagetool.bitext.BitextReader
Get the current target sentence position in the file.
getSentencePosition() - Method in class org.languagetool.bitext.TabBitextReader
 
getSentenceTextWithoutUrlsAndImmunizedTokens(AnalyzedSentence) - Method in class org.languagetool.rules.spelling.hunspell.HunspellRule
 
getSentenceTokenizer() - Method in class org.languagetool.Language
Get this language's sentence tokenizer implementation.
getSentenceTokenizer() - Method in class org.languagetool.noop.NoopLanguage
 
getSentenceWithImmunization(AnalyzedSentence) - Method in class org.languagetool.rules.Rule
To be called from Rule.match(AnalyzedSentence) for rules that want Rule.getAntiPatterns() to be considered.
getSet() - Method in class org.languagetool.rules.ConfusionSet
 
getShort() - Method in class org.languagetool.rules.AbstractSimpleReplaceRule
 
getShort() - Method in class org.languagetool.rules.AbstractSimpleReplaceRule2
 
getShort() - Method in class org.languagetool.rules.AbstractSpaceBeforeRule
 
getShortCode() - Method in class org.languagetool.Language
Get this language's character code, e.g.
getShortCode() - Method in class org.languagetool.noop.NoopLanguage
 
getShortCodeWithCountryAndVariant() - Method in class org.languagetool.Language
Get the short name of the language with country and variant (if any), if it is a single-country language.
getShortDescription() - Method in class org.languagetool.rules.SuggestedReplacement
 
getShortDescription(String) - Method in class org.languagetool.ShortDescriptionProvider
 
getShortMessage() - Method in class org.languagetool.rules.AdvancedWordRepeatRule
 
getShortMessage() - Method in class org.languagetool.rules.RuleMatch
A shorter human-readable explanation describing the error or an empty string if no such explanation is available.
getShortMessage(AbstractUnitConversionRule.Message) - Method in class org.languagetool.rules.AbstractUnitConversionRule
Override in subclasses
getShortMessageString() - Method in class org.languagetool.rules.WrongWordInContextRule
 
getSkipNext() - Method in class org.languagetool.rules.patterns.PatternToken
Gets the exception scope length.
getSource() - Method in class org.languagetool.bitext.StringPair
 
getSourceFile() - Method in class org.languagetool.rules.patterns.AbstractPatternRule
 
getSourceLanguage() - Method in class org.languagetool.rules.bitext.BitextRule
 
getSpelledNumber(String) - Method in class org.languagetool.synthesis.BaseSynthesizer
 
getSpelledNumber(String) - Method in interface org.languagetool.synthesis.Synthesizer
Spells out a number
getSpellingDictBaseDir(Language) - Static method in class org.languagetool.rules.spelling.SymSpellRule
 
getSpellingFileName() - Method in class org.languagetool.rules.spelling.SpellingCheckRule
Get the name of the spelling file, which lists words to be accepted and used for suggestions, even when the spell checker would not accept them.
getSrcRule() - Method in class org.languagetool.rules.patterns.bitext.BitextPatternRule
 
getStartPos() - Method in class org.languagetool.AnalyzedTokenReadings
 
getStartPositionCorrection() - Method in class org.languagetool.rules.patterns.AbstractPatternRule
 
getStemmer() - Method in class org.languagetool.synthesis.BaseSynthesizer
 
getStream(String) - Static method in class org.languagetool.tools.Tools
Load a file from the classpath using Class.getResourceAsStream(String).
getString() - Method in class org.languagetool.rules.ConfusionString
 
getString() - Method in class org.languagetool.rules.patterns.PatternToken
 
getSubId() - Method in class org.languagetool.rules.patterns.AbstractPatternRule
 
getSubId() - Method in class org.languagetool.rules.patterns.PatternRuleId
 
getSubjects() - Method in class org.languagetool.rules.neuralnetwork.NeuralNetworkRule
 
getSuggestedReplacementObjects() - Method in class org.languagetool.rules.RuleMatch
 
getSuggestedReplacements() - Method in class org.languagetool.rules.RuleMatch
The text fragments which might be an appropriate fix for the problem.
getSuggestion() - Method in class org.languagetool.rules.AbstractSimpleReplaceRule2
 
getSuggestion() - Method in class org.languagetool.rules.AbstractSpaceBeforeRule
 
getSuggestion(String, String) - Method in class org.languagetool.rules.AbstractUnitConversionRule
Format suggestion.
getSuggestions(String) - Method in class org.languagetool.rules.spelling.hunspell.CompoundAwareHunspellRule
As a hunspell-based approach is too slow, we use Morfologik to create suggestions.
getSuggestions(String) - Method in class org.languagetool.rules.spelling.hunspell.HunspellNoSuggestionRule
 
getSuggestions(String) - Method in class org.languagetool.rules.spelling.hunspell.HunspellRule
 
getSuggestions(String) - Method in class org.languagetool.rules.spelling.morfologik.MorfologikMultiSpeller
The suggestions from all dictionaries (without duplicates).
getSuggestions(String) - Method in class org.languagetool.rules.spelling.morfologik.MorfologikSpeller
 
getSuggestionsFromDefaultDicts(String) - Method in class org.languagetool.rules.spelling.morfologik.MorfologikMultiSpeller
 
getSuggestionsFromUserDicts(String) - Method in class org.languagetool.rules.spelling.morfologik.MorfologikMultiSpeller
 
getSuggestionsOutMsg() - Method in class org.languagetool.rules.patterns.AbstractPatternRule
 
getSuggestionsSeparator() - Method in class org.languagetool.rules.AbstractSimpleReplaceRule2
 
getSymbol() - Method in class org.languagetool.rules.SymbolLocator
 
getSynonyms(String, Language) - Method in class org.languagetool.LinguServices
Get all synonyms of a word as list of strings.
getSynonyms(AnalyzedTokenReadings) - Method in class org.languagetool.rules.AbstractStyleRepeatedWordRule
get synonyms for a repeated word
getSynthesizer() - Method in class org.languagetool.Language
Get this language's part-of-speech synthesizer implementation or null.
getTabName() - Method in class org.languagetool.rules.Category
 
getTagger() - Method in class org.languagetool.Language
Get this language's part-of-speech tagger implementation.
getTagger() - Method in class org.languagetool.noop.NoopLanguage
 
getTarget() - Method in class org.languagetool.bitext.StringPair
 
getTargetColumnCount() - Method in interface org.languagetool.bitext.BitextReader
Get the current target column number in the file.
getTargetColumnCount() - Method in class org.languagetool.bitext.TabBitextReader
 
getTargetPosTag() - Method in class org.languagetool.rules.patterns.MatchState
Format POS tag using parameters already defined in the class.
getTerm1() - Method in class org.languagetool.rules.ConfusionPair
 
getTerm2() - Method in class org.languagetool.rules.ConfusionPair
 
getTerms() - Method in class org.languagetool.rules.ConfusionPair
 
getText() - Method in class org.languagetool.AnalyzedSentence
Return the original text.
getTextSessionId() - Method in class org.languagetool.UserConfig
 
getTextSize() - Method in class org.languagetool.RuleCheckTimeMessage
 
getTextWithMarkup() - Method in class org.languagetool.markup.AnnotatedText
 
getThreadPoolSize() - Method in class org.languagetool.MultiThreadedJLanguageTool
When no thread pool size is configured, the number of available processors is returned.
getTimestamp() - Method in class org.languagetool.RuleLoggerMessage
 
getToken() - Method in class org.languagetool.AnalyzedToken
 
getToken() - Method in class org.languagetool.AnalyzedTokenReadings
 
getTokenDescriptions() - Method in class org.languagetool.rules.ScoredConfusionSet
 
getTokenizingCharacters() - Method in class org.languagetool.tokenizers.WordTokenizer
 
getTokenRef() - Method in class org.languagetool.rules.patterns.Match
Gets the token number referenced by the match.
getTokens() - Method in class org.languagetool.AnalyzedSentence
Returns the AnalyzedTokenReadings of the analyzed text.
getTokenSet() - Method in class org.languagetool.AnalyzedSentence
Get the lowercase tokens of this sentence in a set.
getTokensWithoutWhitespace() - Method in class org.languagetool.AnalyzedSentence
Returns the AnalyzedTokenReadings of the analyzed text, with whitespace tokens removed but with the artificial SENT_START token included.
getToPos() - Method in class org.languagetool.rules.RuleMatch
Position of the end of the error (in characters, zero-based, relative to the original input text).
getTotalTokenCount() - Method in class org.languagetool.languagemodel.BaseLanguageModel
 
getTotalTokenCount() - Method in class org.languagetool.languagemodel.LuceneLanguageModel
 
getTotalTokenCount() - Method in class org.languagetool.languagemodel.LuceneSingleIndexLanguageModel
 
getTranslatedName(ResourceBundle) - Method in class org.languagetool.Language
Get the name of the language translated to the current locale, if available.
getTrgRule() - Method in class org.languagetool.rules.patterns.bitext.BitextPatternRule
 
getType() - Method in class org.languagetool.rules.RuleMatch
 
getUniFeatures() - Method in class org.languagetool.rules.patterns.PatternToken
Get unification features and types.
getUnifiedTokens() - Method in class org.languagetool.rules.patterns.Unifier
Gets a full sequence of filtered tokens.
getUnifier() - Method in class org.languagetool.Language
Get this language's feature unifier.
getUnifierConfiguration() - Method in class org.languagetool.Language
 
getUnknownWords() - Method in class org.languagetool.JLanguageTool
Get the alphabetically sorted list of unknown words in the latest run of one of the JLanguageTool.check(String) methods.
getUntouchedExamples() - Method in class org.languagetool.tagging.disambiguation.rules.DisambiguationPatternRule
 
getUppercaseFirstCharSet() - Method in class org.languagetool.rules.ConfusionSet
 
getUppercaseFirstCharTerms() - Method in class org.languagetool.rules.ConfusionPair
 
getUrl() - Method in class org.languagetool.language.Contributor
 
getUrl() - Method in class org.languagetool.rules.Rule
An optional URL describing the rule match in more detail.
getUrl() - Method in class org.languagetool.rules.RuleMatch
A URL that points to a more detailed error description or null.
getUrl(String) - Static method in class org.languagetool.tools.Tools
Create a URL object from a string.
getUserDictName() - Method in class org.languagetool.UserConfig
 
getValues(int) - Method in class org.languagetool.rules.spelling.symspell.implementation.ChunkArray
 
getVariant() - Method in class org.languagetool.Language
Get this language's variant, e.g.
getWhitespaceBefore() - Method in class org.languagetool.AnalyzedTokenReadings
 
getWithDemoLanguage() - Static method in class org.languagetool.Languages
Like Languages.get() but the list contains also LanguageTool's internal 'Demo' language, if available.
getWord2VecModel(File) - Method in class org.languagetool.Language
 
getWordChars() - Method in class org.languagetool.rules.spelling.hunspell.Hunspell.Dictionary
Used to query what are word-characters
getWordMap() - Method in class org.languagetool.rules.AbstractWordCoherencyRule
Maps words in both directions, e.g.
getWordTagger() - Method in class org.languagetool.tagging.BaseTagger
 
getWordTokenizer() - Method in class org.languagetool.Language
Get this language's word tokenizer implementation.
getWordTokenizer() - Method in class org.languagetool.noop.NoopLanguage
 
getWrongWords() - Method in class org.languagetool.rules.AbstractSimpleReplaceRule
 
getWrongWords() - Method in class org.languagetool.rules.AbstractSimpleReplaceRule2
 
getXmlEnd() - Method in class org.languagetool.tools.RuleMatchAsXmlSerializer
Deprecated.
Get the string to end the XML.
getXmlStart(Language, Language) - Method in class org.languagetool.tools.RuleMatchAsXmlSerializer
Deprecated.
Get the string to begin the XML.
GIT_SHORT_ID - Static variable in class org.languagetool.JLanguageTool
Abbreviated git id or null if not available.
GlobalConfig - Class in org.languagetool
 
GlobalConfig() - Constructor for class org.languagetool.GlobalConfig
 
GOOGLE_SENTENCE_END - Static variable in interface org.languagetool.languagemodel.LanguageModel
ngram sentence end marker - note: this is not in the v1 data from Google
GOOGLE_SENTENCE_START - Static variable in interface org.languagetool.languagemodel.LanguageModel
ngram sentence start marker - note: this is not in the v1 data from Google
GoogleTokenUtil - Class in org.languagetool.rules.ngrams
 
GoogleTokenUtil() - Constructor for class org.languagetool.rules.ngrams.GoogleTokenUtil
 
Grammar - org.languagetool.rules.ITSIssueType
 
GRAMMAR - Static variable in class org.languagetool.rules.Categories
 
GRAMMAR - Static variable in class org.languagetool.rules.CategoryIds
 

H

handleGetObject(String) - Method in class org.languagetool.ResourceBundleWithFallback
 
hasAndGroup() - Method in class org.languagetool.rules.patterns.PatternToken
Checks if this element has an AND group associated with it.
hasAnyLemma(String...) - Method in class org.languagetool.AnalyzedTokenReadings
Checks if one of the token's readings has one of the given lemmas
hasAnyPartialPosTag(String...) - Method in class org.languagetool.AnalyzedTokenReadings
Checks if the token has any of the given particular POS tags (only a part of the given POS tag needs to match)
hasConfigurableValue() - Method in class org.languagetool.rules.AbstractFillerWordsRule
 
hasConfigurableValue() - Method in class org.languagetool.rules.AbstractStyleRepeatedWordRule
 
hasConfigurableValue() - Method in class org.languagetool.rules.LongParagraphRule
 
hasConfigurableValue() - Method in class org.languagetool.rules.LongSentenceRule
 
hasConfigurableValue() - Method in class org.languagetool.rules.ReadabilityRule
 
hasConfigurableValue() - Method in class org.languagetool.rules.Rule
Overwrite this to return true, if a value may be configured by option panel
hasExceptionList() - Method in class org.languagetool.rules.patterns.PatternToken
 
hashCode() - Method in class org.languagetool.AnalyzedSentence
 
hashCode() - Method in class org.languagetool.AnalyzedToken
 
hashCode() - Method in class org.languagetool.AnalyzedTokenReadings
 
hashCode() - Method in class org.languagetool.chunking.ChunkTag
 
hashCode() - Method in class org.languagetool.GlobalConfig
 
hashCode() - Method in class org.languagetool.Language
 
hashCode() - Method in class org.languagetool.rules.CategoryId
 
hashCode() - Method in class org.languagetool.rules.ConfusionPair
 
hashCode() - Method in class org.languagetool.rules.ConfusionSet
 
hashCode() - Method in class org.languagetool.rules.ConfusionString
 
hashCode() - Method in class org.languagetool.rules.RuleMatch
 
hashCode() - Method in class org.languagetool.rules.ScoredConfusionSet
 
hashCode() - Method in class org.languagetool.rules.spelling.RuleWithLanguage
 
hashCode() - Method in class org.languagetool.rules.spelling.suggestions.SuggestionChangesExperiment
 
hashCode() - Method in class org.languagetool.rules.spelling.symspell.implementation.SuggestItem
 
hashCode() - Method in class org.languagetool.rules.SuggestedReplacement
 
hashCode() - Method in class org.languagetool.tagging.TaggedWord
 
hashCode() - Method in class org.languagetool.UserConfig
 
hasLemma(String) - Method in class org.languagetool.AnalyzedTokenReadings
Checks if one of the token's readings has a particular lemma.
hasLinguServices() - Method in class org.languagetool.UserConfig
 
hasNextException() - Method in class org.languagetool.rules.patterns.PatternToken
Checks if the element has an exception for a next scope.
hasNGramFalseFriendRule(Language) - Method in class org.languagetool.Language
hasNoTag() - Method in class org.languagetool.AnalyzedToken
 
hasOrGroup() - Method in class org.languagetool.rules.patterns.PatternToken
Checks if this element has an OR group associated with it.
hasParagraphEndMark(Language) - Method in class org.languagetool.AnalyzedSentence
Returns true if sentences ends with a paragraph break.
hasPartialPosTag(String) - Method in class org.languagetool.AnalyzedTokenReadings
Checks if the token has a particular POS tag, where only a part of the given POS tag needs to match.
hasPosTag(String) - Method in class org.languagetool.AnalyzedTokenReadings
Checks if the token has a particular POS tag.
hasPosTagAndLemma(String, String) - Method in class org.languagetool.AnalyzedTokenReadings
Checks if the token has a particular POS tag and lemma.
hasPosTagStartingWith(String) - Method in class org.languagetool.AnalyzedTokenReadings
Checks if the token has a POS tag starting with the given string.
hasPreviousException() - Method in class org.languagetool.rules.patterns.PatternToken
Checks if the element has an exception for a previous token.
hasPreviousException() - Method in class org.languagetool.rules.patterns.PatternTokenMatcher
 
hasReading() - Method in class org.languagetool.AnalyzedTokenReadings
Checks if there is at least one POS tag
hasSameLemmas() - Method in class org.languagetool.AnalyzedTokenReadings
Used to optimize pattern matching.
hasVariant() - Method in class org.languagetool.Language
Whether this class has at least one subclass that implements variants of this language.
Hint - org.languagetool.rules.RuleMatch.Type
Style errors, typically light blue.
hitCount() - Method in class org.languagetool.ResultCache
 
hitRate() - Method in class org.languagetool.ResultCache
 
Hunspell - Class in org.languagetool.rules.spelling.hunspell
The simple hunspell library frontend which takes care of creating and singleton'ing the library instance (no need to load it more than once per process).
Hunspell(String) - Constructor for class org.languagetool.rules.spelling.hunspell.Hunspell
Constructor for the library, loads the native lib.
Hunspell_add(Pointer, byte[]) - Method in interface org.languagetool.rules.spelling.hunspell.HunspellLibrary
Add a word to the run-time dictionary.
Hunspell_create(String, String) - Method in interface org.languagetool.rules.spelling.hunspell.HunspellLibrary
Create the hunspell instance
Hunspell_destroy(Pointer) - Method in interface org.languagetool.rules.spelling.hunspell.HunspellLibrary
Destroy him my robots...
Hunspell_get_dic_encoding(Pointer) - Method in interface org.languagetool.rules.spelling.hunspell.HunspellLibrary
Get the dictionary encoding
Hunspell_spell(Pointer, byte[]) - Method in interface org.languagetool.rules.spelling.hunspell.HunspellLibrary
spell(word) - spellcheck word
Hunspell_suggest(Pointer, PointerByReference, byte[]) - Method in interface org.languagetool.rules.spelling.hunspell.HunspellLibrary
Search suggestions
Hunspell.Dictionary - Class in org.languagetool.rules.spelling.hunspell
Class representing a single dictionary.
hunspellDict - Variable in class org.languagetool.rules.spelling.hunspell.HunspellRule
 
HunspellLibrary - Interface in org.languagetool.rules.spelling.hunspell
Functions from $hunspell/src/hunspell/hunspell.h The Hunspell java bindings are licensed under the same terms as Hunspell itself (GPL/LGPL/MPL tri-license), see the file COPYING.txt in the root of the distribution for the exact terms.
HunspellNoSuggestionRule - Class in org.languagetool.rules.spelling.hunspell
Like HunspellRule, but does not offer suggestions for incorrect words as that is very slow with Hunspell.
HunspellNoSuggestionRule(ResourceBundle, Language, UserConfig, List<Language>) - Constructor for class org.languagetool.rules.spelling.hunspell.HunspellNoSuggestionRule
 
HunspellNoSuggestionRule(ResourceBundle, Language, UserConfig, List<Language>, IncorrectExample, CorrectExample) - Constructor for class org.languagetool.rules.spelling.hunspell.HunspellNoSuggestionRule
 
HunspellRule - Class in org.languagetool.rules.spelling.hunspell
A hunspell-based spellchecking-rule.
HunspellRule(ResourceBundle, Language, UserConfig) - Constructor for class org.languagetool.rules.spelling.hunspell.HunspellRule
 
HunspellRule(ResourceBundle, Language, UserConfig, List<Language>) - Constructor for class org.languagetool.rules.spelling.hunspell.HunspellRule
 
HunspellRule(ResourceBundle, Language, UserConfig, List<Language>, LanguageModel) - Constructor for class org.languagetool.rules.spelling.hunspell.HunspellRule
 

I

i18n(ResourceBundle, String, Object...) - Static method in class org.languagetool.tools.Tools
Translate a text string based on our i18n files.
id - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
ID - Static variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
ignore(AnalyzedTokenReadings[], int) - Method in class org.languagetool.rules.WordRepeatRule
Implement this method to return true if there's a potential word repetition at the current position that should be ignored, i.e.
IGNORE - Static variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
IGNORE_SPELLING - org.languagetool.tagging.disambiguation.rules.DisambiguationPatternRule.DisambiguatorAction
 
ignoreSpelling() - Method in class org.languagetool.AnalyzedTokenReadings
Make the token ignored by all spelling rules.
ignoreTaggedWords - Variable in class org.languagetool.rules.AbstractSimpleReplaceRule
 
ignoreToken(AnalyzedTokenReadings[], int) - Method in class org.languagetool.rules.spelling.SpellingCheckRule
Returns true iff the token at the given position should be ignored by the spell checker.
ignoreWord(String) - Method in class org.languagetool.rules.spelling.morfologik.MorfologikSpellerRule
Ignore surrogate pairs (emojis)
ignoreWord(String) - Method in class org.languagetool.rules.spelling.SpellingCheckRule
Returns true iff the word should be ignored by the spell checker.
ignoreWord(List<String>, int) - Method in class org.languagetool.rules.spelling.SpellingCheckRule
Returns true iff the word at the given position should be ignored by the spell checker.
ignoreWordsWithLength - Variable in class org.languagetool.rules.spelling.SpellingCheckRule
 
immunize() - Method in class org.languagetool.AnalyzedTokenReadings
 
IMMUNIZE - org.languagetool.tagging.disambiguation.rules.DisambiguationPatternRule.DisambiguatorAction
 
IMP_FL_OUNCE - Static variable in class org.languagetool.rules.AbstractUnitConversionRule
 
IMP_GALLON - Static variable in class org.languagetool.rules.AbstractUnitConversionRule
 
IMP_PINT - Static variable in class org.languagetool.rules.AbstractUnitConversionRule
 
IMP_QUART - Static variable in class org.languagetool.rules.AbstractUnitConversionRule
 
in - Variable in class org.languagetool.bitext.TabBitextReader
 
inAndGroup - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
INCH - Static variable in class org.languagetool.rules.AbstractUnitConversionRule
 
Inconsistency - org.languagetool.rules.ITSIssueType
 
InconsistentEntities - org.languagetool.rules.ITSIssueType
 
IncorrectBitextExample - Class in org.languagetool.rules.bitext
A text, typically a pair of sentences that contains an error.
IncorrectBitextExample(StringPair) - Constructor for class org.languagetool.rules.bitext.IncorrectBitextExample
 
IncorrectBitextExample(StringPair, List<String>) - Constructor for class org.languagetool.rules.bitext.IncorrectBitextExample
 
incorrectExample - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
inCorrectExample - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
IncorrectExample - Class in org.languagetool.rules
A text, typically a sentence, that contains an error.
IncorrectExample(String) - Constructor for class org.languagetool.rules.IncorrectExample
 
IncorrectExample(String, List<String>) - Constructor for class org.languagetool.rules.IncorrectExample
 
incorrectExamples - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
inErrorTriggerExample - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
inException - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
INFLECTED - Static variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
inIncorrectExample - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
init() - Method in class org.languagetool.rules.spelling.hunspell.HunspellRule
 
init() - Method in class org.languagetool.rules.spelling.SpellingCheckRule
 
initDefaultDictSpeller(Language) - Static method in class org.languagetool.rules.spelling.SymSpellRule
 
INITIAL_CAPACITY - Static variable in class org.languagetool.rules.spelling.SymSpellRule
 
initLanguageModel(File, LanguageModel) - Method in class org.languagetool.Language
 
initParameters() - Method in class org.languagetool.rules.spelling.suggestions.SuggestionsOrdererFeatureExtractor
 
initParameters() - Method in class org.languagetool.rules.spelling.suggestions.XGBoostSuggestionsOrderer
 
initPossibleTags() - Method in class org.languagetool.synthesis.BaseSynthesizer
 
initUserDictSpeller(UserConfig) - Static method in class org.languagetool.rules.spelling.SymSpellRule
 
inMarker - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
inMatch - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
inMessage - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
inOrGroup - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
inPattern - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
inPhrases - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
inRegex - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
inRuleGroup - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
insert() - Method in class org.languagetool.rules.spelling.morfologik.suggestions_ordering.DetailedDamerauLevenstheinDistance.Distance
 
Insert() - Constructor for class org.languagetool.rules.spelling.morfologik.suggestions_ordering.DetailedDamerauLevenstheinDistance.Insert
 
insertConfigValues(Map<String, Integer>) - Method in class org.languagetool.UserConfig
 
inserts - Variable in class org.languagetool.rules.spelling.morfologik.suggestions_ordering.DetailedDamerauLevenstheinDistance.Distance
 
inShortMessage - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
inShortMessageForRuleGroup - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
inSuggestion - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
INTERNAL - org.languagetool.rules.Category.Location
The rules in this category are part of the main distribution of LanguageTool and are thus available on community.languagetool.org.
Internationalization - org.languagetool.rules.ITSIssueType
 
InterruptibleCharSequence - Class in org.languagetool.tools
CharSequence that noticed thread interrupts -- as might be necessary to recover from a loose regex on unexpected challenging input.
InterruptibleCharSequence(CharSequence) - Constructor for class org.languagetool.tools.InterruptibleCharSequence
 
inToken - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
inUnification - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
inUnificationDef - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
inUnificationNeutral - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
inUrl - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
inUrlForRuleGroup - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
isAcceptedWordFromLanguage(Language, String) - Method in class org.languagetool.rules.spelling.hunspell.HunspellRule
Used in combination with acceptedInAlternativeLanguage to surpress spelling errors for words from a foreign language
isAdverb(AnalyzedTokenReadings) - Method in class org.languagetool.rules.WordRepeatBeginningRule
 
isAllUppercase(String) - Static method in class org.languagetool.tools.StringTools
Returns true if the given string is made up of all-uppercase characters (ignoring characters for which no upper-/lowercase distinction exists).
isAndExceptionGroupMatched(AnalyzedToken) - Method in class org.languagetool.rules.patterns.PatternToken
Enables testing multiple conditions specified by multiple element exceptions.
isArticle(AnalyzedTokenReadings) - Method in class org.languagetool.rules.ParagraphRepeatBeginningRule
 
isAutoCorrect() - Method in class org.languagetool.rules.RuleMatch
 
isBidirectional() - Method in class org.languagetool.rules.ConfusionPair
 
isCapitalizedWord(String) - Static method in class org.languagetool.tools.StringTools
 
isCaseSensitive() - Method in class org.languagetool.rules.AbstractSimpleReplaceRule
Indicates if the rule is case-sensitive.
isCaseSensitive() - Method in class org.languagetool.rules.AbstractSimpleReplaceRule2
use case-sensitive matching.
isCaseSensitive() - Method in class org.languagetool.rules.patterns.PatternToken
Whether the element matches case sensitively.
isCategoryDisabled(CategoryId) - Method in class org.languagetool.JLanguageTool
Returns true if a category is explicitly disabled.
isCheckLemmas() - Method in class org.languagetool.rules.AbstractSimpleReplaceRule
 
isCorrectSpell(String, Language) - Method in class org.languagetool.LinguServices
Returns true if the spell check is positive
isDefaultOff() - Method in class org.languagetool.rules.Category
Checks whether the category has been turned off by default by the category author.
isDefaultOff() - Method in class org.languagetool.rules.Rule
Checks whether the rule has been turned off by default by the rule author.
isDefaultTempOff() - Method in class org.languagetool.rules.Rule
Checks whether the rule has been turned off using "default='temp_off'" by default by the rule author.
isDictionaryBasedSpellingRule() - Method in class org.languagetool.rules.Rule
Whether this is a spelling rule that uses a dictionary.
isDictionaryBasedSpellingRule() - Method in class org.languagetool.rules.spelling.SpellingCheckRule
 
isEMail(String) - Method in class org.languagetool.rules.spelling.SpellingCheckRule
 
isEMail(String) - Method in class org.languagetool.rules.UppercaseSentenceStartRule
 
isEMail(String) - Static method in class org.languagetool.tokenizers.WordTokenizer
 
isEmpty(String) - Static method in class org.languagetool.tools.StringTools
Helper method to replace calls to "".equals().
isException(String) - Method in class org.languagetool.rules.AbstractSimpleReplaceRule2
 
isException(String) - Method in class org.languagetool.rules.ngrams.ConfusionProbabilityRule
Return true to prevent a match.
isException(String) - Method in class org.languagetool.rules.WordRepeatBeginningRule
 
isException(AnalyzedTokenReadings[], int) - Method in class org.languagetool.rules.AbstractFillerWordsRule
 
isExceptionMatched(AnalyzedToken) - Method in class org.languagetool.rules.patterns.PatternToken
Checks whether an exception matches.
isExceptionMatchedCompletely(AnalyzedToken) - Method in class org.languagetool.rules.patterns.PatternToken
This method checks exceptions both in AND-group and the token.
isExceptionMatchedCompletely(AnalyzedToken) - Method in class org.languagetool.rules.patterns.PatternTokenMatcher
 
isExternal() - Method in class org.languagetool.Language
For internal use only.
isFieldCode() - Method in class org.languagetool.AnalyzedTokenReadings
 
isFillerWord(String) - Method in class org.languagetool.rules.AbstractFillerWordsRule
 
isGetUnified() - Method in class org.languagetool.rules.patterns.AbstractPatternRule
 
isGroupsOrUnification() - Method in class org.languagetool.rules.patterns.AbstractPatternRule
 
isHiddenFromGui() - Method in class org.languagetool.Language
 
isHyphenIgnored() - Method in class org.languagetool.rules.AbstractCompoundRule
Flag to indicate if the hyphen is ignored in the text entered by the user.
isIgnoredBySpeller() - Method in class org.languagetool.AnalyzedTokenReadings
Test if the token can be ignored by spelling rules.
isImmunized() - Method in class org.languagetool.AnalyzedTokenReadings
 
isInflected() - Method in class org.languagetool.rules.patterns.PatternToken
 
isInMessageOnly() - Method in class org.languagetool.rules.patterns.Match
 
isInsideMarker() - Method in class org.languagetool.rules.patterns.PatternToken
 
isJanuary() - Method in class org.languagetool.rules.AbstractNewYearDateFilter
Return true if the year recently changed (= it is January)
isLanguageSupported(String) - Static method in class org.languagetool.Languages
Return whether a language with the given language code is supported.
isLastInUnification() - Method in class org.languagetool.rules.patterns.PatternToken
 
isLinebreak() - Method in class org.languagetool.AnalyzedTokenReadings
Returns true if the token equals \n, \r, \n\r, or \r\n.
isMatched(AnalyzedToken) - Method in class org.languagetool.rules.patterns.PatternToken
Checks whether the rule element matches the token given as a parameter.
isMatched(AnalyzedToken) - Method in class org.languagetool.rules.patterns.PatternTokenMatcher
Checks whether the rule element matches the token given as a parameter.
isMatchedByPreviousException(AnalyzedToken) - Method in class org.languagetool.rules.patterns.PatternToken
Checks whether an exception for a previous token matches (in case the exception had scope == "previous").
isMatchedByPreviousException(AnalyzedTokenReadings) - Method in class org.languagetool.rules.patterns.PatternToken
Checks whether an exception for a previous token matches all readings of a given token (in case the exception had scope == "previous").
isMatchedByPreviousException(AnalyzedTokenReadings) - Method in class org.languagetool.rules.patterns.PatternTokenMatcher
 
isMatchedByScopeNextException(AnalyzedToken) - Method in class org.languagetool.rules.patterns.PatternToken
Checks whether a previously set exception matches (in case the exception had scope == "next").
isMatchedByScopeNextException(AnalyzedToken) - Method in class org.languagetool.rules.patterns.PatternTokenMatcher
 
isMisspelled(String) - Method in class org.languagetool.rules.spelling.hunspell.HunspellRule
 
isMisspelled(String) - Method in class org.languagetool.rules.spelling.morfologik.MorfologikMultiSpeller
Accept the word if at least one of the dictionaries accepts it as not misspelled.
isMisspelled(String) - Method in class org.languagetool.rules.spelling.morfologik.MorfologikSpeller
 
isMisspelled(String) - Method in class org.languagetool.rules.spelling.morfologik.MorfologikSpellerRule
 
isMisspelled(String) - Method in class org.languagetool.rules.spelling.SpellingCheckRule
 
isMisspelled(String) - Method in class org.languagetool.rules.spelling.SymSpellRule
 
isMisspelled(MorfologikMultiSpeller, String) - Method in class org.languagetool.rules.spelling.morfologik.MorfologikSpellerRule
 
isMixedCase(String) - Static method in class org.languagetool.tools.StringTools
Returns true if the given string is mixed case, like MixedCase or mixedCase (but not Mixedcase).
isMlAvailable() - Method in class org.languagetool.rules.spelling.morfologik.suggestions_ordering.SuggestionsOrdererGSoC
Deprecated.
 
isMlAvailable() - Method in interface org.languagetool.rules.spelling.suggestions.SuggestionsOrderer
 
isMlAvailable() - Method in class org.languagetool.rules.spelling.suggestions.SuggestionsOrdererFeatureExtractor
 
isMlAvailable() - Method in class org.languagetool.rules.spelling.suggestions.XGBoostSuggestionsOrderer
 
isMLSuggestionsOrderingEnabled() - Static method in class org.languagetool.rules.spelling.morfologik.suggestions_ordering.SuggestionsOrdererConfig
 
isNoException(String, AnalyzedTokenReadings[], int, int, boolean, boolean, UnsyncStack<SymbolLocator>) - Method in class org.languagetool.rules.GenericUnpairedBracketsRule
Generic method to specify an exception.
isNonBreakingWhitespace(String) - Static method in class org.languagetool.tools.StringTools
Checks if a string is the non-breaking whitespace ( ).
isNonWord() - Method in class org.languagetool.AnalyzedTokenReadings
 
isNotAllLowercase(String) - Static method in class org.languagetool.tools.StringTools
Returns true if str is made up of all-lowercase characters (ignoring characters for which no upper-/lowercase distinction exists).
isOfficeDefaultOff() - Method in class org.languagetool.rules.Rule
Checks whether the rule has been turned off by default for Office Extension by the rule author.
isOfficeDefaultOn() - Method in class org.languagetool.rules.Rule
Checks whether the rule has been turned on by default for Office Extension by the rule author.
isParagraphEnd() - Method in class org.languagetool.AnalyzedTokenReadings
 
isParagraphEnd(String, boolean) - Static method in class org.languagetool.tools.StringTools
 
isPartOfPhrase() - Method in class org.languagetool.rules.patterns.PatternToken
Checks if the Element is in any phrase.
isPartOfWord(String, String) - Method in class org.languagetool.rules.AbstractStyleRepeatedWordRule
 
isPositiveNumber(char) - Static method in class org.languagetool.tools.StringTools
 
isPostagRegexp() - Method in class org.languagetool.rules.patterns.Match
 
isPOStagRegularExpression() - Method in class org.languagetool.rules.patterns.PatternToken
Tests whether the POS matches a regular expression.
isPosTagUnknown() - Method in class org.languagetool.AnalyzedTokenReadings
Test if the token's POStag equals null.
isPremiumVersion() - Static method in class org.languagetool.JLanguageTool
 
isProhibited(String) - Method in class org.languagetool.rules.spelling.SpellingCheckRule
Whether the word is prohibited, i.e.
isPunctsJoinOk(String) - Method in class org.languagetool.rules.AbstractPunctuationCheckRule
 
isPunctuation(String) - Method in class org.languagetool.rules.AbstractPunctuationCheckRule
 
isQuotedCompound(AnalyzedSentence, int, String) - Method in class org.languagetool.rules.spelling.hunspell.HunspellRule
Is the given token part of a hyphenated compound preceded by a quoted token (e.g., „Spiegel“-Magazin) and should be treated as an ordinary hyphenated compound (e.g., „Spiegel-Magazin“)
isReferenceElement() - Method in class org.languagetool.rules.patterns.PatternToken
 
isRegularExpression() - Method in class org.languagetool.rules.patterns.PatternToken
Tests whether the element matches a regular expression.
isRunningExperiment(String) - Static method in class org.languagetool.rules.spelling.suggestions.SuggestionsChanges
 
isSatisfied(AnalyzedToken, Map<String, List<String>>) - Method in class org.languagetool.rules.patterns.Unifier
Tests if a token has shared features with other tokens.
isSentenceEnd() - Method in class org.languagetool.AnalyzedTokenReadings
 
isSentenceStart() - Method in class org.languagetool.AnalyzedTokenReadings
 
isSentenceStart() - Method in class org.languagetool.rules.patterns.PatternToken
Checks if the token is a sentence start.
isSentStart() - Method in class org.languagetool.rules.patterns.AbstractPatternRule
 
isSpellcheckOnlyLanguage() - Method in class org.languagetool.Language
Whether this language supports spell checking only and no advanced grammar and style checking.
isStaticLemma() - Method in class org.languagetool.rules.patterns.Match
 
isSurrogatePairCombination(String) - Method in class org.languagetool.rules.spelling.morfologik.MorfologikSpellerRule
Checks whether a given String consists only of surrogate pairs.
isTagged() - Method in class org.languagetool.AnalyzedTokenReadings
 
isTagged(AnalyzedTokenReadings) - Method in class org.languagetool.rules.AbstractSimpleReplaceRule
This method allows to override which tags will mark token as tagged
isTestUnification() - Method in class org.languagetool.rules.patterns.AbstractPatternRule
 
isTokenPair(AnalyzedTokenReadings[], int, boolean) - Method in class org.languagetool.rules.AbstractStyleRepeatedWordRule
 
isTokenToCheck(AnalyzedTokenReadings) - Method in class org.languagetool.rules.AbstractStyleRepeatedWordRule
 
isUnificationNeutral() - Method in class org.languagetool.rules.patterns.PatternToken
Determines whether the element should be silently ignored during unification, and simply added.
isUnified() - Method in class org.languagetool.rules.patterns.PatternToken
 
isUnified(AnalyzedToken, Map<String, List<String>>, boolean) - Method in class org.languagetool.rules.patterns.Unifier
 
isUnified(AnalyzedToken, Map<String, List<String>>, boolean, boolean) - Method in class org.languagetool.rules.patterns.Unifier
Tests if the token sequence is unified.
isUniNegated() - Method in class org.languagetool.rules.patterns.PatternToken
 
isUnsure() - Method in class org.languagetool.rules.neuralnetwork.Suggestion
 
isUrl(String) - Method in class org.languagetool.rules.spelling.SpellingCheckRule
 
isUrl(String) - Method in class org.languagetool.rules.UppercaseSentenceStartRule
 
isUrl(String) - Static method in class org.languagetool.tokenizers.WordTokenizer
 
isVariant() - Method in class org.languagetool.Language
Whether this is a country variant of another language, i.e.
isWhitespace() - Method in class org.languagetool.AnalyzedTokenReadings
 
isWhitespace(String) - Static method in class org.languagetool.tools.StringTools
Checks if a string contains a whitespace, including: all Unicode whitespace the non-breaking space (U+00A0) the narrow non-breaking space (U+202F) the zero width space (U+200B), used in Khmer
isWhitespaceBefore() - Method in class org.languagetool.AnalyzedToken
 
isWhitespaceBefore() - Method in class org.languagetool.AnalyzedTokenReadings
 
isWhitespaceBefore(AnalyzedToken) - Method in class org.languagetool.rules.patterns.PatternToken
 
iterator() - Method in class org.languagetool.AnalyzedTokenReadings
 
iterator() - Method in class org.languagetool.bitext.TabBitextReader
 
iterator() - Method in class org.languagetool.bitext.WordFastTMReader
 
ITSIssueType - Enum in org.languagetool.rules
Some constants for Localization Quality Issue Type from the Internationalization Tag Set (ITS) Version 2.0.

J

JLanguageTool - Class in org.languagetool
The main class used for checking text against different rules: built-in Java rules (for English: a vs.
JLanguageTool(Language) - Constructor for class org.languagetool.JLanguageTool
Create a JLanguageTool and setup the built-in Java rules for the given language.
JLanguageTool(Language, List<Language>, Language, ResultCache, GlobalConfig, UserConfig) - Constructor for class org.languagetool.JLanguageTool
Create a JLanguageTool and setup the built-in rules for the given language and false friend rules for the text language / mother tongue pair.
JLanguageTool(Language, Language) - Constructor for class org.languagetool.JLanguageTool
Create a JLanguageTool and setup the built-in rules for the given language and false friend rules for the text language / mother tongue pair.
JLanguageTool(Language, Language, ResultCache) - Constructor for class org.languagetool.JLanguageTool
Create a JLanguageTool and setup the built-in rules for the given language and false friend rules for the text language / mother tongue pair.
JLanguageTool(Language, Language, ResultCache, UserConfig) - Constructor for class org.languagetool.JLanguageTool
Create a JLanguageTool and setup the built-in rules for the given language and false friend rules for the text language / mother tongue pair.
JLanguageTool(Language, ResultCache, UserConfig) - Constructor for class org.languagetool.JLanguageTool
Create a JLanguageTool and setup the built-in rules for the given language and false friend rules for the text language / mother tongue pair.
JLanguageTool.Mode - Enum in org.languagetool
 
JLanguageTool.ParagraphHandling - Enum in org.languagetool
Constants for correct paragraph-rule handling.
JnaTools - Class in org.languagetool.tools
JNA helper tools.
joinEMails(List<String>) - Method in class org.languagetool.tokenizers.WordTokenizer
 
joinEMailsAndUrls(List<String>) - Method in class org.languagetool.tokenizers.WordTokenizer
 
joinUrls(List<String>) - Method in class org.languagetool.tokenizers.WordTokenizer
 

L

language - Variable in class org.languagetool.rules.LanguageDependentFilter
 
language - Variable in class org.languagetool.rules.patterns.AbstractPatternRule
 
language - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
language - Variable in class org.languagetool.rules.spelling.SpellingCheckRule
 
language - Variable in class org.languagetool.rules.spelling.suggestions.SuggestionsOrdererFeatureExtractor
 
Language - Class in org.languagetool
Base class for any supported language (English, German, etc).
Language() - Constructor for class org.languagetool.Language
 
LanguageBuilder - Class in org.languagetool.language
Create a language by specifying the language's XML rule file.
LanguageDependentFilter - Class in org.languagetool.rules
 
LanguageDependentFilter(Language, Set<String>, Set<CategoryId>) - Constructor for class org.languagetool.rules.LanguageDependentFilter
 
LanguageIdentifier - Class in org.languagetool.language
Identify the language of a text.
LanguageIdentifier() - Constructor for class org.languagetool.language.LanguageIdentifier
 
LanguageIdentifier(int) - Constructor for class org.languagetool.language.LanguageIdentifier
 
LanguageMaintainedState - Enum in org.languagetool
Information about whether a language in LanguageTool is actively maintained.
languageModel - Variable in class org.languagetool.rules.spelling.SpellingCheckRule
 
languageModel - Variable in class org.languagetool.rules.spelling.suggestions.SuggestionsOrdererFeatureExtractor
 
LanguageModel - Interface in org.languagetool.languagemodel
A language model that provides information about ngram probabilities.
LanguageModelUtils - Class in org.languagetool.rules.ngrams
 
Languages - Class in org.languagetool
Helper methods to list all supported languages and to get language objects by their name or language code etc.
LANGUAGETOOL - Static variable in class org.languagetool.rules.spelling.SpellingCheckRule
The string LanguageTool.
LANGUAGETOOLER - Static variable in class org.languagetool.rules.spelling.SpellingCheckRule
The string LanguageTooler.
lastPhrase - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
true when phraseref is the last element in the rule.
leaveReading(AnalyzedToken) - Method in class org.languagetool.AnalyzedTokenReadings
Removes all readings but the one that matches the token given.
Legal - org.languagetool.rules.ITSIssueType
 
length() - Method in class org.languagetool.tools.InterruptibleCharSequence
 
Length - org.languagetool.rules.ITSIssueType
 
libName() - Static method in class org.languagetool.rules.spelling.hunspell.Hunspell
Calculate the filename of the native hunspell lib.
libNameBare() - Static method in class org.languagetool.rules.spelling.hunspell.Hunspell
 
LinguServices - Class in org.languagetool
Dummy class for UserConfig has to be overridden by concrete linguistic service e.g.
LinguServices() - Constructor for class org.languagetool.LinguServices
 
loadCompoundFile(String, String, Language) - Static method in class org.languagetool.rules.AbstractDashRule
 
loadConfusionPairs(InputStream) - Method in class org.languagetool.rules.ConfusionSetLoader
 
loadConfusionSet(InputStream) - Static method in class org.languagetool.rules.ScoredConfusionSetLoader
 
loadDictionary(BufferedReader, int, int) - Method in class org.languagetool.rules.spelling.symspell.implementation.SymSpell
 
loadDictionary(InputStream, int, int) - Method in class org.languagetool.rules.spelling.symspell.implementation.SymSpell
 
loadDictionary(String, int, int) - Method in class org.languagetool.rules.spelling.symspell.implementation.SymSpell
 
loadFalseFriendRules(String) - Method in class org.languagetool.JLanguageTool
Load false friend rules from an XML file.
loadFromPath(String) - Static method in class org.languagetool.rules.AbstractSimpleReplaceRule
 
loadLines(String) - Static method in class org.languagetool.tools.StringTools
Loads file, ignoring comments (lines starting with #).
loadPatternRules(String) - Method in class org.languagetool.JLanguageTool
Load pattern rules from an XML file.
loadPatternRules(String) - Method in class org.languagetool.tagging.disambiguation.rules.XmlRuleDisambiguator
Load disambiguation rules from an XML file.
loadWords(InputStream) - Static method in class org.languagetool.synthesis.SynthesizerTools
 
loadWords(String) - Method in class org.languagetool.rules.SimpleReplaceDataLoader
Load replacement rules from a utf-8 file in the classpath.
loadWords(String) - Method in class org.languagetool.rules.spelling.CachingWordListLoader
 
loadWords(String) - Method in class org.languagetool.rules.WordCoherencyDataLoader
 
LocaleSpecificContent - org.languagetool.rules.ITSIssueType
 
LocaleViolation - org.languagetool.rules.ITSIssueType
 
log(RuleLoggerMessage) - Method in class org.languagetool.RuleLoggerManager
 
log(RuleLoggerMessage, Level) - Method in class org.languagetool.OutputStreamLogger
 
log(RuleLoggerMessage, Level) - Method in class org.languagetool.RuleLogger
 
log(RuleLoggerMessage, Level) - Method in class org.languagetool.RuleLoggerManager
 
LongParagraphRule - Class in org.languagetool.rules
A rule that warns on long paragraphs.
LongParagraphRule(ResourceBundle, Language, UserConfig) - Constructor for class org.languagetool.rules.LongParagraphRule
 
LongParagraphRule(ResourceBundle, Language, UserConfig, int) - Constructor for class org.languagetool.rules.LongParagraphRule
 
LongParagraphRule(ResourceBundle, Language, UserConfig, int, boolean) - Constructor for class org.languagetool.rules.LongParagraphRule
 
LongSentenceRule - Class in org.languagetool.rules
A rule that warns on long sentences.
LongSentenceRule(ResourceBundle, UserConfig) - Constructor for class org.languagetool.rules.LongSentenceRule
Creates a rule with default values can be overwritten by configuration settings
LongSentenceRule(ResourceBundle, UserConfig, int) - Constructor for class org.languagetool.rules.LongSentenceRule
Creates a rule with default inactive
LongSentenceRule(ResourceBundle, UserConfig, int, boolean) - Constructor for class org.languagetool.rules.LongSentenceRule
 
LookingForNewMaintainer - org.languagetool.LanguageMaintainedState
 
lookup(String, String) - Method in class org.languagetool.synthesis.ManualSynthesizer
Look up a word's inflected form as specified by the lemma and POS tag.
lookup(String, String, List<String>) - Method in class org.languagetool.synthesis.BaseSynthesizer
Lookup the inflected forms of a lemma defined by a part-of-speech tag.
lookup(String, SymSpell.Verbosity) - Method in class org.languagetool.rules.spelling.symspell.implementation.SymSpell
 
lookup(String, SymSpell.Verbosity, int) - Method in class org.languagetool.rules.spelling.symspell.implementation.SymSpell
 
lookupCompound(String) - Method in class org.languagetool.rules.spelling.symspell.implementation.SymSpell
 
lookupCompound(String, int) - Method in class org.languagetool.rules.spelling.symspell.implementation.SymSpell
 
LOWERCASE_GREEK_LETTERS - Static variable in class org.languagetool.tools.StringTools
 
lowercaseFirstChar(String) - Static method in class org.languagetool.tools.StringTools
Return str modified so that its first character is now an lowercase character.
LuceneLanguageModel - Class in org.languagetool.languagemodel
Like LuceneSingleIndexLanguageModel, but can merge the results of lookups in several independent indexes to one result.
LuceneLanguageModel(File) - Constructor for class org.languagetool.languagemodel.LuceneLanguageModel
 
LuceneSingleIndexLanguageModel - Class in org.languagetool.languagemodel
Information about ngram occurrences, taken from Lucene indexes (one index per ngram level).
LuceneSingleIndexLanguageModel(int) - Constructor for class org.languagetool.languagemodel.LuceneSingleIndexLanguageModel
 
LuceneSingleIndexLanguageModel(File) - Constructor for class org.languagetool.languagemodel.LuceneSingleIndexLanguageModel
 
LuceneSingleIndexLanguageModel.LuceneSearcher - Class in org.languagetool.languagemodel
 

M

main(String[]) - Static method in class org.languagetool.rules.spelling.SymSpellRule
 
makeAdditionalLanguage(File) - Static method in class org.languagetool.language.LanguageBuilder
 
makeAntiPatterns(List<List<PatternToken>>, Language) - Method in class org.languagetool.rules.Rule
Helper for implementing Rule.getAntiPatterns().
ManualSynthesizer - Class in org.languagetool.synthesis
A synthesizer that reads the inflected form and POS information from a plain (UTF-8) text file.
ManualSynthesizer(InputStream) - Constructor for class org.languagetool.synthesis.ManualSynthesizer
 
ManualTagger - Class in org.languagetool.tagging
A tagger that reads the POS information from a plain (UTF-8) text file.
ManualTagger(InputStream) - Constructor for class org.languagetool.tagging.ManualTagger
 
mark(boolean) - Method in class org.languagetool.rules.patterns.PatternTokenBuilder
Corresponds to <marker>...</marker> in XML.
MARK - Static variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
MARKER - Static variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
Markup - org.languagetool.rules.ITSIssueType
 
match - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
match(List<AnalyzedSentence>) - Method in class org.languagetool.rules.AbstractFillerWordsRule
 
match(List<AnalyzedSentence>) - Method in class org.languagetool.rules.AbstractStyleRepeatedWordRule
 
match(List<AnalyzedSentence>) - Method in class org.languagetool.rules.AbstractWordCoherencyRule
 
match(List<AnalyzedSentence>) - Method in class org.languagetool.rules.EmptyLineRule
 
match(List<AnalyzedSentence>) - Method in class org.languagetool.rules.GenericUnpairedBracketsRule
 
match(List<AnalyzedSentence>) - Method in class org.languagetool.rules.LongParagraphRule
 
match(List<AnalyzedSentence>) - Method in class org.languagetool.rules.MultipleWhitespaceRule
 
match(List<AnalyzedSentence>) - Method in class org.languagetool.rules.ParagraphRepeatBeginningRule
 
match(List<AnalyzedSentence>) - Method in class org.languagetool.rules.PunctuationMarkAtParagraphEnd
 
match(List<AnalyzedSentence>) - Method in class org.languagetool.rules.ReadabilityRule
 
match(List<AnalyzedSentence>) - Method in class org.languagetool.rules.SentenceWhitespaceRule
 
match(List<AnalyzedSentence>) - Method in class org.languagetool.rules.TextLevelRule
match(List<AnalyzedSentence>) - Method in class org.languagetool.rules.UppercaseSentenceStartRule
 
match(List<AnalyzedSentence>) - Method in class org.languagetool.rules.WhiteSpaceBeforeParagraphEnd
 
match(List<AnalyzedSentence>) - Method in class org.languagetool.rules.WordRepeatBeginningRule
 
match(List<AnalyzedSentence>, AnnotatedText) - Method in class org.languagetool.rules.TextLevelRule
 
match(AnalyzedSentence) - Method in class org.languagetool.rules.AbstractCompoundRule
 
match(AnalyzedSentence) - Method in class org.languagetool.rules.AbstractDashRule
 
match(AnalyzedSentence) - Method in class org.languagetool.rules.AbstractPunctuationCheckRule
 
match(AnalyzedSentence) - Method in class org.languagetool.rules.AbstractSimpleReplaceRule
 
match(AnalyzedSentence) - Method in class org.languagetool.rules.AbstractSimpleReplaceRule2
 
match(AnalyzedSentence) - Method in class org.languagetool.rules.AbstractSpaceBeforeRule
 
match(AnalyzedSentence) - Method in class org.languagetool.rules.AbstractUnitConversionRule
 
match(AnalyzedSentence) - Method in class org.languagetool.rules.AdvancedWordRepeatRule
 
match(AnalyzedSentence) - Method in class org.languagetool.rules.bitext.BitextRule
This method makes no sense for bitext, thus it always returns null.
match(AnalyzedSentence) - Method in class org.languagetool.rules.CommaWhitespaceRule
 
match(AnalyzedSentence) - Method in class org.languagetool.rules.DemoRule
 
match(AnalyzedSentence) - Method in class org.languagetool.rules.DoublePunctuationRule
 
match(AnalyzedSentence) - Method in class org.languagetool.rules.LongSentenceRule
 
match(AnalyzedSentence) - Method in class org.languagetool.rules.neuralnetwork.NeuralNetworkRule
 
match(AnalyzedSentence) - Method in class org.languagetool.rules.ngrams.ConfusionProbabilityRule
 
match(AnalyzedSentence) - Method in class org.languagetool.rules.ngrams.NgramProbabilityRule
 
match(AnalyzedSentence) - Method in class org.languagetool.rules.OpenNMTRule
 
match(AnalyzedSentence) - Method in class org.languagetool.rules.patterns.AbstractPatternRule
 
match(AnalyzedSentence) - Method in class org.languagetool.rules.patterns.bitext.BitextPatternRule
This method always returns an empty array.
match(AnalyzedSentence) - Method in class org.languagetool.rules.patterns.PatternRule
 
match(AnalyzedSentence) - Method in class org.languagetool.rules.patterns.PatternRuleMatcher
 
match(AnalyzedSentence) - Method in class org.languagetool.rules.patterns.RegexPatternRule
 
match(AnalyzedSentence) - Method in interface org.languagetool.rules.patterns.RuleMatcher
 
match(AnalyzedSentence) - Method in class org.languagetool.rules.Rule
Check whether the given sentence matches this error rule, i.e.
match(AnalyzedSentence) - Method in class org.languagetool.rules.spelling.hunspell.HunspellRule
 
match(AnalyzedSentence) - Method in class org.languagetool.rules.spelling.morfologik.MorfologikSpellerRule
 
match(AnalyzedSentence) - Method in class org.languagetool.rules.spelling.SpellingCheckRule
 
match(AnalyzedSentence) - Method in class org.languagetool.rules.spelling.SymSpellRule
 
match(AnalyzedSentence) - Method in class org.languagetool.rules.TextLevelRule
 
match(AnalyzedSentence) - Method in class org.languagetool.rules.WhiteSpaceAtBeginOfParagraph
 
match(AnalyzedSentence) - Method in class org.languagetool.rules.WhitespaceBeforePunctuationRule
 
match(AnalyzedSentence) - Method in class org.languagetool.rules.WordRepeatRule
 
match(AnalyzedSentence) - Method in class org.languagetool.rules.WrongWordInContextRule
 
match(AnalyzedSentence, AnalyzedSentence) - Method in class org.languagetool.rules.bitext.BitextRule
 
match(AnalyzedSentence, AnalyzedSentence) - Method in class org.languagetool.rules.bitext.DifferentLengthRule
 
match(AnalyzedSentence, AnalyzedSentence) - Method in class org.languagetool.rules.bitext.DifferentPunctuationRule
 
match(AnalyzedSentence, AnalyzedSentence) - Method in class org.languagetool.rules.bitext.SameTranslationRule
 
match(AnalyzedSentence, AnalyzedSentence) - Method in class org.languagetool.rules.patterns.bitext.BitextPatternRule
 
Match - Class in org.languagetool.rules.patterns
A Match is the configuration of an algorithm used to match AnalyzedTokenReadingss.
Match(String, String, boolean, String, String, Match.CaseConversion, boolean, boolean, Match.IncludeRange) - Constructor for class org.languagetool.rules.patterns.Match
 
MATCH - Static variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
Match.CaseConversion - Enum in org.languagetool.rules.patterns
Possible string case conversions.
Match.IncludeRange - Enum in org.languagetool.rules.patterns
 
matches(String, AnalyzedTokenReadings) - Method in class org.languagetool.tagging.disambiguation.MultiWordChunker2
 
matches(Map<String, String>, AnalyzedTokenReadings[], int) - Method in class org.languagetool.rules.patterns.RuleFilter
 
matches(AnalyzedToken) - Method in class org.languagetool.AnalyzedToken
 
matchesPosTagRegex(String) - Method in class org.languagetool.AnalyzedTokenReadings
Checks if at least one of the readings matches a given POS tag regex.
matchFound(RuleMatch) - Method in interface org.languagetool.RuleMatchListener
Called for every RuleMatch found.
matchInflectedForms() - Method in class org.languagetool.rules.patterns.PatternTokenBuilder
Also match inflected forms of the given word - note this will only work when the given token actually is a baseform.
MatchState - Class in org.languagetool.rules.patterns
The state of a matching process.
MatchState(Match, Synthesizer) - Constructor for class org.languagetool.rules.patterns.MatchState
 
Matrix - Class in org.languagetool.rules.neuralnetwork
 
Matrix(InputStream) - Constructor for class org.languagetool.rules.neuralnetwork.Matrix
 
MAX - Static variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
maxDistanceOfSentences - Variable in class org.languagetool.rules.AbstractStyleRepeatedWordRule
 
maxOccurrence - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
maxWords - Variable in class org.languagetool.rules.LongParagraphRule
 
maxWords - Variable in class org.languagetool.rules.LongSentenceRule
 
message - Variable in class org.languagetool.rules.patterns.AbstractPatternRule
 
message - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
MESSAGE - Static variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
MESSAGE_BUNDLE - Static variable in class org.languagetool.JLanguageTool
Name of the message bundle for translations.
messages - Variable in class org.languagetool.rules.Rule
 
messageSameSentence() - Method in class org.languagetool.rules.AbstractStyleRepeatedWordRule
 
messageSentenceAfter() - Method in class org.languagetool.rules.AbstractStyleRepeatedWordRule
 
messageSentenceBefore() - Method in class org.languagetool.rules.AbstractStyleRepeatedWordRule
 
metricUnits - Variable in class org.languagetool.rules.AbstractUnitConversionRule
 
MILE - Static variable in class org.languagetool.rules.AbstractUnitConversionRule
 
MIN - Static variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
MIN_COVERAGE - Static variable in class org.languagetool.rules.ngrams.ConfusionProbabilityRule
 
minOccurrence - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
minToCheckParagraph() - Method in class org.languagetool.rules.AbstractFillerWordsRule
 
minToCheckParagraph() - Method in class org.languagetool.rules.AbstractStyleRepeatedWordRule
 
minToCheckParagraph() - Method in class org.languagetool.rules.AbstractWordCoherencyRule
 
minToCheckParagraph() - Method in class org.languagetool.rules.EmptyLineRule
 
minToCheckParagraph() - Method in class org.languagetool.rules.GenericUnpairedBracketsRule
 
minToCheckParagraph() - Method in class org.languagetool.rules.LongParagraphRule
 
minToCheckParagraph() - Method in class org.languagetool.rules.MultipleWhitespaceRule
 
minToCheckParagraph() - Method in class org.languagetool.rules.ParagraphRepeatBeginningRule
 
minToCheckParagraph() - Method in class org.languagetool.rules.PunctuationMarkAtParagraphEnd
 
minToCheckParagraph() - Method in class org.languagetool.rules.ReadabilityRule
 
minToCheckParagraph() - Method in class org.languagetool.rules.SentenceWhitespaceRule
 
minToCheckParagraph() - Method in class org.languagetool.rules.TextLevelRule
Gives back the minimum number of paragraphs to check to give back a correct result.
minToCheckParagraph() - Method in class org.languagetool.rules.UppercaseSentenceStartRule
 
minToCheckParagraph() - Method in class org.languagetool.rules.WhiteSpaceBeforeParagraphEnd
 
minToCheckParagraph() - Method in class org.languagetool.rules.WordRepeatBeginningRule
 
MISC - Static variable in class org.languagetool.rules.Categories
Miscellaneous rules that don't fit elsewhere.
MISC - Static variable in class org.languagetool.rules.CategoryIds
Miscellaneous rules that don't fit elsewhere.
misspelled(String) - Method in class org.languagetool.rules.spelling.hunspell.Hunspell.Dictionary
Check if a word is spelled correctly
Misspelling - org.languagetool.rules.ITSIssueType
 
MISTAKE - Static variable in class org.languagetool.rules.patterns.PatternRuleMatcher
 
mistakeProb - Variable in class org.languagetool.rules.spelling.suggestions.SuggestionsOrdererFeatureExtractor
 
Mistranslation - org.languagetool.rules.ITSIssueType
 
MockLanguageModel - Class in org.languagetool.languagemodel
Produces zero probability for any passed text.
MockLanguageModel() - Constructor for class org.languagetool.languagemodel.MockLanguageModel
 
MorfologikMultiSpeller - Class in org.languagetool.rules.spelling.morfologik
Morfologik speller that merges results from binary (.dict) and plain text (.txt) dictionaries.
MorfologikMultiSpeller(String, BufferedReader, List<String>, BufferedReader, String, List<String>, int) - Constructor for class org.languagetool.rules.spelling.morfologik.MorfologikMultiSpeller
 
MorfologikMultiSpeller(String, List<String>, String, int) - Constructor for class org.languagetool.rules.spelling.morfologik.MorfologikMultiSpeller
 
MorfologikMultiSpeller(String, List<String>, String, UserConfig, int) - Constructor for class org.languagetool.rules.spelling.morfologik.MorfologikMultiSpeller
 
MorfologikSpeller - Class in org.languagetool.rules.spelling.morfologik
Morfologik-based spell checker.
MorfologikSpeller(String) - Constructor for class org.languagetool.rules.spelling.morfologik.MorfologikSpeller
Creates a speller with a maximum edit distance of one.
MorfologikSpeller(String, int) - Constructor for class org.languagetool.rules.spelling.morfologik.MorfologikSpeller
Creates a speller with the given maximum edit distance.
MorfologikSpellerRule - Class in org.languagetool.rules.spelling.morfologik
 
MorfologikSpellerRule(ResourceBundle, Language) - Constructor for class org.languagetool.rules.spelling.morfologik.MorfologikSpellerRule
 
MorfologikSpellerRule(ResourceBundle, Language, UserConfig) - Constructor for class org.languagetool.rules.spelling.morfologik.MorfologikSpellerRule
 
MorfologikSpellerRule(ResourceBundle, Language, UserConfig, List<Language>) - Constructor for class org.languagetool.rules.spelling.morfologik.MorfologikSpellerRule
 
MorfologikSpellerRule(ResourceBundle, Language, UserConfig, List<Language>, LanguageModel) - Constructor for class org.languagetool.rules.spelling.morfologik.MorfologikSpellerRule
 
MorfologikTagger - Class in org.languagetool.tagging
Tags a word using a Morfologik binary dictionary.
MorfologikTagger(String) - Constructor for class org.languagetool.tagging.MorfologikTagger
 
MorfologikTagger(Dictionary) - Constructor for class org.languagetool.tagging.MorfologikTagger
Constructs a MorfologikTagger with the given morfologik dictionary.
MultiKeyProperties - Class in org.languagetool.tools
A very simple property-style configuration.
MultiKeyProperties(InputStream) - Constructor for class org.languagetool.tools.MultiKeyProperties
 
MultiLanguageModel - Class in org.languagetool.languagemodel
Combines the results of several LanguageModels.
MultiLanguageModel(List<LanguageModel>) - Constructor for class org.languagetool.languagemodel.MultiLanguageModel
 
MultipleWhitespaceRule - Class in org.languagetool.rules
Check if there is duplicated whitespace in a sentence.
MultipleWhitespaceRule(ResourceBundle, Language) - Constructor for class org.languagetool.rules.MultipleWhitespaceRule
 
MultiThreadedJLanguageTool - Class in org.languagetool
A variant of JLanguageTool that uses several threads for rule matching.
MultiThreadedJLanguageTool(Language) - Constructor for class org.languagetool.MultiThreadedJLanguageTool
 
MultiThreadedJLanguageTool(Language, int) - Constructor for class org.languagetool.MultiThreadedJLanguageTool
 
MultiThreadedJLanguageTool(Language, Language) - Constructor for class org.languagetool.MultiThreadedJLanguageTool
 
MultiThreadedJLanguageTool(Language, Language, int, UserConfig) - Constructor for class org.languagetool.MultiThreadedJLanguageTool
 
MultiThreadedJLanguageTool(Language, Language, UserConfig) - Constructor for class org.languagetool.MultiThreadedJLanguageTool
 
MultiWordChunker - Class in org.languagetool.tagging.disambiguation
Multiword tagger-chunker.
MultiWordChunker(String) - Constructor for class org.languagetool.tagging.disambiguation.MultiWordChunker
 
MultiWordChunker(String, boolean) - Constructor for class org.languagetool.tagging.disambiguation.MultiWordChunker
 
MultiWordChunker2 - Class in org.languagetool.tagging.disambiguation
Multiword tagger-chunker.
MultiWordChunker2(String) - Constructor for class org.languagetool.tagging.disambiguation.MultiWordChunker2
 
MultiWordChunker2(String, boolean) - Constructor for class org.languagetool.tagging.disambiguation.MultiWordChunker2
 

N

name - Variable in class org.languagetool.rules.patterns.PatternRuleHandler
 
name - Variable in class org.languagetool.rules.spelling.suggestions.SuggestionChangesExperiment
 
NAME - Static variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
needsInit - Variable in class org.languagetool.rules.spelling.hunspell.HunspellRule
 
negate() - Method in class org.languagetool.rules.patterns.PatternTokenBuilder
 
NEGATE - Static variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
NEGATE_POS - Static variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
NeuralNetworkRule - Class in org.languagetool.rules.neuralnetwork
 
NeuralNetworkRule(ResourceBundle, Language, ScoredConfusionSet, Classifier) - Constructor for class org.languagetool.rules.neuralnetwork.NeuralNetworkRule
 
NeuralNetworkRule(ResourceBundle, Language, ScoredConfusionSet, Word2VecModel) - Constructor for class org.languagetool.rules.neuralnetwork.NeuralNetworkRule
 
NeuralNetworkRuleCreator - Class in org.languagetool.rules.neuralnetwork
 
next - Variable in class org.languagetool.rules.spelling.symspell.implementation.SuggestionStage.Node
 
nextLine - Variable in class org.languagetool.bitext.TabBitextReader
 
nextPair - Variable in class org.languagetool.bitext.TabBitextReader
 
NgramProbabilityRule - Class in org.languagetool.rules.ngrams
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.
NgramProbabilityRule(ResourceBundle, LanguageModel, Language) - Constructor for class org.languagetool.rules.ngrams.NgramProbabilityRule
 
NO - Static variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
Node(String, int) - Constructor for class org.languagetool.rules.spelling.symspell.implementation.SuggestionStage.Node
 
nodeCount() - Method in class org.languagetool.rules.spelling.symspell.implementation.SuggestionStage
 
nodes - Variable in class org.languagetool.rules.spelling.symspell.implementation.SuggestionStage
 
NonConformance - org.languagetool.rules.ITSIssueType
 
NONE - org.languagetool.rules.patterns.Match.CaseConversion
 
NONE - org.languagetool.rules.patterns.Match.IncludeRange
 
nonWordPattern - Variable in class org.languagetool.rules.spelling.hunspell.HunspellRule
 
NoopChunker - Class in org.languagetool.noop
No-op chunker.
NoopChunker() - Constructor for class org.languagetool.noop.NoopChunker
 
NoopDisambiguator - Class in org.languagetool.noop
 
NoopDisambiguator() - Constructor for class org.languagetool.noop.NoopDisambiguator
 
NoopLanguage - Class in org.languagetool.noop
A language that is part of languagetool-core but that hasn't any rules.
NoopLanguage() - Constructor for class org.languagetool.noop.NoopLanguage
 
NORMAL - org.languagetool.JLanguageTool.ParagraphHandling
Handle normally - all kinds of rules run.
NORMAL_API - org.languagetool.tools.StringTools.ApiPrintMode
Normally output the rule matches by starting and ending the XML/JSON output on every call.
NUMBER_REGEX - Static variable in class org.languagetool.rules.AbstractUnitConversionRule
 
numberRangePart - Variable in class org.languagetool.rules.AbstractUnitConversionRule
 
Numbers - org.languagetool.rules.ITSIssueType
 

O

OFF - Static variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
Omission - org.languagetool.rules.ITSIssueType
 
ON - Static variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
ONLYNONPARA - org.languagetool.JLanguageTool.ParagraphHandling
Run only sentence-level rules.
ONLYPARA - org.languagetool.JLanguageTool.ParagraphHandling
Run only paragraph-level rules.
OpenNMTRule - Class in org.languagetool.rules
Queries an OpenNMT server started like this: th tools/rest_translation_server.lua -replace_unk -model ...
OpenNMTRule() - Constructor for class org.languagetool.rules.OpenNMTRule
Expects an OpenNMT server running at http://127.0.0.1:7784/translator/translate
OpenNMTRule(String) - Constructor for class org.languagetool.rules.OpenNMTRule
 
OR - Static variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
orderSuggestions(List<String>, String) - Method in class org.languagetool.rules.spelling.morfologik.MorfologikSpellerRule
 
orderSuggestions(List<String>, String, AnalyzedSentence, int) - Method in class org.languagetool.rules.spelling.morfologik.suggestions_ordering.SuggestionsOrdererGSoC
Deprecated.
 
orderSuggestions(List<String>, String, AnalyzedSentence, int) - Method in interface org.languagetool.rules.spelling.suggestions.SuggestionsOrderer
 
orderSuggestions(List<String>, String, AnalyzedSentence, int) - Method in class org.languagetool.rules.spelling.suggestions.SuggestionsOrdererFeatureExtractor
 
orderSuggestions(List<String>, String, AnalyzedSentence, int) - Method in class org.languagetool.rules.spelling.suggestions.XGBoostSuggestionsOrderer
 
orderSuggestionsUsingModel(List<String>, String, AnalyzedSentence, int) - Method in interface org.languagetool.rules.spelling.suggestions.SuggestionsOrderer
 
org.languagetool - package org.languagetool
 
org.languagetool.bitext - package org.languagetool.bitext
 
org.languagetool.chunking - package org.languagetool.chunking
 
org.languagetool.databroker - package org.languagetool.databroker
 
org.languagetool.language - package org.languagetool.language
 
org.languagetool.languagemodel - package org.languagetool.languagemodel
 
org.languagetool.markup - package org.languagetool.markup
 
org.languagetool.noop - package org.languagetool.noop
 
org.languagetool.rules - package org.languagetool.rules
 
org.languagetool.rules.bitext - package org.languagetool.rules.bitext
 
org.languagetool.rules.neuralnetwork - package org.languagetool.rules.neuralnetwork
 
org.languagetool.rules.ngrams - package org.languagetool.rules.ngrams
 
org.languagetool.rules.patterns - package org.languagetool.rules.patterns
 
org.languagetool.rules.patterns.bitext - package org.languagetool.rules.patterns.bitext
 
org.languagetool.rules.spelling - package org.languagetool.rules.spelling
 
org.languagetool.rules.spelling.hunspell - package org.languagetool.rules.spelling.hunspell
 
org.languagetool.rules.spelling.morfologik - package org.languagetool.rules.spelling.morfologik
 
org.languagetool.rules.spelling.morfologik.suggestions_ordering - package org.languagetool.rules.spelling.morfologik.suggestions_ordering
 
org.languagetool.rules.spelling.suggestions - package org.languagetool.rules.spelling.suggestions
 
org.languagetool.rules.spelling.symspell.implementation - package org.languagetool.rules.spelling.symspell.implementation
 
org.languagetool.synthesis - package org.languagetool.synthesis
 
org.languagetool.tagging - package org.languagetool.tagging
 
org.languagetool.tagging.disambiguation - package org.languagetool.tagging.disambiguation
 
org.languagetool.tagging.disambiguation.rules - package org.languagetool.tagging.disambiguation.rules
 
org.languagetool.tagging.disambiguation.xx - package org.languagetool.tagging.disambiguation.xx
 
org.languagetool.tagging.xx - package org.languagetool.tagging.xx
 
org.languagetool.tokenizers - package org.languagetool.tokenizers
 
org.languagetool.tools - package org.languagetool.tools
 
orGroupCounter - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
Other - org.languagetool.rules.ITSIssueType
 
Other - org.languagetool.rules.RuleMatch.Type
Other errors (including grammar), typically yellow/orange.
OUNCE - Static variable in class org.languagetool.rules.AbstractUnitConversionRule
 
OutputStreamLogger - Class in org.languagetool
 
OutputStreamLogger() - Constructor for class org.languagetool.OutputStreamLogger
 
OutputStreamLogger(PrintStream) - Constructor for class org.languagetool.OutputStreamLogger
 
overwriteWithManualTagger() - Method in class org.languagetool.tagging.BaseTagger
If true, tags from the binary dictionary (*.dict) will be overwritten by manual tags from the plain text dictionary.

P

PARAGRAPH_END_TAGNAME - Static variable in class org.languagetool.JLanguageTool
The internal tag used to mark the end of a paragraph.
ParagraphRepeatBeginningRule - Class in org.languagetool.rules
Check if to paragraphs begin with the same word.
ParagraphRepeatBeginningRule(ResourceBundle, Language) - Constructor for class org.languagetool.rules.ParagraphRepeatBeginningRule
 
parameters - Variable in class org.languagetool.rules.spelling.suggestions.SuggestionChangesExperiment
 
parseDate(Map<String, String>) - Method in class org.languagetool.rules.YMDDateHelper
 
PartialPosTagFilter - Class in org.languagetool.rules
Filters rule matches so that only matches are kept where a part of the token has a given POS tag.
PartialPosTagFilter() - Constructor for class org.languagetool.rules.PartialPosTagFilter
 
PasswordAuthenticator - Class in org.languagetool.rules.patterns
Authenticator that extracts username and password from URL, e.g.
PasswordAuthenticator() - Constructor for class org.languagetool.rules.patterns.PasswordAuthenticator
 
PATTERN - Static variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
PATTERN_FILE - Static variable in class org.languagetool.JLanguageTool
The name of the file with error patterns.
PatternProblem - org.languagetool.rules.ITSIssueType
 
PatternRule - Class in org.languagetool.rules.patterns
A Rule that describes a language error as a simple pattern of words or of part-of-speech tags.
PatternRule(String, Language, List<PatternToken>, String, String, String) - Constructor for class org.languagetool.rules.patterns.PatternRule
 
PatternRule(String, Language, List<PatternToken>, String, String, String, String) - Constructor for class org.languagetool.rules.patterns.PatternRule
 
PatternRule(String, Language, List<PatternToken>, String, String, String, String, boolean) - Constructor for class org.languagetool.rules.patterns.PatternRule
 
PatternRule(String, Language, List<PatternToken>, String, String, String, String, boolean, boolean) - Constructor for class org.languagetool.rules.patterns.PatternRule
 
PatternRuleBuilderHelper - Class in org.languagetool.rules.patterns
 
PatternRuleBuilderHelper() - Constructor for class org.languagetool.rules.patterns.PatternRuleBuilderHelper
 
PatternRuleHandler - Class in org.languagetool.rules.patterns
 
PatternRuleHandler() - Constructor for class org.languagetool.rules.patterns.PatternRuleHandler
 
PatternRuleHandler(String) - Constructor for class org.languagetool.rules.patterns.PatternRuleHandler
 
PatternRuleId - Class in org.languagetool.rules.patterns
A PatternRule's id with an optional sub-id.
PatternRuleId(String) - Constructor for class org.languagetool.rules.patterns.PatternRuleId
 
PatternRuleId(String, String) - Constructor for class org.languagetool.rules.patterns.PatternRuleId
 
PatternRuleLoader - Class in org.languagetool.rules.patterns
Loads PatternRules from an XML file.
PatternRuleLoader() - Constructor for class org.languagetool.rules.patterns.PatternRuleLoader
 
PatternRuleMatcher - Class in org.languagetool.rules.patterns
Matches a pattern rule against text.
PatternRuleXmlCreator - Class in org.languagetool.rules.patterns
Makes XML definition of rules accessible as strings.
PatternRuleXmlCreator() - Constructor for class org.languagetool.rules.patterns.PatternRuleXmlCreator
 
patternToken - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
PatternToken - Class in org.languagetool.rules.patterns
A part of a pattern, represents the 'token' element of the grammar.xml.
PatternToken(String, boolean, boolean, boolean) - Constructor for class org.languagetool.rules.patterns.PatternToken
Creates Element that is used to match tokens in the text.
PatternToken.PosToken - Class in org.languagetool.rules.patterns
 
PatternTokenBuilder - Class in org.languagetool.rules.patterns
Helper to build PatternTokens.
PatternTokenBuilder() - Constructor for class org.languagetool.rules.patterns.PatternTokenBuilder
 
PatternTokenMatcher - Class in org.languagetool.rules.patterns
 
PatternTokenMatcher(PatternToken) - Constructor for class org.languagetool.rules.patterns.PatternTokenMatcher
 
patternTokens - Variable in class org.languagetool.rules.patterns.AbstractPatternRule
 
patternTokens - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
List of elements as specified by tokens.
peek() - Method in class org.languagetool.rules.UnsyncStack
Looks at the object at the top of this stack without removing it from the stack.
performCheck(List<AnalyzedSentence>, List<String>, List<Rule>, JLanguageTool.ParagraphHandling, AnnotatedText, JLanguageTool.Mode) - Method in class org.languagetool.JLanguageTool
 
performCheck(List<AnalyzedSentence>, List<String>, List<Rule>, JLanguageTool.ParagraphHandling, AnnotatedText, RuleMatchListener, JLanguageTool.Mode) - Method in class org.languagetool.JLanguageTool
 
performCheck(List<AnalyzedSentence>, List<String>, List<Rule>, JLanguageTool.ParagraphHandling, AnnotatedText, RuleMatchListener, JLanguageTool.Mode) - Method in class org.languagetool.MultiThreadedJLanguageTool
 
phraseId - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
Current phrase ID.
phraseIdRef - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
ID reference to the phrase.
phraseMap - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
Phrase store - elementLists keyed by phraseIds.
phrasePatternTokens - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
Logically forking element list, used for including multiple phrases in the current one.
PHRASES - Static variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
PLAIN_ENGLISH - Static variable in class org.languagetool.rules.Categories
Created to match PLAIN_ENGLISH XML category.
pLocator - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
pop() - Method in class org.languagetool.rules.UnsyncStack
Removes the object at the top of this stack and returns that object as the value of this function.
pos(String) - Static method in class org.languagetool.rules.patterns.PatternRuleBuilderHelper
 
pos(String) - Method in class org.languagetool.rules.patterns.PatternTokenBuilder
 
posNegation - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
posRegex(String) - Static method in class org.languagetool.rules.patterns.PatternRuleBuilderHelper
 
posRegex(String) - Method in class org.languagetool.rules.patterns.PatternTokenBuilder
 
posRegExp - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
posRegExp() - Method in class org.languagetool.rules.patterns.Match
Checks if the Match element uses regexp-based form of the POS tag.
possibleTags - Variable in class org.languagetool.synthesis.BaseSynthesizer
 
POSTAG - Static variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
POSTAG_REGEXP - Static variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
posToken - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
PosToken(String, boolean, boolean) - Constructor for class org.languagetool.rules.patterns.PatternToken.PosToken
 
POUND - Static variable in class org.languagetool.rules.AbstractUnitConversionRule
 
preDisambiguate(AnalyzedSentence) - Method in class org.languagetool.tagging.disambiguation.AbstractDisambiguator
 
preDisambiguate(AnalyzedSentence) - Method in interface org.languagetool.tagging.disambiguation.Disambiguator
If possible, filters out the wrong POS tags.
prepareNewReading(String, String, AnalyzedTokenReadings, String) - Method in class org.languagetool.tagging.disambiguation.MultiWordChunker2
 
preparePhrase(Attributes) - Method in class org.languagetool.rules.patterns.XMLRuleHandler
 
prepareRule(AbstractPatternRule) - Method in class org.languagetool.rules.patterns.PatternRuleHandler
 
PRESERVE - org.languagetool.rules.patterns.Match.CaseConversion
 
prevMatched - Variable in class org.languagetool.rules.patterns.AbstractPatternRulePerformer
 
printIfVerbose(String) - Method in class org.languagetool.JLanguageTool
 
printSentenceInfo(AnalyzedSentence) - Method in class org.languagetool.JLanguageTool
 
Probability - Class in org.languagetool.rules.ngrams
Probability, but doesn't check for a range of 0 to 1.
Probability(double, float) - Constructor for class org.languagetool.rules.ngrams.Probability
 
Probability(double, float, long) - Constructor for class org.languagetool.rules.ngrams.Probability
 
processElement(List<PatternToken>) - Method in class org.languagetool.rules.patterns.XMLRuleHandler
Calculates the offset of the match reference (if any) in case the match element has been used in the group.
profileRulesOnLine(String, JLanguageTool, Rule) - Static method in class org.languagetool.tools.Tools
 
PUNCTUATION - Static variable in class org.languagetool.rules.Categories
 
PUNCTUATION - Static variable in class org.languagetool.rules.CategoryIds
 
PunctuationMarkAtParagraphEnd - Class in org.languagetool.rules
A rule that checks for a punctuation mark at the end of a paragraph.
PunctuationMarkAtParagraphEnd(ResourceBundle, Language) - Constructor for class org.languagetool.rules.PunctuationMarkAtParagraphEnd
 
PunctuationMarkAtParagraphEnd(ResourceBundle, Language, boolean) - Constructor for class org.languagetool.rules.PunctuationMarkAtParagraphEnd
 
purgeBelowThresholdWords() - Method in class org.languagetool.rules.spelling.symspell.implementation.SymSpell
 
push(E) - Method in class org.languagetool.rules.UnsyncStack
Pushes an item onto the top of this stack.
put(InputSentence, List<RuleMatch>) - Method in class org.languagetool.ResultCache
 
put(SimpleInputSentence, AnalyzedSentence) - Method in class org.languagetool.ResultCache
 

R

random - Variable in class org.languagetool.rules.spelling.morfologik.suggestions_ordering.DetailedDamerauLevenstheinDistance.EditOperation
 
randomEdit() - Static method in class org.languagetool.rules.spelling.morfologik.suggestions_ordering.DetailedDamerauLevenstheinDistance
 
ReadabilityRule - Class in org.languagetool.rules
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)
ReadabilityRule(ResourceBundle, Language, UserConfig, boolean) - Constructor for class org.languagetool.rules.ReadabilityRule
 
ReadabilityRule(ResourceBundle, Language, UserConfig, boolean, boolean) - Constructor for class org.languagetool.rules.ReadabilityRule
 
ReadabilityRule(ResourceBundle, Language, UserConfig, boolean, int) - Constructor for class org.languagetool.rules.ReadabilityRule
 
ReadabilityRule(ResourceBundle, Language, UserConfig, boolean, int, boolean) - Constructor for class org.languagetool.rules.ReadabilityRule
 
readerToString(Reader) - Static method in class org.languagetool.tools.StringTools
 
readStream(InputStream, String) - Static method in class org.languagetool.tools.StringTools
Read the text stream using the given encoding.
REDUNDANCY - Static variable in class org.languagetool.rules.Categories
 
REDUNDANCY - Static variable in class org.languagetool.rules.CategoryIds
 
regex - Variable in class org.languagetool.rules.patterns.AbstractPatternRule
 
regex - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
regex(String) - Static method in class org.languagetool.rules.patterns.PatternRuleBuilderHelper
 
regexCaseSensitive - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
regexMark - Variable in class org.languagetool.rules.patterns.AbstractPatternRule
 
regexMode - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
REGEXP - Static variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
RegexPatternRule - Class in org.languagetool.rules.patterns
Matches 'regexp' elements from XML rules against sentences.
RegexPatternRule(String, String, String, String, String, Language, Pattern, int) - Constructor for class org.languagetool.rules.patterns.RegexPatternRule
 
regexpMark - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
regExpression - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
REGIONALISMS - Static variable in class org.languagetool.rules.Categories
Regionalisms: words used only in another language variant or used with different meanings.
Register - org.languagetool.rules.ITSIssueType
 
relu() - Method in class org.languagetool.rules.neuralnetwork.Matrix
 
rememberUnknownWords(AnalyzedSentence) - Method in class org.languagetool.JLanguageTool
 
REMOVE - org.languagetool.tagging.disambiguation.rules.DisambiguationPatternRule.DisambiguatorAction
 
removeFilter(Predicate<RuleLoggerMessage>) - Method in class org.languagetool.RuleLogger
 
removeLogger(RuleLogger) - Method in class org.languagetool.RuleLoggerManager
 
removeReading(AnalyzedToken, String) - Method in class org.languagetool.AnalyzedTokenReadings
Removes a reading from the list of readings.
removeTemporaryFiles() - Static method in class org.languagetool.JLanguageTool
Clean up all temporary files, if there are any.
reorderSuggestions(List<String>, String) - Method in class org.languagetool.rules.spelling.SpellingCheckRule
 
REPETITIONS - Static variable in class org.languagetool.rules.Categories
 
replace() - Method in class org.languagetool.rules.spelling.morfologik.suggestions_ordering.DetailedDamerauLevenstheinDistance.Distance
 
replace(AnalyzedSentence) - Method in class org.languagetool.tagging.disambiguation.rules.DisambiguationPatternRule
Performs disambiguation on the source sentence.
Replace() - Constructor for class org.languagetool.rules.spelling.morfologik.suggestions_ordering.DetailedDamerauLevenstheinDistance.Replace
 
REPLACE - org.languagetool.tagging.disambiguation.rules.DisambiguationPatternRule.DisambiguatorAction
 
replaces - Variable in class org.languagetool.rules.spelling.morfologik.suggestions_ordering.DetailedDamerauLevenstheinDistance.Distance
 
requestCount() - Method in class org.languagetool.ResultCache
 
reset() - Method in class org.languagetool.rules.patterns.Unifier
Resets after use of unification.
resetException() - Method in class org.languagetool.rules.patterns.XMLRuleHandler
 
resetToken() - Method in class org.languagetool.rules.patterns.XMLRuleHandler
 
resolveReference(int, AnalyzedTokenReadings[], Language) - Method in class org.languagetool.rules.patterns.PatternTokenMatcher
 
RESOURCE_DIR - Static variable in interface org.languagetool.databroker.ResourceDataBroker
The directory name of the /resource directory.
ResourceBundleWithFallback - Class in org.languagetool
A resource bundle that uses its fallback resource bundle if the value from the original bundle is null or empty.
ResourceBundleWithFallback(ResourceBundle, ResourceBundle) - Constructor for class org.languagetool.ResourceBundleWithFallback
 
ResourceDataBroker - Interface in org.languagetool.databroker
Is responsible for getting the necessary resources for the grammar checker library.
resourceExists(String) - Method in class org.languagetool.databroker.DefaultResourceDataBroker
See: ResourceDataBroker.resourceExists(String) Checks if a resource in the grammar checker's /resource exists.
resourceExists(String) - Method in interface org.languagetool.databroker.ResourceDataBroker
Checks if a resource in the grammar checker's /resource exists.
ResultCache - Class in org.languagetool
A cache to speed up text checking for use cases where sentences are checked more than once.
ResultCache(long) - Constructor for class org.languagetool.ResultCache
Create a cache that expires items 5 minutes after the latest read access.
ResultCache(long, long, TimeUnit) - Constructor for class org.languagetool.ResultCache
 
rule - Variable in class org.languagetool.rules.patterns.AbstractPatternRulePerformer
 
Rule - Class in org.languagetool.rules
Abstract rule class.
Rule() - Constructor for class org.languagetool.rules.Rule
 
Rule(ResourceBundle) - Constructor for class org.languagetool.rules.Rule
Called by rules that require a translation of their messages.
RULE - Static variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
RULE_ID - Static variable in class org.languagetool.rules.AbstractFillerWordsRule
 
RULE_ID - Static variable in class org.languagetool.rules.LongParagraphRule
 
RULE_ID - Static variable in class org.languagetool.rules.LongSentenceRule
 
RULE_ID - Static variable in class org.languagetool.rules.ngrams.ConfusionProbabilityRule
 
RULE_ID - Static variable in class org.languagetool.rules.ngrams.NgramProbabilityRule
 
RULE_ID - Static variable in class org.languagetool.rules.spelling.hunspell.HunspellNoSuggestionRule
 
RULE_ID - Static variable in class org.languagetool.rules.spelling.hunspell.HunspellRule
 
RuleCheckTimeMessage - Class in org.languagetool
 
RuleErrorNotification - Class in org.languagetool
 
RuleErrorNotification(String, String, String) - Constructor for class org.languagetool.RuleErrorNotification
 
ruleFileExists(String) - Method in class org.languagetool.databroker.DefaultResourceDataBroker
See: ResourceDataBroker.ruleFileExists(String) Checks if a resource in the grammar checker's /rules exists.
ruleFileExists(String) - Method in interface org.languagetool.databroker.ResourceDataBroker
Checks if a resource in the grammar checker's /rules exists.
RuleFilenameException - Exception in org.languagetool.language
Thrown if external rule filename doesn't match the required format.
RuleFilenameException(File) - Constructor for exception org.languagetool.language.RuleFilenameException
 
RuleFilter - Class in org.languagetool.rules.patterns
Filter rule matches after a PatternRule has matched already.
RuleFilter() - Constructor for class org.languagetool.rules.patterns.RuleFilter
 
RuleFilterCreator - Class in org.languagetool.rules.patterns
Create a RuleFilter.
RuleFilterCreator() - Constructor for class org.languagetool.rules.patterns.RuleFilterCreator
 
RuleFilterEvaluator - Class in org.languagetool.rules.patterns
Evaluates a RuleFilter.
RuleFilterEvaluator(RuleFilter) - Constructor for class org.languagetool.rules.patterns.RuleFilterEvaluator
 
RULEGROUP - Static variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
ruleGroupId - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
ruleGroupIssueType - Variable in class org.languagetool.rules.patterns.PatternRuleHandler
 
ruleIssueType - Variable in class org.languagetool.rules.patterns.PatternRuleHandler
 
RuleLogger - Class in org.languagetool
 
RuleLogger() - Constructor for class org.languagetool.RuleLogger
 
RuleLoggerManager - Class in org.languagetool
 
RuleLoggerManager() - Constructor for class org.languagetool.RuleLoggerManager
 
RuleLoggerMessage - Class in org.languagetool
 
RuleLoggerMessage(String, String, String) - Constructor for class org.languagetool.RuleLoggerMessage
 
RuleMatch - Class in org.languagetool.rules
Information about an error rule that matches text and the position of the match.
RuleMatch(RuleMatch) - Constructor for class org.languagetool.rules.RuleMatch
 
RuleMatch(RuleMatch, List<String>) - Constructor for class org.languagetool.rules.RuleMatch
 
RuleMatch(Rule, int, int, String) - Constructor for class org.languagetool.rules.RuleMatch
Deprecated.
use a constructor that also takes an AnalyzedSentence parameter (deprecated since 4.0)
RuleMatch(Rule, int, int, String, String, boolean, String) - Constructor for class org.languagetool.rules.RuleMatch
Deprecated.
use a constructor that also takes an AnalyzedSentence parameter (deprecated since 4.0)
RuleMatch(Rule, AnalyzedSentence, int, int, String) - Constructor for class org.languagetool.rules.RuleMatch
Creates a RuleMatch object, taking the rule that triggered this match, position of the match and an explanation message.
RuleMatch(Rule, AnalyzedSentence, int, int, String, String) - Constructor for class org.languagetool.rules.RuleMatch
Creates a RuleMatch object, taking the rule that triggered this match, position of the match and an explanation message.
RuleMatch(Rule, AnalyzedSentence, int, int, String, String, boolean, String) - Constructor for class org.languagetool.rules.RuleMatch
Creates a RuleMatch object, taking the rule that triggered this match, position of the match and an explanation message.
RuleMatch.Type - Enum in org.languagetool.rules
Unlike Category, this is specific to a RuleMatch, not to a rule.
RuleMatchAsXmlSerializer - Class in org.languagetool.tools
Deprecated.
don't use for new use cases, the only place this should still be used is for the API mode of the command-line client (deprecated since 3.5)
RuleMatchAsXmlSerializer() - Constructor for class org.languagetool.tools.RuleMatchAsXmlSerializer
Deprecated.
 
RuleMatcher - Interface in org.languagetool.rules.patterns
 
RuleMatchesAsJsonSerializer - Class in org.languagetool.tools
Write rule matches and some meta information as JSON.
RuleMatchesAsJsonSerializer() - Constructor for class org.languagetool.tools.RuleMatchesAsJsonSerializer
 
RuleMatchesAsJsonSerializer(int) - Constructor for class org.languagetool.tools.RuleMatchesAsJsonSerializer
 
ruleMatchesToJson(List<RuleMatch>, String, int, DetectedLanguage) - Method in class org.languagetool.tools.RuleMatchesAsJsonSerializer
 
ruleMatchesToJson(List<RuleMatch>, List<RuleMatch>, String, int, DetectedLanguage, String) - Method in class org.languagetool.tools.RuleMatchesAsJsonSerializer
 
ruleMatchesToJson(List<RuleMatch>, List<RuleMatch>, AnnotatedText, int, DetectedLanguage, String) - Method in class org.languagetool.tools.RuleMatchesAsJsonSerializer
 
ruleMatchesToXml(List<RuleMatch>, String, int, Language) - Method in class org.languagetool.tools.RuleMatchAsXmlSerializer
Deprecated.
Get an XML representation of the given rule matches.
ruleMatchesToXml(List<RuleMatch>, String, int, Language, Language) - Method in class org.languagetool.tools.RuleMatchAsXmlSerializer
Deprecated.
Get an XML representation of the given rule matches.
ruleMatchesToXml(List<RuleMatch>, String, int, StringTools.ApiPrintMode, Language, List<String>) - Method in class org.languagetool.tools.RuleMatchAsXmlSerializer
Deprecated.
Get an XML representation of the given rule matches.
ruleMatchesToXmlSnippet(List<RuleMatch>, String, int) - Method in class org.languagetool.tools.RuleMatchAsXmlSerializer
Deprecated.
Get the XML snippet (i.e.
RuleMatchFilter - Interface in org.languagetool.rules
Filter rule matches.
RuleMatchListener - Interface in org.languagetool
 
rules - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
RULES - Static variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
RULES_DIR - Static variable in interface org.languagetool.databroker.ResourceDataBroker
The directory name of the /rules directory.
RuleWithLanguage - Class in org.languagetool.rules.spelling
 
RuleWithMaxFilter - Class in org.languagetool.rules
Filter rule matches so that only the longest match is kept from overlapping matches with the same rule that contains tokens with maxOccurrence > 1.
RuleWithMaxFilter() - Constructor for class org.languagetool.rules.RuleWithMaxFilter
 
run(String) - Method in class org.languagetool.synthesis.Soros
 
runFilter(String, RuleMatch, AnalyzedTokenReadings[], int, List<Integer>) - Method in class org.languagetool.rules.patterns.RuleFilterEvaluator
 

S

SameRuleGroupFilter - Class in org.languagetool.rules
Filter rule matches so that only the first match is kept from overlapping matches with the same rule group (actually: the same id).
SameRuleGroupFilter() - Constructor for class org.languagetool.rules.SameRuleGroupFilter
 
SameTranslationRule - Class in org.languagetool.rules.bitext
Checks if the translation for segments that have more than two words is different.
SameTranslationRule() - Constructor for class org.languagetool.rules.bitext.SameTranslationRule
 
SCOPE - Static variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
score - Variable in class org.languagetool.rules.spelling.suggestions.SuggestionsOrdererFeatureExtractor
 
ScoredConfusionSet - Class in org.languagetool.rules
Words that can easily be confused - for internal use only.
ScoredConfusionSet(float, List<ConfusionString>) - Constructor for class org.languagetool.rules.ScoredConfusionSet
 
ScoredConfusionSetLoader - Class in org.languagetool.rules
Loads a confusion set from a plain text file (UTF-8).
search(Object) - Method in class org.languagetool.rules.UnsyncStack
Returns the 1-based position where an object is on this stack.
selectBitextRules(List<BitextRule>, List<String>, List<String>, boolean) - Static method in class org.languagetool.tools.Tools
Enable and disable bitext rules.
selectRules(JLanguageTool, List<String>, List<String>, boolean) - Static method in class org.languagetool.tools.Tools
Enable and disable rules of the given LanguageTool instance.
selectRules(JLanguageTool, Set<CategoryId>, Set<CategoryId>, Set<String>, Set<String>, boolean) - Static method in class org.languagetool.tools.Tools
 
SEMANTICS - Static variable in class org.languagetool.rules.Categories
Logic, content, and consistency problems.
SEMANTICS - Static variable in class org.languagetool.rules.CategoryIds
 
SENTENCE_END_TAGNAME - Static variable in class org.languagetool.JLanguageTool
The internal tag used to mark the end of a sentence.
SENTENCE_START_TAGNAME - Static variable in class org.languagetool.JLanguageTool
The internal tag used to mark the beginning of a sentence.
sentencePos - Variable in class org.languagetool.bitext.TabBitextReader
 
sentenceStartsWithUpperCase - Variable in class org.languagetool.rules.AbstractCompoundRule
 
sentenceTokenize(String) - Method in class org.languagetool.JLanguageTool
Tokenizes the given text into sentences.
SentenceTokenizer - Interface in org.languagetool.tokenizers
Tokenizes text into sentences.
SentenceWhitespaceRule - Class in org.languagetool.rules
Checks that there's whitespace between sentences.
SentenceWhitespaceRule(ResourceBundle) - Constructor for class org.languagetool.rules.SentenceWhitespaceRule
 
sentStart - Variable in class org.languagetool.rules.patterns.AbstractPatternRule
 
setAbTest(String) - Method in class org.languagetool.UserConfig
 
setAndGroupElement(PatternToken) - Method in class org.languagetool.rules.patterns.PatternToken
 
setAntiPatterns(List<DisambiguationPatternRule>) - Method in class org.languagetool.rules.patterns.AbstractPatternRule
Set up the list of antipatterns used to immunize tokens, i.e., make them non-matchable by the current rule.
setAutoCorrect(boolean) - Method in class org.languagetool.rules.RuleMatch
 
setAutoCorrectThresholdForLanguage(Language, float) - Static method in class org.languagetool.rules.spelling.suggestions.XGBoostSuggestionsOrderer
For testing purposes only
setBugWorkaroundProperty() - Static method in class org.languagetool.tools.JnaTools
Set a the jna.nosys to true to avoid the "There is an incompatible JNA native library installed on this system" error from JNA.
setCategory(Category) - Method in class org.languagetool.rules.Rule
 
setCheckCompound(boolean) - Method in class org.languagetool.rules.spelling.morfologik.MorfologikSpellerRule
 
setCheckLemmas(boolean) - Method in class org.languagetool.rules.AbstractSimpleReplaceRule
Used to disable matching lemmas.
setChunkTag(ChunkTag) - Method in class org.languagetool.rules.patterns.PatternToken
 
setChunkTags(List<ChunkTag>) - Method in class org.languagetool.AnalyzedTokenReadings
 
setCleanOverlappingMatches(boolean) - Method in class org.languagetool.JLanguageTool
Whether the JLanguageTool.check(String) methods return overlapping errors.
setColumn(int) - Method in class org.languagetool.rules.RuleMatch
Deprecated.
(deprecated since 3.5)
setCompoundRegex(String) - Method in class org.languagetool.rules.spelling.morfologik.MorfologikSpellerRule
 
setConfidence(Float) - Method in class org.languagetool.rules.SuggestedReplacement
 
setConfigValues(Map<String, Integer>) - Method in class org.languagetool.JLanguageTool
 
setConfusionPair(ConfusionPair) - Method in class org.languagetool.rules.ngrams.ConfusionProbabilityRule
Deprecated.
used only for tests
setConsiderIgnoreWords(boolean) - Method in class org.languagetool.rules.spelling.SpellingCheckRule
Set whether the list of words to be explicitly ignored (set with SpellingCheckRule.addIgnoreTokens(List)) is considered at all.
setContextSize(int) - Method in class org.languagetool.tools.ContextTools
The context size of the error.
setConvertsCase(boolean) - Method in class org.languagetool.rules.spelling.SpellingCheckRule
Used to determine whether the dictionary will use case conversions for spell checking.
setCorrectBitextExamples(List<StringPair>) - Method in class org.languagetool.rules.bitext.BitextRule
Set the examples that are correct and thus do not trigger the rule.
setCorrectExamples(List<CorrectExample>) - Method in class org.languagetool.rules.Rule
Set the examples that are correct and thus do not trigger the rule.
setCurrentExperiment(SuggestionChangesExperiment) - Method in class org.languagetool.rules.spelling.suggestions.SuggestionsChanges
For testing changes to suggestion ordering using a data corpus; iterate over experiments (including grid search for parameters) original behavior (for A/B testing) can be modeled by an experiment without parameters and an arbitrary name
setDataBroker(ResourceDataBroker) - Static method in class org.languagetool.JLanguageTool
The grammar checker needs resources from following directories: /resource /rules
setDefaultOff() - Method in class org.languagetool.rules.Rule
Turns the rule off by default.
setDefaultOn() - Method in class org.languagetool.rules.Rule
Turns the rule on by default.
setDefaultTempOff() - Method in class org.languagetool.rules.Rule
Turns the pattern rule off by default, expect for internal regression tests.
setDocumentLocator(Locator) - Method in class org.languagetool.rules.patterns.XMLRuleHandler
 
setEndColumn(int) - Method in class org.languagetool.rules.RuleMatch
Deprecated.
(deprecated since 3.5)
setEndLine(int) - Method in class org.languagetool.rules.RuleMatch
Set the line number in which the match ends (zero-based).
setEndPositionCorrection(int) - Method in class org.languagetool.rules.patterns.AbstractPatternRule
 
setEquivalence(String, String, PatternToken) - Method in class org.languagetool.rules.patterns.UnifierConfiguration
Prepares equivalence types for features to be tested.
setErrorMarkerEnd(String) - Method in class org.languagetool.tools.ContextTools
Set the string used to mark the end of an error, e.g.
setErrorMarkerStart(String) - Method in class org.languagetool.tools.ContextTools
Set the string used to mark the beginning of an error, e.g.
setErrorTriggeringExamples(List<ErrorTriggeringExample>) - Method in class org.languagetool.rules.Rule
Set the examples that are correct but still trigger the rule due to an issue with the rule.
setEscapeHtml(boolean) - Method in class org.languagetool.tools.ContextTools
Whether HTML special characters should be escaped.
setExamples(List<DisambiguatedExample>) - Method in class org.languagetool.tagging.disambiguation.rules.DisambiguationPatternRule
 
setExceptions(Attributes) - Method in class org.languagetool.rules.patterns.XMLRuleHandler
 
setExceptionSpaceBefore(boolean) - Method in class org.languagetool.rules.patterns.PatternToken
Sets the attribute on the exception that determines matching of patterns that depends on whether there was a space before the token matching the exception or not.
setFeatures(SortedMap<String, Float>) - Method in class org.languagetool.rules.RuleMatch
 
setFeatures(SortedMap<String, Float>) - Method in class org.languagetool.rules.SuggestedReplacement
 
setFilter(RuleFilter) - Method in class org.languagetool.rules.patterns.AbstractPatternRule
 
setFilterArguments(String) - Method in class org.languagetool.rules.patterns.AbstractPatternRule
 
setGrammalectePassword(String) - Method in class org.languagetool.GlobalConfig
 
setGrammalecteServer(String) - Method in class org.languagetool.GlobalConfig
 
setGrammalecteUser(String) - Method in class org.languagetool.GlobalConfig
 
setIgnoreTaggedWords() - Method in class org.languagetool.rules.AbstractSimpleReplaceRule
Skip words that are known in the POS tagging dictionary, assuming they cannot be incorrect.
setIgnoreTaggedWords() - Method in class org.languagetool.rules.spelling.morfologik.MorfologikSpellerRule
Skip words that are known in the POS tagging dictionary, assuming they cannot be incorrect.
setIncorrectBitextExamples(List<IncorrectBitextExample>) - Method in class org.languagetool.rules.bitext.BitextRule
Set the examples that are incorrect and thus do trigger the rule.
setIncorrectExamples(List<IncorrectExample>) - Method in class org.languagetool.rules.Rule
Set the examples that are incorrect and thus do trigger the rule.
setInMessageOnly(boolean) - Method in class org.languagetool.rules.patterns.Match
 
setInsideMarker(boolean) - Method in class org.languagetool.rules.patterns.PatternToken
 
setIsWhiteSpaceBefore(boolean) - Method in class org.languagetool.rules.patterns.PatternTokenBuilder
 
setLastInUnification() - Method in class org.languagetool.rules.patterns.PatternToken
 
setLemmaString(String) - Method in class org.languagetool.rules.patterns.Match
Sets a base form (lemma) that will be formatted, or synthesized, using the specified POS regular expressions.
setLevel(Level) - Method in class org.languagetool.OutputStreamLogger
 
setLevel(Level) - Method in class org.languagetool.RuleLoggerManager
 
setLine(int) - Method in class org.languagetool.rules.RuleMatch
Set the line number in which the match occurs (zero-based).
setListUnknownWords(boolean) - Method in class org.languagetool.JLanguageTool
Whether the JLanguageTool.check(String) methods store unknown words.
setLocale(Locale) - Method in class org.languagetool.rules.spelling.morfologik.MorfologikSpellerRule
 
setLocQualityIssueType(ITSIssueType) - Method in class org.languagetool.rules.Rule
Set the Localization Quality Issue Type.
setMatch(Match) - Method in class org.languagetool.rules.patterns.PatternToken
Sets the reference to another token.
setMatchElement(Attributes) - Method in class org.languagetool.rules.patterns.XMLRuleHandler
 
setMatchLemmmas() - Method in class org.languagetool.rules.WrongWordInContextRule
 
setMaxErrorsPerWordRate(float) - Method in class org.languagetool.JLanguageTool
Maximum errors per word rate, checking will stop with an exception if the rate is higher.
setMaxOccurrence(int) - Method in class org.languagetool.rules.patterns.PatternToken
The maximum number of times this element may occur.
setMessage(String) - Method in class org.languagetool.RuleLoggerMessage
 
setMessage(String) - Method in class org.languagetool.rules.patterns.AbstractPatternRule
Set the message shown to the user if this rule matches.
setMinOccurrence(int) - Method in class org.languagetool.rules.patterns.PatternToken
The minimum number of times this element may occur.
setMinProbability(double) - Method in class org.languagetool.rules.ngrams.NgramProbabilityRule
 
setMinScore(double) - Method in class org.languagetool.rules.neuralnetwork.NeuralNetworkRule
 
setMLSuggestionsOrderingEnabled(boolean) - Static method in class org.languagetool.rules.spelling.morfologik.suggestions_ordering.SuggestionsOrdererConfig
 
setNegation(boolean) - Method in class org.languagetool.rules.patterns.PatternToken
Negates the matching so that non-matching elements match and vice-versa.
setNewInterpretations(AnalyzedToken[]) - Method in class org.languagetool.tagging.disambiguation.rules.DisambiguationPatternRule
Used to add new interpretations.
setNgramsPath(String) - Static method in class org.languagetool.rules.spelling.morfologik.suggestions_ordering.SuggestionsOrdererConfig
 
setNoPOSTag(boolean) - Method in class org.languagetool.AnalyzedToken
If other readings of the token have real POS tags, you can set the flag here that they do, so that the test in the Element class would be correct for all cases.
setOfficeDefaultOff() - Method in class org.languagetool.rules.Rule
Turns the rule off for Office Extension by default.
setOfficeDefaultOn() - Method in class org.languagetool.rules.Rule
Turns the rule on for Office Extension by default.
setOffsetPosition(int, int, RuleMatch) - Method in class org.languagetool.rules.RuleMatch
 
setOrGroupElement(PatternToken) - Method in class org.languagetool.rules.patterns.PatternToken
 
setOutput(PrintStream) - Method in class org.languagetool.JLanguageTool
Set a PrintStream that will receive verbose output.
setParagraphEnd() - Method in class org.languagetool.AnalyzedTokenReadings
Add a reading with a paragraph end token unless this is already a paragraph end.
setPasswordAuthenticator() - Static method in class org.languagetool.tools.Tools
Calls Authenticator.setDefault() with a password authenticator so that it's possible to use URLs of the format http://username:password@server when loading XML files.
setPhraseName(String) - Method in class org.languagetool.rules.patterns.PatternToken
Sets the phrase the element is in.
setPosToken(PatternToken.PosToken) - Method in class org.languagetool.rules.patterns.PatternToken
 
setRelaxedMode(boolean) - Method in class org.languagetool.rules.patterns.PatternRuleLoader
If set to true, don't throw an exception if id or name is not set.
setRemoveOtherReadings(boolean) - Method in class org.languagetool.tagging.disambiguation.MultiWordChunker2
 
setReplacement(String) - Method in class org.languagetool.rules.SuggestedReplacement
 
setRuleFilter(String, String, AbstractPatternRule) - Method in class org.languagetool.rules.patterns.XMLRuleHandler
 
setSentEnd() - Method in class org.languagetool.AnalyzedTokenReadings
Add a SENT_END tag.
setShortDescription(String) - Method in class org.languagetool.rules.SuggestedReplacement
 
setSingleLineBreaksMarksParagraph(boolean) - Method in interface org.languagetool.tokenizers.SentenceTokenizer
 
setSingleLineBreaksMarksParagraph(boolean) - Method in class org.languagetool.tokenizers.SRXSentenceTokenizer
 
setSkip(int) - Method in class org.languagetool.rules.patterns.PatternTokenBuilder
 
setSkipNext(int) - Method in class org.languagetool.rules.patterns.PatternToken
 
setSourceLanguage(Language) - Method in class org.languagetool.rules.bitext.BitextRule
Set the source language.
setsPos() - Method in class org.languagetool.rules.patterns.Match
Checks if the Match element is used for setting the part of speech: setpos="yes" in XML.
setStartPos(int) - Method in class org.languagetool.AnalyzedTokenReadings
 
setStartPositionCorrection(int) - Method in class org.languagetool.rules.patterns.AbstractPatternRule
 
setStringElement(String) - Method in class org.languagetool.rules.patterns.PatternToken
 
setStringPosException(String, boolean, boolean, boolean, boolean, boolean, String, boolean, boolean, Boolean) - Method in class org.languagetool.rules.patterns.PatternToken
Sets a string and/or pos exception for matching tokens.
setSubId(String) - Method in class org.languagetool.rules.patterns.AbstractPatternRule
 
setSuggestedReplacement(String) - Method in class org.languagetool.rules.RuleMatch
 
setSuggestedReplacementObjects(List<SuggestedReplacement>) - Method in class org.languagetool.rules.RuleMatch
 
setSuggestedReplacements(List<String>) - Method in class org.languagetool.rules.RuleMatch
 
setTextSessionId(Long) - Method in class org.languagetool.UserConfig
 
setToken(AnalyzedTokenReadings) - Method in class org.languagetool.rules.patterns.MatchState
 
setToken(AnalyzedTokenReadings[], int, int) - Method in class org.languagetool.rules.patterns.MatchState
Sets the token to be formatted etc.
setToken(Attributes) - Method in class org.languagetool.rules.patterns.XMLRuleHandler
 
setTokenRef(int) - Method in class org.languagetool.rules.patterns.Match
Sets the token number referenced by the match.
setType(RuleMatch.Type) - Method in class org.languagetool.rules.RuleMatch
 
setUnification(Map<String, List<String>>) - Method in class org.languagetool.rules.patterns.PatternToken
 
setUnificationNeutral() - Method in class org.languagetool.rules.patterns.PatternToken
Sets the element as ignored during unification.
setUniNegation() - Method in class org.languagetool.rules.patterns.PatternToken
 
setUntouchedExamples(List<String>) - Method in class org.languagetool.tagging.disambiguation.rules.DisambiguationPatternRule
 
setUrl(URL) - Method in class org.languagetool.rules.Rule
 
setUrl(URL) - Method in class org.languagetool.rules.RuleMatch
 
setURL(AnalyzedTokenReadings) - Method in class org.languagetool.rules.AbstractStyleRepeatedWordRule
 
setValues(int, SuggestionStage.Node) - Method in class org.languagetool.rules.spelling.symspell.implementation.ChunkArray
 
setValues(int, SuggestionStage.Node, SuggestionStage.Node[][]) - Method in class org.languagetool.rules.spelling.symspell.implementation.ChunkArray
 
setWhitespaceBefore(boolean) - Method in class org.languagetool.AnalyzedToken
 
setWhitespaceBefore(boolean) - Method in class org.languagetool.rules.patterns.PatternToken
 
setWhitespaceBefore(String) - Method in class org.languagetool.AnalyzedTokenReadings
 
setWrapTag(boolean) - Method in class org.languagetool.tagging.disambiguation.MultiWordChunker2
 
ShortDescriptionProvider - Class in org.languagetool
Provide short (~ up to 30 characters) descriptions for words.
ShortDescriptionProvider(Language) - Constructor for class org.languagetool.ShortDescriptionProvider
 
ShortenedYearRangeChecker - Class in org.languagetool.rules
Checks whether a shortened year range (such as '1998-92') is valid, i.e., that the starting date happens before the end date.
ShortenedYearRangeChecker() - Constructor for class org.languagetool.rules.ShortenedYearRangeChecker
 
shortMessage - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
shortMessageForRuleGroup - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
shouldAutoCorrect(List<SuggestedReplacement>) - Method in interface org.languagetool.rules.spelling.suggestions.SuggestionsRanker
Model output should have been calibrated using a precision-recall curve evaluation, so that a threshold for confidence values with sufficiently high precision for auto correction is known
shouldAutoCorrect(List<SuggestedReplacement>) - Method in class org.languagetool.rules.spelling.suggestions.XGBoostSuggestionsOrderer
 
shutdown() - Method in class org.languagetool.MultiThreadedJLanguageTool
Call this to shut down the internally used thread pool.
shutdownWhenDone() - Method in class org.languagetool.MultiThreadedJLanguageTool
Call this to shut down the internally used thread pool after all running tasks are finished.
SimpleReplaceDataLoader - Class in org.languagetool.rules
Load replacement data from a UTF-8 file.
SimpleReplaceDataLoader() - Constructor for class org.languagetool.rules.SimpleReplaceDataLoader
 
SimpleSentenceTokenizer - Class in org.languagetool.tokenizers
A very simple sentence tokenizer that splits on [.!?…] followed by whitespace or an uppercase letter.
SimpleSentenceTokenizer() - Constructor for class org.languagetool.tokenizers.SimpleSentenceTokenizer
 
simpleSyllablesCount(String) - Method in class org.languagetool.rules.ReadabilityRule
A simple method to count the Syllables of a word TODO: further improvement of the method A hyphenation service should be used if available (e.g.
SingleLayerClassifier - Class in org.languagetool.rules.neuralnetwork
 
SingleLayerClassifier(Embedding, InputStream, InputStream) - Constructor for class org.languagetool.rules.neuralnetwork.SingleLayerClassifier
 
singleLineBreaksMarksPara() - Method in interface org.languagetool.tokenizers.SentenceTokenizer
 
singleLineBreaksMarksPara() - Method in class org.languagetool.tokenizers.SRXSentenceTokenizer
 
SKIP - Static variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
skipMaxTokens(AnalyzedTokenReadings[], PatternTokenMatcher, int, int, PatternTokenMatcher, int, int) - Method in class org.languagetool.rules.patterns.AbstractPatternRulePerformer
 
skipPos - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
Soros - Class in org.languagetool.synthesis
 
Soros(String, String) - Constructor for class org.languagetool.synthesis.Soros
 
sortSuggestionByQuality(String, List<String>) - Method in class org.languagetool.rules.spelling.hunspell.CompoundAwareHunspellRule
 
sortSuggestionByQuality(String, List<String>) - Method in class org.languagetool.rules.spelling.hunspell.HunspellRule
 
sortSuggestions(List<String>) - Method in class org.languagetool.rules.spelling.SuggestionSorter
Deprecated.
 
sourceFile - Variable in class org.languagetool.rules.patterns.AbstractPatternRule
 
sourceFile - Variable in class org.languagetool.rules.patterns.PatternRuleHandler
 
SPACEBEFORE - Static variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
specialPatterns - Variable in class org.languagetool.rules.AbstractUnitConversionRule
 
speller1 - Variable in class org.languagetool.rules.spelling.morfologik.MorfologikSpellerRule
 
speller2 - Variable in class org.languagetool.rules.spelling.morfologik.MorfologikSpellerRule
 
speller3 - Variable in class org.languagetool.rules.spelling.morfologik.MorfologikSpellerRule
 
SpellingCheckRule - Class in org.languagetool.rules.spelling
An abstract rule for spellchecking rules.
SpellingCheckRule(ResourceBundle, Language, UserConfig) - Constructor for class org.languagetool.rules.spelling.SpellingCheckRule
 
SpellingCheckRule(ResourceBundle, Language, UserConfig, List<Language>) - Constructor for class org.languagetool.rules.spelling.SpellingCheckRule
 
SpellingCheckRule(ResourceBundle, Language, UserConfig, List<Language>, LanguageModel) - Constructor for class org.languagetool.rules.spelling.SpellingCheckRule
 
SPELLNUMBER_TAG - Variable in class org.languagetool.synthesis.BaseSynthesizer
 
SRXSentenceTokenizer - Class in org.languagetool.tokenizers
Class to tokenize sentences using rules from an SRX file.
SRXSentenceTokenizer(Language) - Constructor for class org.languagetool.tokenizers.SRXSentenceTokenizer
Build a sentence tokenizer based on the rules in the segment.srx file that comes with LanguageTool.
SRXSentenceTokenizer(Language, String) - Constructor for class org.languagetool.tokenizers.SRXSentenceTokenizer
 
START_API - org.languagetool.tools.StringTools.ApiPrintMode
Start XML/JSON output by printing the preamble and the start of the root element.
startElement(String, String, String, Attributes) - Method in class org.languagetool.rules.patterns.PatternRuleHandler
 
STARTLOWER - org.languagetool.rules.patterns.Match.CaseConversion
 
startNextToken() - Method in class org.languagetool.rules.patterns.Unifier
Call after every complete token (AnalyzedTokenReadings) checked.
startPattern(Attributes) - Method in class org.languagetool.rules.patterns.XMLRuleHandler
 
startPositionCorrection - Variable in class org.languagetool.rules.patterns.AbstractPatternRule
 
startPositionCorrection - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
startsWithIgnoredWord(String, boolean) - Method in class org.languagetool.rules.spelling.SpellingCheckRule
Checks whether a word starts with an ignored word.
startsWithUppercase(String) - Static method in class org.languagetool.tools.StringTools
Whether the first character of str is an uppercase character.
startUnify() - Method in class org.languagetool.rules.patterns.Unifier
Starts testing only those equivalences that were previously matched.
STARTUPPER - org.languagetool.rules.patterns.Match.CaseConversion
 
streamToString(InputStream, String) - Static method in class org.languagetool.tools.StringTools
 
StringPair - Class in org.languagetool.bitext
A convenience class to work with bitext strings.
StringPair(String, String) - Constructor for class org.languagetool.bitext.StringPair
 
stringToBytes(String) - Method in class org.languagetool.rules.spelling.hunspell.Hunspell.Dictionary
Convert a Java string to a zero terminated byte array, in the encoding of the dictionary, as expected by the hunspell functions.
StringTools - Class in org.languagetool.tools
Tools for working with strings.
StringTools.ApiPrintMode - Enum in org.languagetool.tools
Constants for printing XML rule matches.
Style - org.languagetool.rules.ITSIssueType
 
STYLE - Static variable in class org.languagetool.rules.Categories
General style issues not covered by other categories, like overly verbose wording.
STYLE - Static variable in class org.languagetool.rules.CategoryIds
 
subId - Variable in class org.languagetool.rules.patterns.AbstractPatternRule
 
subSequence(int, int) - Method in class org.languagetool.tools.InterruptibleCharSequence
 
suggest(String) - Method in class org.languagetool.rules.spelling.hunspell.Hunspell.Dictionary
Returns a list of suggestions
SuggestedReplacement - Class in org.languagetool.rules
 
SuggestedReplacement(String) - Constructor for class org.languagetool.rules.SuggestedReplacement
 
SuggestedReplacement(SuggestedReplacement) - Constructor for class org.languagetool.rules.SuggestedReplacement
 
suggestion - Variable in class org.languagetool.rules.spelling.symspell.implementation.SuggestionStage.Node
 
Suggestion - Class in org.languagetool.rules.neuralnetwork
 
SUGGESTION - org.languagetool.rules.AbstractUnitConversionRule.Message
 
SUGGESTION - Static variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
SuggestionChangesExperiment - Class in org.languagetool.rules.spelling.suggestions
 
SuggestionChangesExperiment(String, Map<String, Object>) - Constructor for class org.languagetool.rules.spelling.suggestions.SuggestionChangesExperiment
 
SuggestionFilter - Class in org.languagetool.rules
Filter suggestions against a rule.
SuggestionFilter(Rule, Language) - Constructor for class org.languagetool.rules.SuggestionFilter
 
suggestionMatches - Variable in class org.languagetool.rules.patterns.AbstractPatternRule
 
suggestionMatches - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
suggestionMatchesOutMsg - Variable in class org.languagetool.rules.patterns.AbstractPatternRule
 
suggestionMatchesOutMsg - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
SuggestionsChanges - Class in org.languagetool.rules.spelling.suggestions
Helper class for SuggestionChangesTest, tracks experiment configuration and results Rules should use getInstance() != null -> getInstance().getCurrentExperiment() in constructors to fetch relevant parameters Use isRunningExperiment if no parameters are needed
suggestionsOrderer - Variable in class org.languagetool.rules.spelling.hunspell.HunspellRule
 
SuggestionsOrderer - Interface in org.languagetool.rules.spelling.suggestions
 
SuggestionsOrdererConfig - Class in org.languagetool.rules.spelling.morfologik.suggestions_ordering
 
SuggestionsOrdererConfig() - Constructor for class org.languagetool.rules.spelling.morfologik.suggestions_ordering.SuggestionsOrdererConfig
 
SuggestionsOrdererFeatureExtractor - Class in org.languagetool.rules.spelling.suggestions
Computes features that can be stored for training a model to rank suggestions, or when using the same model for prediction Used directly by SuggestionChangesTest for the former, and as a superclass for the latter
SuggestionsOrdererFeatureExtractor(Language, LanguageModel) - Constructor for class org.languagetool.rules.spelling.suggestions.SuggestionsOrdererFeatureExtractor
 
SuggestionsOrdererGSoC - Class in org.languagetool.rules.spelling.morfologik.suggestions_ordering
Deprecated.
SuggestionsOrdererGSoC(Language, LanguageModel, String) - Constructor for class org.languagetool.rules.spelling.morfologik.suggestions_ordering.SuggestionsOrdererGSoC
Deprecated.
 
SuggestionSorter - Class in org.languagetool.rules.spelling
Deprecated.
still work in progress
SuggestionSorter(LanguageModel) - Constructor for class org.languagetool.rules.spelling.SuggestionSorter
Deprecated.
 
suggestionsOutMsg - Variable in class org.languagetool.rules.patterns.AbstractPatternRule
 
suggestionsOutMsg - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
SuggestionsRanker - Interface in org.languagetool.rules.spelling.suggestions
Implementing classes must provide confidence values with the SuggestedReplacement objects returned by orderSuggestions
SuggestionStage - Class in org.languagetool.rules.spelling.symspell.implementation
 
SuggestionStage(int) - Constructor for class org.languagetool.rules.spelling.symspell.implementation.SuggestionStage
 
SuggestionStage.Entry - Class in org.languagetool.rules.spelling.symspell.implementation
 
SuggestionStage.Node - Class in org.languagetool.rules.spelling.symspell.implementation
 
SuggestItem - Class in org.languagetool.rules.spelling.symspell.implementation
 
SuggestItem(String, int, long) - Constructor for class org.languagetool.rules.spelling.symspell.implementation.SuggestItem
 
supportsLanguage(Language) - Method in class org.languagetool.rules.patterns.AbstractPatternRule
 
supportsLanguage(Language) - Method in class org.languagetool.rules.Rule
Whether this rule can be used for text in the given language.
SymbolLocator - Class in org.languagetool.rules
Helper class for GenericUnpairedBracketsRule to identify symbols indexed with integers.
SymSpell - Class in org.languagetool.rules.spelling.symspell.implementation
 
SymSpell(int, int, int, int) - Constructor for class org.languagetool.rules.spelling.symspell.implementation.SymSpell
 
SymSpell.Verbosity - Enum in org.languagetool.rules.spelling.symspell.implementation
 
SymSpellRule - Class in org.languagetool.rules.spelling
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
SymSpellRule(ResourceBundle, Language, UserConfig) - Constructor for class org.languagetool.rules.spelling.SymSpellRule
 
SymSpellRule(ResourceBundle, Language, UserConfig, List<Language>) - Constructor for class org.languagetool.rules.spelling.SymSpellRule
 
SymSpellRule(ResourceBundle, Language, UserConfig, List<Language>, LanguageModel) - Constructor for class org.languagetool.rules.spelling.SymSpellRule
 
synthesize(AnalyzedToken, String) - Method in class org.languagetool.synthesis.BaseSynthesizer
Get a form of a given AnalyzedToken, where the form is defined by a part-of-speech tag.
synthesize(AnalyzedToken, String) - Method in interface org.languagetool.synthesis.Synthesizer
Generates a form of the word with a given POS tag for a given lemma.
synthesize(AnalyzedToken, String, boolean) - Method in class org.languagetool.synthesis.BaseSynthesizer
 
synthesize(AnalyzedToken, String, boolean) - Method in interface org.languagetool.synthesis.Synthesizer
Generates a form of the word with a given POS tag for a given lemma.
Synthesizer - Interface in org.languagetool.synthesis
Part-of-speech synthesizer interface.
SynthesizerTools - Class in org.languagetool.synthesis
 

T

tab2StringPair(String) - Method in class org.languagetool.bitext.TabBitextReader
 
tab2StringPair(String) - Method in class org.languagetool.bitext.WordFastTMReader
 
TabBitextReader - Class in org.languagetool.bitext
Reader of simple tab-delimited bilingual files.
TabBitextReader(String, String) - Constructor for class org.languagetool.bitext.TabBitextReader
 
TABNAME - Static variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
tag(String) - Method in class org.languagetool.rules.PartialPosTagFilter
 
tag(String) - Method in class org.languagetool.tagging.CombiningTagger
 
tag(String) - Method in class org.languagetool.tagging.ManualTagger
Look up a word's baseform (lemma) and POS information.
tag(String) - Method in class org.languagetool.tagging.MorfologikTagger
 
tag(String) - Method in interface org.languagetool.tagging.WordTagger
 
tag(List<String>) - Method in class org.languagetool.tagging.BaseTagger
 
tag(List<String>) - Method in interface org.languagetool.tagging.Tagger
Returns a list of AnalyzedTokens that assigns each term in the sentence some kind of part-of-speech information (not necessarily just one tag).
tag(List<String>) - Method in class org.languagetool.tagging.xx.DemoTagger
 
TaggedWord - Class in org.languagetool.tagging
Result of WordTagger.
TaggedWord(String, String) - Constructor for class org.languagetool.tagging.TaggedWord
 
Tagger - Interface in org.languagetool.tagging
The part-of-speech tagger interface, whose implementations are usually language-dependent.
TEMP_OFF - Static variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
term - Variable in class org.languagetool.rules.spelling.symspell.implementation.SuggestItem
 
Terminology - org.languagetool.rules.ITSIssueType
 
testAllReadings(AnalyzedTokenReadings[], PatternTokenMatcher, PatternTokenMatcher, int, int, int) - Method in class org.languagetool.rules.patterns.AbstractPatternRulePerformer
 
testUnification - Variable in class org.languagetool.rules.patterns.AbstractPatternRule
 
testUnificationAndGroups(boolean, boolean, AnalyzedToken, PatternTokenMatcher, boolean) - Method in class org.languagetool.rules.patterns.AbstractPatternRulePerformer
 
TEXTLEVEL_ONLY - org.languagetool.JLanguageTool.Mode
Use only text-level rules for checking.
TextLevelRule - Class in org.languagetool.rules
A rule that considers the complete text, not just one sentence after the other.
TextLevelRule() - Constructor for class org.languagetool.rules.TextLevelRule
 
TextLevelRule(ResourceBundle) - Constructor for class org.languagetool.rules.TextLevelRule
Called by rules that require a translation of their messages.
toFinalString(Language) - Method in class org.languagetool.rules.patterns.MatchState
Gets all strings formatted using the match element.
token(String) - Static method in class org.languagetool.rules.patterns.PatternRuleBuilderHelper
 
token(String) - Method in class org.languagetool.rules.patterns.PatternTokenBuilder
Add a case-insensitive token.
TOKEN - Static variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
tokenCounter - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
tokenInflected - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
tokenize(String) - Method in interface org.languagetool.tokenizers.SentenceTokenizer
Tokenize the given string to sentences.
tokenize(String) - Method in class org.languagetool.tokenizers.SRXSentenceTokenizer
 
tokenize(String) - Method in interface org.languagetool.tokenizers.Tokenizer
 
tokenize(String) - Method in class org.languagetool.tokenizers.WordTokenizer
 
Tokenizer - Interface in org.languagetool.tokenizers
Interface for classes that tokenize text into smaller units.
tokenizeText(String) - Method in class org.languagetool.rules.spelling.hunspell.HunspellRule
 
tokenizingPattern() - Method in class org.languagetool.rules.spelling.morfologik.MorfologikSpellerRule
Get the regular expression pattern used to tokenize the words as in the source dictionary.
tokenLevelCaseSensitive - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
tokenLevelCaseSet - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
tokenNegated - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
tokenReference - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
tokenRegex(String) - Static method in class org.languagetool.rules.patterns.PatternRuleBuilderHelper
 
tokenRegex(String) - Method in class org.languagetool.rules.patterns.PatternTokenBuilder
 
tokenSpaceBefore - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
tokenSpaceBeforeSet - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
Tools - Class in org.languagetool.tools
 
Top - org.languagetool.rules.spelling.symspell.implementation.SymSpell.Verbosity
 
toPatternString() - Method in class org.languagetool.rules.patterns.PatternRule
Return the pattern as a string, using toString() on the pattern elements.
topN - Variable in class org.languagetool.rules.spelling.suggestions.SuggestionsOrdererFeatureExtractor
 
toRuleMatchArray(List<RuleMatch>) - Method in class org.languagetool.rules.Rule
 
toShortString(String) - Method in class org.languagetool.AnalyzedSentence
Return string representation without chunk information.
toString() - Method in class org.languagetool.AnalyzedSentence
 
toString() - Method in class org.languagetool.AnalyzedToken
 
toString() - Method in class org.languagetool.AnalyzedTokenReadings
 
toString() - Method in class org.languagetool.bitext.StringPair
 
toString() - Method in class org.languagetool.chunking.ChunkTag
 
toString() - Method in class org.languagetool.DetectedLanguage
 
toString() - Method in class org.languagetool.language.Contributor
 
toString() - Method in class org.languagetool.Language
 
toString() - Method in class org.languagetool.languagemodel.LuceneLanguageModel
 
toString() - Method in class org.languagetool.languagemodel.LuceneSingleIndexLanguageModel
 
toString() - Method in class org.languagetool.languagemodel.MultiLanguageModel
 
toString() - Method in class org.languagetool.markup.AnnotatedText
 
toString() - Method in class org.languagetool.rules.bitext.IncorrectBitextExample
 
toString() - Method in class org.languagetool.rules.Category
 
toString() - Method in class org.languagetool.rules.CategoryId
 
toString() - Method in class org.languagetool.rules.ConfusionPair
 
toString() - Method in class org.languagetool.rules.ConfusionSet
 
toString() - Method in class org.languagetool.rules.ConfusionString
 
toString() - Method in class org.languagetool.rules.ExampleSentence
 
toString() - Method in class org.languagetool.rules.IncorrectExample
 
toString() - Method in enum org.languagetool.rules.ITSIssueType
Use this to get the name as it is used in the ITS 2.0 standard (namely lowercase and with hyphens, not camel case)
toString() - Method in class org.languagetool.rules.neuralnetwork.Suggestion
 
toString() - Method in class org.languagetool.rules.ngrams.Probability
 
toString() - Method in class org.languagetool.rules.patterns.AbstractPatternRule
 
toString() - Method in class org.languagetool.rules.patterns.PatternRuleId
 
toString() - Method in class org.languagetool.rules.patterns.PatternToken.PosToken
 
toString() - Method in class org.languagetool.rules.patterns.PatternToken
 
toString() - Method in class org.languagetool.rules.patterns.PatternTokenMatcher
 
toString() - Method in class org.languagetool.rules.patterns.RegexPatternRule
 
toString() - Method in class org.languagetool.rules.RuleMatch
 
toString() - Method in class org.languagetool.rules.ScoredConfusionSet
 
toString() - Method in class org.languagetool.rules.spelling.morfologik.MorfologikSpeller
 
toString() - Method in class org.languagetool.rules.spelling.morfologik.suggestions_ordering.DetailedDamerauLevenstheinDistance.Distance
 
toString() - Method in class org.languagetool.rules.spelling.suggestions.SuggestionChangesExperiment
 
toString() - Method in class org.languagetool.rules.spelling.symspell.implementation.SuggestItem
 
toString() - Method in class org.languagetool.rules.SuggestedReplacement
 
toString() - Method in class org.languagetool.rules.SymbolLocator
 
toString() - Method in class org.languagetool.tagging.disambiguation.rules.DisambiguatedExample
 
toString() - Method in class org.languagetool.tagging.TaggedWord
 
toString() - Method in class org.languagetool.tools.InterruptibleCharSequence
 
toString(String) - Method in class org.languagetool.AnalyzedSentence
Return string representation with chunk information.
toXML() - Method in class org.languagetool.rules.patterns.PatternRule
Return the rule's definition as an XML string, loaded from the XML rule files.
toXML(PatternRuleId, Language) - Method in class org.languagetool.rules.patterns.PatternRuleXmlCreator
Return the given pattern rule as an indented XML string.
track(DetailedDamerauLevenstheinDistance.EditOperation) - Method in class org.languagetool.rules.spelling.morfologik.suggestions_ordering.DetailedDamerauLevenstheinDistance.Distance
 
trackExperimentResult(Pair<SuggestionChangesExperiment, SuggestionChangesDataset>, int, int, long) - Method in class org.languagetool.rules.spelling.suggestions.SuggestionsChanges
 
transpose() - Method in class org.languagetool.rules.neuralnetwork.Matrix
 
transpose() - Method in class org.languagetool.rules.spelling.morfologik.suggestions_ordering.DetailedDamerauLevenstheinDistance.Distance
 
Transpose() - Constructor for class org.languagetool.rules.spelling.morfologik.suggestions_ordering.DetailedDamerauLevenstheinDistance.Transpose
 
transposes - Variable in class org.languagetool.rules.spelling.morfologik.suggestions_ordering.DetailedDamerauLevenstheinDistance.Distance
 
trimSpecialCharacters(String) - Static method in class org.languagetool.tools.StringTools
eliminate special (unicode) characters, e.g.
trimWhitespace(String) - Static method in class org.languagetool.tools.StringTools
Filters any whitespace characters.
tryLoad(String) - Method in class org.languagetool.rules.spelling.hunspell.Hunspell
 
TwoLayerClassifier - Class in org.languagetool.rules.neuralnetwork
 
TwoLayerClassifier(Embedding, InputStream, InputStream, InputStream, InputStream) - Constructor for class org.languagetool.rules.neuralnetwork.TwoLayerClassifier
 
TYPE - Static variable in class org.languagetool.rules.patterns.PatternRuleHandler
 
TYPE - Static variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
Typographical - org.languagetool.rules.ITSIssueType
 
TYPOGRAPHY - Static variable in class org.languagetool.rules.Categories
Problems like incorrectly used dash or quote characters.
TYPOGRAPHY - Static variable in class org.languagetool.rules.CategoryIds
 
TYPOS - Static variable in class org.languagetool.rules.Categories
Spelling issues.
TYPOS - Static variable in class org.languagetool.rules.CategoryIds
 

U

uFeature - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
Uncategorized - org.languagetool.rules.ITSIssueType
 
UNIFICATION - Static variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
unifiedTokens - Variable in class org.languagetool.rules.patterns.AbstractPatternRulePerformer
 
unifier - Variable in class org.languagetool.rules.patterns.AbstractPatternRulePerformer
 
Unifier - Class in org.languagetool.rules.patterns
Implements unification of features over tokens.
Unifier(Map<EquivalenceTypeLocator, PatternToken>, Map<String, List<String>>) - Constructor for class org.languagetool.rules.patterns.Unifier
Instantiates the unifier.
UnifierConfiguration - Class in org.languagetool.rules.patterns
 
UnifierConfiguration() - Constructor for class org.languagetool.rules.patterns.UnifierConfiguration
 
UNIFY - org.languagetool.tagging.disambiguation.rules.DisambiguationPatternRule.DisambiguatorAction
 
UNIFY - Static variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
UNIFY_IGNORE - Static variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
uniNegation - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
UNIT_MISMATCH - org.languagetool.rules.AbstractUnitConversionRule.Message
 
unitPatterns - Variable in class org.languagetool.rules.AbstractUnitConversionRule
 
unitSymbols - Variable in class org.languagetool.rules.AbstractUnitConversionRule
 
UNKNOWN_TAG - Static variable in class org.languagetool.rules.patterns.PatternToken
Matches only tokens without any POS tag.
UnknownWord - org.languagetool.rules.RuleMatch.Type
Spelling errors, typically red.
UnsyncStack<E> - Class in org.languagetool.rules
Implements unsynchronized stack (contrary to default Java Stack, this one is based on ArrayList).
Untranslated - org.languagetool.rules.ITSIssueType
 
UPPERCASE_GREEK_LETTERS - Static variable in class org.languagetool.tools.StringTools
 
uppercaseFirstChar(String) - Static method in class org.languagetool.tools.StringTools
Return str modified so that its first character is now an uppercase character.
uppercaseFirstChar(String, Language) - Static method in class org.languagetool.tools.StringTools
Like StringTools.uppercaseFirstChar(String), but handles a special case for Dutch (IJ in e.g.
UppercaseSentenceStartRule - Class in org.languagetool.rules
Checks that a sentence starts with an uppercase letter.
UppercaseSentenceStartRule(ResourceBundle, Language) - Constructor for class org.languagetool.rules.UppercaseSentenceStartRule
UppercaseSentenceStartRule(ResourceBundle, Language, IncorrectExample, CorrectExample) - Constructor for class org.languagetool.rules.UppercaseSentenceStartRule
 
url - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
urlForRuleGroup - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
US_CUP - Static variable in class org.languagetool.rules.AbstractUnitConversionRule
 
US_FL_OUNCE - Static variable in class org.languagetool.rules.AbstractUnitConversionRule
 
US_GALLON - Static variable in class org.languagetool.rules.AbstractUnitConversionRule
 
US_PINT - Static variable in class org.languagetool.rules.AbstractUnitConversionRule
 
US_QUART - Static variable in class org.languagetool.rules.AbstractUnitConversionRule
 
useInOffice() - Method in class org.languagetool.rules.Rule
Whether this rule should be forced to be used in LO/OO extension.
UserConfig - Class in org.languagetool
User-specific configuration.
UserConfig() - Constructor for class org.languagetool.UserConfig
 
UserConfig(List<String>) - Constructor for class org.languagetool.UserConfig
 
UserConfig(List<String>, Map<String, Integer>) - Constructor for class org.languagetool.UserConfig
 
UserConfig(List<String>, Map<String, Integer>, int) - Constructor for class org.languagetool.UserConfig
 
UserConfig(List<String>, Map<String, Integer>, int, String, LinguServices) - Constructor for class org.languagetool.UserConfig
 
UserConfig(List<String>, Map<String, Integer>, int, String, LinguServices, boolean) - Constructor for class org.languagetool.UserConfig
 
UserConfig(Map<String, Integer>) - Constructor for class org.languagetool.UserConfig
 
UserConfig(Map<String, Integer>, LinguServices) - Constructor for class org.languagetool.UserConfig
 
userDictSpeller - Variable in class org.languagetool.rules.spelling.SymSpellRule
 
uType - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
uTypeList - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 

V

validateDirectory(File) - Static method in class org.languagetool.languagemodel.LuceneLanguageModel
 
validateDirectory(File) - Static method in class org.languagetool.languagemodel.LuceneSingleIndexLanguageModel
Throw RuntimeException is the given directory does not seem to be a valid ngram top directory with sub directories 1grams etc.
validateStringWithXmlSchema(String, String) - Method in class org.languagetool.XMLValidator
Validate XML file using the given XSD.
validateWithDtd(String, String, String) - Method in class org.languagetool.XMLValidator
Validate XML file in classpath with the given DTD.
validateWithXmlSchema(String, String) - Method in class org.languagetool.XMLValidator
Validate XML file using the given XSD.
validateWithXmlSchema(String, String, String) - Method in class org.languagetool.XMLValidator
Validate XML file using the given XSD.
validateXMLString(String, String, String) - Method in class org.languagetool.XMLValidator
Validate XML with the given DTD.
value() - Method in annotation type org.languagetool.ApiCleanupNeeded
 
value() - Method in class org.languagetool.rules.spelling.morfologik.suggestions_ordering.DetailedDamerauLevenstheinDistance.Distance
 
valueOf(String) - Static method in enum org.languagetool.JLanguageTool.Mode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.languagetool.JLanguageTool.ParagraphHandling
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.languagetool.LanguageMaintainedState
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.languagetool.markup.AnnotatedText.MetaDataKey
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.languagetool.rules.AbstractUnitConversionRule.Message
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.languagetool.rules.Category.Location
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.languagetool.rules.ITSIssueType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.languagetool.rules.patterns.Match.CaseConversion
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.languagetool.rules.patterns.Match.IncludeRange
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.languagetool.rules.RuleMatch.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.languagetool.rules.spelling.symspell.implementation.EditDistance.DistanceAlgorithm
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.languagetool.rules.spelling.symspell.implementation.SymSpell.Verbosity
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.languagetool.tagging.disambiguation.rules.DisambiguationPatternRule.DisambiguatorAction
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.languagetool.tools.StringTools.ApiPrintMode
Returns the enum constant of this type with the specified name.
values - Variable in class org.languagetool.rules.spelling.symspell.implementation.ChunkArray
 
values() - Static method in enum org.languagetool.JLanguageTool.Mode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.languagetool.JLanguageTool.ParagraphHandling
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.languagetool.LanguageMaintainedState
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.languagetool.markup.AnnotatedText.MetaDataKey
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.languagetool.rules.AbstractUnitConversionRule.Message
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.languagetool.rules.Category.Location
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.languagetool.rules.ITSIssueType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.languagetool.rules.patterns.Match.CaseConversion
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.languagetool.rules.patterns.Match.IncludeRange
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.languagetool.rules.RuleMatch.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.languagetool.rules.spelling.symspell.implementation.EditDistance.DistanceAlgorithm
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.languagetool.rules.spelling.symspell.implementation.SymSpell.Verbosity
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.languagetool.tagging.disambiguation.rules.DisambiguationPatternRule.DisambiguatorAction
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.languagetool.tools.StringTools.ApiPrintMode
Returns an array containing the constants of this enum type, in the order they are declared.
VERSION - Static variable in class org.languagetool.JLanguageTool
LanguageTool version as a string like 2.3 or 2.4-SNAPSHOT.

W

warning(SAXParseException) - Method in class org.languagetool.rules.patterns.XMLRuleHandler
 
Whitespace - org.languagetool.rules.ITSIssueType
 
WhiteSpaceAtBeginOfParagraph - Class in org.languagetool.rules
A rule that checks for WhiteSpaces at the begin of a paragraph
WhiteSpaceAtBeginOfParagraph(ResourceBundle) - Constructor for class org.languagetool.rules.WhiteSpaceAtBeginOfParagraph
 
WhiteSpaceAtBeginOfParagraph(ResourceBundle, boolean) - Constructor for class org.languagetool.rules.WhiteSpaceAtBeginOfParagraph
 
WhiteSpaceBeforeParagraphEnd - Class in org.languagetool.rules
A rule that checks for a whitespace at the end of a paragraph
WhiteSpaceBeforeParagraphEnd(ResourceBundle, Language) - Constructor for class org.languagetool.rules.WhiteSpaceBeforeParagraphEnd
 
WhiteSpaceBeforeParagraphEnd(ResourceBundle, Language, boolean) - Constructor for class org.languagetool.rules.WhiteSpaceBeforeParagraphEnd
 
WhitespaceBeforePunctuationRule - Class in org.languagetool.rules
A rule that matches several punctuation signs such as : ; and % preceded by whitespace.
WhitespaceBeforePunctuationRule(ResourceBundle) - Constructor for class org.languagetool.rules.WhitespaceBeforePunctuationRule
 
WhitespaceCheckFilter - Class in org.languagetool.rules
 
WhitespaceCheckFilter() - Constructor for class org.languagetool.rules.WhitespaceCheckFilter
 
WIKIPEDIA - Static variable in class org.languagetool.rules.Categories
Rules that only make sense when editing Wikipedia (typically turned off by default in LanguageTool).
WIKIPEDIA - Static variable in class org.languagetool.rules.CategoryIds
Rules that only make sense when editing Wikipedia (typically turned off by default in LanguageTool).
Word2VecModel - Class in org.languagetool.rules.neuralnetwork
 
Word2VecModel(String) - Constructor for class org.languagetool.rules.neuralnetwork.Word2VecModel
 
WordCoherencyDataLoader - Class in org.languagetool.rules
Loads word variations words from a UTF-8 file.
WordCoherencyDataLoader() - Constructor for class org.languagetool.rules.WordCoherencyDataLoader
 
WordFastTMReader - Class in org.languagetool.bitext
Reader of WordFast Translation Memory text files.
WordFastTMReader(String, String) - Constructor for class org.languagetool.bitext.WordFastTMReader
 
wordListLoader - Variable in class org.languagetool.rules.spelling.SpellingCheckRule
 
WordRepeatBeginningRule - Class in org.languagetool.rules
Check if three successive sentences begin with the same word, e.g.
WordRepeatBeginningRule(ResourceBundle, Language) - Constructor for class org.languagetool.rules.WordRepeatBeginningRule
 
WordRepeatRule - Class in org.languagetool.rules
Check if a word is repeated, e.g.
WordRepeatRule(ResourceBundle, Language) - Constructor for class org.languagetool.rules.WordRepeatRule
 
wordSegmentation(String) - Method in class org.languagetool.rules.spelling.symspell.implementation.SymSpell
 
wordSegmentation(String, int) - Method in class org.languagetool.rules.spelling.symspell.implementation.SymSpell
 
wordSegmentation(String, int, int) - Method in class org.languagetool.rules.spelling.symspell.implementation.SymSpell
 
wordTagger - Variable in class org.languagetool.tagging.BaseTagger
 
WordTagger - Interface in org.languagetool.tagging
Find the potential part-of-speech tags (POS tags) for a word.
WordTokenizer - Class in org.languagetool.tokenizers
Tokenizes a sentence into words.
WordTokenizer() - Constructor for class org.languagetool.tokenizers.WordTokenizer
 
wrong(String) - Static method in class org.languagetool.rules.Example
Create an example text (usually just one sentence) with an error - the error must be marked with <marker>...</marker>.
WrongWordInContextRule - Class in org.languagetool.rules
Check if there is a confusion of two words (which might have a similar spelling) depending on the context.
WrongWordInContextRule(ResourceBundle) - Constructor for class org.languagetool.rules.WrongWordInContextRule
 

X

XGBoostSuggestionsOrderer - Class in org.languagetool.rules.spelling.suggestions
 
XGBoostSuggestionsOrderer(Language, LanguageModel) - Constructor for class org.languagetool.rules.spelling.suggestions.XGBoostSuggestionsOrderer
 
XmlRuleDisambiguator - Class in org.languagetool.tagging.disambiguation.rules
Rule-based disambiguator.
XmlRuleDisambiguator(Language) - Constructor for class org.languagetool.tagging.disambiguation.rules.XmlRuleDisambiguator
 
XMLRuleHandler - Class in org.languagetool.rules.patterns
XML rule handler that loads rules from XML and throws exceptions on errors and warnings.
XMLRuleHandler() - Constructor for class org.languagetool.rules.patterns.XMLRuleHandler
 
XMLValidator - Class in org.languagetool
Validate XML files with a given DTD or XML Schema (XSD).
XMLValidator() - Constructor for class org.languagetool.XMLValidator
 

Y

YARD - Static variable in class org.languagetool.rules.AbstractUnitConversionRule
 
YES - Static variable in class org.languagetool.rules.patterns.XMLRuleHandler
Definitions of values in XML files.
YMDDateHelper - Class in org.languagetool.rules
 
YMDDateHelper() - Constructor for class org.languagetool.rules.YMDDateHelper
 
A B C D E F G H I J L M N O P R S T U V W X Y 
All Classes All Packages