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

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
 
AbstractDateCheckFilter - Class in org.languagetool.rules
Accepts rule matches if a date doesn't match the accompanying weekday, e.g. if Monday, 8 November 2003 isn't actually a Monday.
AbstractDateCheckFilter() - Constructor for class org.languagetool.rules.AbstractDateCheckFilter
 
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
 
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 "
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
 
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
 
acceptRuleMatch(RuleMatch, Map<String, String>, AnalyzedTokenReadings[]) - Method in class org.languagetool.rules.AbstractDateCheckFilter
 
acceptRuleMatch(RuleMatch, Map<String, String>, AnalyzedTokenReadings[]) - Method in class org.languagetool.rules.PartialPosTagFilter
 
acceptRuleMatch(RuleMatch, Map<String, String>, AnalyzedTokenReadings[]) - Method in interface org.languagetool.rules.patterns.RuleFilter
Returns the original rule match or a modified one, or null if the rule match is filtered out.
activateLanguageModelRules(File) - Method in class org.languagetool.JLanguageTool
Activate rules that depend on a language model.
addChunkTags(List<AnalyzedTokenReadings>) - Method in interface org.languagetool.chunking.Chunker
 
addExamplePair(IncorrectExample, String) - 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.
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, Set<String>) - Method in class org.languagetool.rules.spelling.SpellingCheckRule
 
additionalTags(String, WordTagger) - Method in class org.languagetool.tagging.BaseTagger
Allows additional tagging in some language-dependent circumstances
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).
addMarkup(String) - Method in class org.languagetool.markup.AnnotatedTextBuilder
Add a markup text snippet like <b attr='something'> or <div>.
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.
addReading(AnalyzedToken) - 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.
addSuggestionMatch(Match) - Method in class org.languagetool.rules.patterns.PatternRule
Add formatted suggestion elements.
addSuggestionMatchOutMsg(Match) - Method in class org.languagetool.rules.patterns.PatternRule
Add formatted suggestion elements outside message.
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).
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
 
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.
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(AnalyzedToken[], int) - Constructor for class org.languagetool.AnalyzedTokenReadings
 
AnalyzedTokenReadings(AnalyzedToken, int) - Constructor for class org.languagetool.AnalyzedTokenReadings
 
AnalyzedTokenReadings(List<AnalyzedToken>, int) - 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.
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
 
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

BaseSynthesizer - Class in org.languagetool.synthesis
 
BaseSynthesizer(String, String) - 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_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

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
 
caseSensitive - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
Category - Class in org.languagetool.rules
A rule's category.
Category(String, int, Category.Location, boolean) - Constructor for class org.languagetool.rules.Category
Deprecated.
priority will be removed, as it had not been used (deprecated since 2.8)
Category(String) - Constructor for class org.languagetool.rules.Category
Create a new category.
Category(String, Category.Location) - Constructor for class org.languagetool.rules.Category
Create a new category.
Category(String, Category.Location, boolean) - Constructor for class org.languagetool.rules.Category
Create a new category.
category - Variable in class org.languagetool.rules.patterns.PatternRuleHandler
 
Category.Location - Enum in org.languagetool.rules
 
categoryIssueType - Variable in class org.languagetool.rules.patterns.PatternRuleHandler
 
characters(char[], int, int) - Method in class org.languagetool.rules.patterns.PatternRuleHandler
 
check(String) - Method in class org.languagetool.JLanguageTool
The main check method.
check(String, boolean, JLanguageTool.ParagraphHandling) - Method in class org.languagetool.JLanguageTool
 
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.
checkAnalyzedSentence(JLanguageTool.ParagraphHandling, List<Rule>, int, int, int, String, AnalyzedSentence) - Method in class org.languagetool.JLanguageTool
Deprecated.
will be made non-public, please use one of the JLanguageTool.check(String) methods instead (deprecated since 3.0)
checkAnalyzedSentence(JLanguageTool.ParagraphHandling, List<Rule>, int, int, int, String, AnalyzedSentence, AnnotatedText) - 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).
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.
Chunker - Interface in org.languagetool.chunking
Assign chunks (i.e. phrases) like noun phrases or verb phrases to the tokens of the text.
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
 
chunkTag - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
clone() - Method in class org.languagetool.rules.patterns.PatternToken
 
close() - Method in interface org.languagetool.languagemodel.LanguageModel
 
close() - Method in class org.languagetool.languagemodel.LuceneLanguageModel
 
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
 
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
 
compareTo(RuleMatch) - Method in class org.languagetool.rules.RuleMatch
Compare by start position.
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) - Constructor for class org.languagetool.rules.spelling.hunspell.CompoundAwareHunspellRule
 
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.
ConfusionProbabilityRule - Class in org.languagetool.rules
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.ConfusionProbabilityRule
 
ConfusionProbabilityRule(ResourceBundle, LanguageModel, Language, int) - Constructor for class org.languagetool.rules.ConfusionProbabilityRule
 
ConfusionSet - Class in org.languagetool.rules
Words that can easily be confused - for internal use only.
ConfusionSet(long, List<ConfusionString>) - Constructor for class org.languagetool.rules.ConfusionSet
 
ConfusionSet(long, String...) - 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 ConfusionSet - 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
 
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
 
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.
correctExample - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
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
 
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) - Method in class org.languagetool.rules.WordRepeatRule
 
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
 

D

DEFAULT - Static variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
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.
DemoDisambiguator - Class in org.languagetool.tagging.disambiguation.xx
Trivial disambiguator.
DemoDisambiguator() - Constructor for class org.languagetool.tagging.disambiguation.xx.DemoDisambiguator
 
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
detectLanguage(String) - Method in class org.languagetool.language.LanguageIdentifier
 
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(String) - Method in class org.languagetool.JLanguageTool
Disable the given rule category so the check methods like JLanguageTool.check(String) won't use it.
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 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 (...)
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.
DoublePunctuationRule - Class in org.languagetool.rules
A rule that matches ".."
DoublePunctuationRule(ResourceBundle) - Constructor for class org.languagetool.rules.DoublePunctuationRule
 

E

elements - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
empty() - Method in class org.languagetool.rules.UnsyncStack
Tests if this stack is empty.
enableDefaultOffRule(String) - Method in class org.languagetool.JLanguageTool
Enable a rule that is switched off by default (default="off" in the XML).
enableRule(String) - Method in class org.languagetool.JLanguageTool
Re-enable a given rule so the check methods like JLanguageTool.check(String) will use it.
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.rules.ConfusionSet
 
equals(Object) - Method in class org.languagetool.rules.ConfusionString
 
equals(Object) - Method in class org.languagetool.rules.RuleMatch
 
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
 
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
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
 
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.

F

FALSE_FRIEND_FILE - Static variable in class org.languagetool.JLanguageTool
The name of the file with false friend information.
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() - 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
 
filter(List<RuleMatch>) - Method in interface org.languagetool.rules.RuleMatchFilter
 
filter(List<RuleMatch>) - Method in class org.languagetool.rules.RuleWithMaxFilter
 
filter(List<RuleMatch>) - Method in class org.languagetool.rules.SameRuleGroupFilter
 
filterArgs - Variable in class org.languagetool.rules.patterns.PatternRuleHandler
 
filterClassName - Variable in class org.languagetool.rules.patterns.PatternRuleHandler
 
filterForLanguage(List<String>) - Method in class org.languagetool.rules.spelling.hunspell.CompoundAwareHunspellRule
 
filterReadings() - Method in class org.languagetool.rules.patterns.MatchState
 
filterSuggestions(List<String>) - 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
 
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)) must be marked with {@code ...

G

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(ResourceBundle, List<String>, List<String>) - 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: [] () {} "" ''
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.
getAction() - Method in class org.languagetool.tagging.disambiguation.rules.DisambiguationPatternRule
 
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).
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).
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.
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
 
getCandidates(String) - Method in class org.languagetool.rules.spelling.hunspell.CompoundAwareHunspellRule
 
getCandidates(List<String>) - Method in class org.languagetool.rules.spelling.hunspell.CompoundAwareHunspellRule
 
getCaseConversionType() - Method in class org.languagetool.rules.patterns.Match
 
getCategory() - Method in class org.languagetool.rules.Rule
 
getCategoryString() - Method in class org.languagetool.rules.WrongWordInContextRule
 
getChunker() - Method in class org.languagetool.Language
Get this language's chunker implementation or null.
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
Get the column number in which the match occurs (zero-based).
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
 
getCompoundRuleData() - Method in class org.languagetool.rules.AbstractCompoundRule
 
getConjunctions() - Method in class org.languagetool.rules.AbstractSpaceBeforeRule
 
getContext(int, int, String) - Method in class org.languagetool.tools.ContextTools
 
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 or null.
getCorrections() - Method in class org.languagetool.rules.IncorrectExample
Return the possible corrections.
getCount(String) - Method in interface org.languagetool.languagemodel.LanguageModel
Get the occurrence count for token.
getCount(List<String>) - Method in interface org.languagetool.languagemodel.LanguageModel
Get the occurrence count for the given token sequence.
getCount(String, String) - Method in interface org.languagetool.languagemodel.LanguageModel
Get the occurrence count for the phrase token1 token2.
getCount(String, String, String) - Method in interface org.languagetool.languagemodel.LanguageModel
Get the occurrence count for the phrase token1 token2 token3.
getCount(List<String>) - Method in class org.languagetool.languagemodel.LuceneLanguageModel
 
getCount(String) - Method in class org.languagetool.languagemodel.LuceneLanguageModel
 
getCount(String, String) - Method in class org.languagetool.languagemodel.LuceneLanguageModel
 
getCount(String, String, String) - Method in class org.languagetool.languagemodel.LuceneLanguageModel
 
getCountries() - Method in class org.languagetool.Language
Get this language's country options , e.g.
getCurrentLine() - Method in interface org.languagetool.bitext.BitextReader
Get the current line of the bitext input.
getCurrentLine() - Method in class org.languagetool.bitext.TabBitextReader
 
getDataBroker() - Static method in class org.languagetool.JLanguageTool
The grammar checker needs resources from following directories: /resource /rules This method is thread-safe.
getDayOfMonth(String) - Method in class org.languagetool.rules.AbstractDateCheckFilter
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.
getDescription() - Method in class org.languagetool.rules.AbstractCompoundRule
 
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.bitext.BitextRule
 
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.DoublePunctuationRule
 
getDescription() - Method in class org.languagetool.rules.GenericUnpairedBracketsRule
 
getDescription() - Method in class org.languagetool.rules.LongSentenceRule
 
getDescription() - Method in class org.languagetool.rules.MultipleWhitespaceRule
 
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.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.UppercaseSentenceStartRule
 
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
 
getDictionary(String) - Method in class org.languagetool.rules.spelling.hunspell.Hunspell
Gets an instance of the dictionary.
getDictionary() - Method in class org.languagetool.synthesis.BaseSynthesizer
Returns the Dictionary used for this synthesizer.
getDictionary() - Method in class org.languagetool.tagging.BaseTagger
 
getDictionaryPath() - Method in class org.languagetool.tagging.BaseTagger
 
getDisabledCategories() - Method in class org.languagetool.JLanguageTool
Get category ids of the rule categories that have been explicitly disabled.
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.
getDotMessage() - Method in class org.languagetool.rules.DoublePunctuationRule
 
getEncoding() - Method in class org.languagetool.rules.AbstractSimpleReplaceRule
Deprecated.
will be removed, it was always "utf-8" anyway (deprecated since 3.0)
getEndColumn() - Method in class org.languagetool.rules.RuleMatch
Get the column number in which the match ends (zero-based).
getEndLine() - Method in class org.languagetool.rules.RuleMatch
Get the line number in which the match ends (zero-based).
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
 
getExample() - Method in class org.languagetool.rules.bitext.IncorrectBitextExample
Return the example that contains the error.
getExample() - Method in class org.languagetool.rules.IncorrectExample
Return the example that contains the error.
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
 
getFactor() - Method in class org.languagetool.rules.ConfusionSet
 
getFalseFriendsAsBitext(String, Language, Language) - Method in class org.languagetool.rules.patterns.bitext.FalseFriendsAsBitextLoader
 
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.
getFilename() - Method in class org.languagetool.rules.WrongWordInContextRule
 
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(org.languagetool.AnalyzedToken, java.util.Map, boolean)} was used.
getFromPos() - Method in class org.languagetool.rules.RuleMatch
Position of the start of the error (in characters, zero-based).
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.
getFullStackTrace(Throwable) - Static method in class org.languagetool.tools.Tools
Get a stacktrace as a string.
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.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.bitext.BitextRule
 
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.CommaWhitespaceRule
 
getId() - Method in class org.languagetool.rules.ConfusionProbabilityRule
 
getId() - Method in class org.languagetool.rules.DoublePunctuationRule
 
getId() - Method in class org.languagetool.rules.GenericUnpairedBracketsRule
 
getId() - Method in class org.languagetool.rules.LongSentenceRule
 
getId() - Method in class org.languagetool.rules.MultipleWhitespaceRule
 
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.Rule
A string used to identify the rule in e.g. configuration files.
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.UppercaseSentenceStartRule
 
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
 
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.rules.spelling.hunspell.Hunspell
The instance of the HunspellManager, looks for the native lib in the default directories
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
 
getLanguage() - Method in class org.languagetool.JLanguageTool
Get the language that was used to configure this instance.
getLanguage() - Method in class org.languagetool.rules.patterns.AbstractPatternRule
 
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.
getLanguageForShortName(String) - Static method in class org.languagetool.Languages
Get the Language object for the given short language name.
getLanguageModel(File) - Method in class org.languagetool.Language
 
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.
getLibFile() - Method in class org.languagetool.rules.spelling.hunspell.Hunspell
 
getLine() - Method in class org.languagetool.rules.RuleMatch
Get the line number in which the match occurs (zero-based).
getLineCount() - Method in interface org.languagetool.bitext.BitextReader
Get the current line number in the file.
getLineCount() - Method in class org.languagetool.bitext.TabBitextReader
 
getLocale() - Method in class org.languagetool.Language
Get this language's Java locale, not considering the country code.
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
getLongMessageString() - Method in class org.languagetool.rules.WrongWordInContextRule
 
getLuceneSearcher(int) - Method in class org.languagetool.languagemodel.LuceneLanguageModel
 
getMaintainers() - Method in class org.languagetool.Language
Get the name(s) of the maintainer(s) for this language or null.
getManualAdditionsFileName() - Method in class org.languagetool.tagging.BaseTagger
Get the filename for manual additions, e.g., /en/added.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
 
getMaxOccurrence() - Method in class org.languagetool.rules.patterns.PatternToken
The maximum number of times the element may occur.
getMessage(String, List<String>) - Method in class org.languagetool.rules.AbstractSimpleReplaceRule
 
getMessage(String, String) - Method in class org.languagetool.rules.AbstractWordCoherencyRule
Get the message shown to the user if the rule matches.
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(String, String) - Method in class org.languagetool.rules.ConfusionProbabilityRule
 
getMessage() - Method in class org.languagetool.rules.patterns.bitext.BitextPatternRule
 
getMessage() - Method in class org.languagetool.rules.patterns.PatternRule
Get the message shown to the user if this rule matches.
getMessage() - Method in class org.languagetool.rules.RuleMatch
A human-readable explanation describing the error.
getMessage() - Method in class org.languagetool.rules.SentenceWhitespaceRule
 
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
 
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
 
getMonth(String) - Method in class org.languagetool.rules.AbstractDateCheckFilter
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.rules.Category
 
getNegation() - Method in class org.languagetool.rules.patterns.PatternToken
getNewTokenReadings() - Method in class org.languagetool.tagging.disambiguation.rules.DisambiguationPatternRule
 
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.
getOriginalTextPositionFor(int) - 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
 
getPatternRules() - Method in class org.languagetool.Language
Get the pattern rules as defined in the files returned by Language.getRuleFileNames().
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
 
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.AnalyzedToken
 
getPosTag() - Method in class org.languagetool.rules.patterns.Match
 
getPOStag() - Method in class org.languagetool.rules.patterns.PatternToken
 
getPosTag() - Method in class org.languagetool.tagging.TaggedWord
 
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.
getPreviousExceptionList() - Method in class org.languagetool.rules.patterns.PatternToken
 
getPriority() - Method in class org.languagetool.rules.Category
 
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.
getPureText(AnalyzedSentence) - Method in class org.languagetool.rules.bitext.BitextRule
 
getRawAnalyzedSentence(String) - Method in class org.languagetool.JLanguageTool
Tokenizes the given sentence into words and analyzes it.
getReader() - Method in class org.languagetool.languagemodel.LuceneLanguageModel.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
 
getRelevantLanguageModelRules(ResourceBundle, LanguageModel) - Method in class org.languagetool.Language
Get a list of rules that require a LanguageModel.
getRelevantRules(ResourceBundle) - Method in class org.languagetool.Language
Get the rules classes that should run for texts in this language.
getRelevantRules() - Static method in class org.languagetool.rules.bitext.BitextRule
 
getRequired(String, Map<String, String>) - Method in class org.languagetool.rules.AbstractDateCheckFilter
 
getResourceDir() - Method in class org.languagetool.databroker.DefaultResourceDataBroker
 
getResourceDir() - Method in interface org.languagetool.databroker.ResourceDataBroker
 
getRule() - Method in class org.languagetool.rules.RuleMatch
 
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. a path in the classpath.
getRuleMatches(String, int) - Method in class org.languagetool.rules.spelling.morfologik.MorfologikSpellerRule
 
getRules(InputStream, String) - Method in class org.languagetool.rules.patterns.bitext.BitextPatternRuleLoader
 
getRules(File, Language, Language) - Method in class org.languagetool.rules.patterns.FalseFriendRuleLoader
 
getRules(InputStream, Language, Language) - Method in class org.languagetool.rules.patterns.FalseFriendRuleLoader
 
getRules(File) - Method in class org.languagetool.rules.patterns.PatternRuleLoader
 
getRules(InputStream, String) - Method in class org.languagetool.rules.patterns.PatternRuleLoader
 
getRules() - Method in class org.languagetool.rules.patterns.XMLRuleHandler
 
getRules(InputStream) - Method in class org.languagetool.tagging.disambiguation.rules.DisambiguationRuleLoader
 
getRulesDir() - Method in class org.languagetool.databroker.DefaultResourceDataBroker
 
getRulesDir() - Method in interface org.languagetool.databroker.ResourceDataBroker
 
getSentenceCount() - Method in class org.languagetool.JLanguageTool
Deprecated.
use JLanguageTool.analyzeText(String) instead (deprecated since 2.7)
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
 
getSentenceTokenizer() - Method in class org.languagetool.Language
Get this language's sentence tokenizer implementation.
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
 
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.
getShortMessageString() - Method in class org.languagetool.rules.WrongWordInContextRule
 
getShortName() - Method in class org.languagetool.Language
Get this language's character code, e.g.
getShortNameWithCountryAndVariant() - 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.
getSkipNext() - Method in class org.languagetool.rules.patterns.PatternToken
Gets the exception scope length.
getSource() - Method in class org.languagetool.bitext.StringPair
 
getSourceLanguage() - Method in class org.languagetool.rules.bitext.BitextRule
 
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
 
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
 
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
 
getSuggestionsOutMsg() - Method in class org.languagetool.rules.patterns.PatternRule
 
getSuggestionsSeparator() - Method in class org.languagetool.rules.AbstractSimpleReplaceRule2
 
getSuggestionTokens(Rule, Language) - Method in class org.languagetool.rules.spelling.SuggestionExtractor
Get the tokens of simple suggestions, i.e. those that don't use back references.
getSymbol() - Method in class org.languagetool.rules.SymbolLocator
 
getSynthesizer() - Method in class org.languagetool.Language
Get this language's part-of-speech synthesizer implementation or null.
getTagger() - Method in class org.languagetool.Language
Get this language's part-of-speech tagger implementation.
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.
getText() - Method in class org.languagetool.AnalyzedSentence
Return the original text.
getThreadPoolSize() - Method in class org.languagetool.MultiThreadedJLanguageTool
When no thread pool size is configured, the number of available processors is returned.
getToken() - Method in class org.languagetool.AnalyzedToken
 
getToken() - Method in class org.languagetool.AnalyzedTokenReadings
 
getTokenInflected() - Method in class org.languagetool.AnalyzedToken
Like AnalyzedToken.getLemma(), but returns the token if the lemma is null
getTokenizer() - Method in class org.languagetool.rules.ConfusionProbabilityRule
 
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).
getTotalTokenCount() - Method in interface org.languagetool.languagemodel.LanguageModel
 
getTotalTokenCount() - Method in class org.languagetool.languagemodel.LuceneLanguageModel
 
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
 
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
 
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.
getVariant() - Method in class org.languagetool.Language
Get this language's variant, e.g.
getWithDemoLanguage() - Static method in class org.languagetool.Languages
Like Languages.get() but the list contains also LanguageTool's internal 'Demo' language, if available.
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.
getWrongWords() - Method in class org.languagetool.rules.AbstractSimpleReplaceRule
 
getWrongWords() - Method in class org.languagetool.rules.AbstractSimpleReplaceRule2
 
getXmlEnd() - Method in class org.languagetool.tools.RuleAsXmlSerializer
Get the string to end the XML.
getXmlStart(Language, Language) - Method in class org.languagetool.tools.RuleAsXmlSerializer
Get the string to begin the XML.
GOOGLE_SENTENCE_END - Static variable in interface org.languagetool.languagemodel.LanguageModel
ngram sentence end marker
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

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.
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.rules.ConfusionSet
 
hashCode() - Method in class org.languagetool.rules.ConfusionString
 
hashCode() - Method in class org.languagetool.rules.RuleMatch
 
hasLemma(String) - Method in class org.languagetool.AnalyzedTokenReadings
Checks if one of the token's readings has a particular lemma.
hasNextException() - Method in class org.languagetool.rules.patterns.PatternToken
Checks if the element has an exception for a next scope.
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.
hasPartialPosTag(String) - Method in class org.languagetool.AnalyzedTokenReadings
Checks if the token has a particular POS tag, whereas 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.
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
 
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.
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.Dictionary - Class in org.languagetool.rules.spelling.hunspell
Class representing a single dictionary.
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
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) - 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) - Constructor for class org.languagetool.rules.spelling.hunspell.HunspellRule
 

I

ID - Static variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
id - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
IGNORE - 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 should be ignored, i.e. if no error should be created.
ignoreSpelling() - Method in class org.languagetool.AnalyzedTokenReadings
Make the token ignored by all spelling rules.
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.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.
immunize() - Method in class org.languagetool.AnalyzedTokenReadings
 
in - Variable in class org.languagetool.bitext.TabBitextReader
 
inAndGroup - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
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 - 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
 
incorrectExample - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
inCorrectExample - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
incorrectExamples - 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
 
initPossibleTags() - Method in class org.languagetool.synthesis.BaseSynthesizer
 
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
 
inRuleGroup - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
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
 
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
 
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.
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-insensitive matching.
isCaseSensitive() - Method in class org.languagetool.rules.patterns.PatternToken
Whether the element matches case sensitively.
isCheckLemmas() - Method in class org.languagetool.rules.AbstractSimpleReplaceRule
 
isConvertsCase() - Method in class org.languagetool.rules.spelling.SpellingCheckRule
Used to check whether the dictionary will use case conversions for spell checking.
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.
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
 
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.WordRepeatBeginningRule
 
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
 
isFieldCode() - Method in class org.languagetool.AnalyzedTokenReadings
 
isGetUnified() - Method in class org.languagetool.rules.patterns.AbstractPatternRule
 
isGroupsOrUnification() - Method in class org.languagetool.rules.patterns.AbstractPatternRule
 
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
 
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.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(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).
isNoException(String, AnalyzedTokenReadings[], int, int, boolean, boolean) - 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 ( ).
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).
isParagraphEnd() - Method in class org.languagetool.AnalyzedTokenReadings
 
isPartOfPhrase() - Method in class org.languagetool.rules.patterns.PatternToken
Checks if the Element is in any phrase.
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.
isProhibited(String) - Method in class org.languagetool.rules.spelling.SpellingCheckRule
Whether the word is prohibited, i.e. whether it should be marked as a spelling error even if the spell checker would accept it.
isPunctsJoinOk(String) - Method in class org.languagetool.rules.AbstractPunctuationCheckRule
 
isPunctuation(String) - Method in class org.languagetool.rules.AbstractPunctuationCheckRule
 
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.
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
 
isStaticLemma() - Method in class org.languagetool.rules.patterns.Match
 
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
 
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, boolean) - Method in class org.languagetool.rules.patterns.Unifier
Tests if the token sequence is unified.
isUnified(AnalyzedToken, Map<String, List<String>>, boolean) - Method in class org.languagetool.rules.patterns.Unifier
 
isUniNegated() - Method in class org.languagetool.rules.patterns.PatternToken
 
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. whether it doesn't directly extend Language, but a subclass of Language.
isWhitespace() - Method in class org.languagetool.AnalyzedTokenReadings
 
isWhitespace(String) - Static method in class org.languagetool.tools.StringTools
Checks if a string contains only whitespace, including all Unicode whitespace, but not the non-breaking space.
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, 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.ParagraphHandling - Enum in org.languagetool
Constants for correct paragraph-rule handling: NORMAL - all kinds of rules run ONLYPARA - only paragraph-level rules ONLYNONPARA - only sentence-level rules
JnaTools - Class in org.languagetool.tools
JNA helper tools.
joinUrls(List<String>) - Method in class org.languagetool.tokenizers.WordTokenizer
 

L

Language - Class in org.languagetool
Base class for any supported language (English, German, etc).
Language() - Constructor for class org.languagetool.Language
 
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
 
LanguageBuilder - Class in org.languagetool.language
Create a language by specifying the language's XML rule file.
LanguageIdentifier - Class in org.languagetool.language
Identify the language of a text.
LanguageIdentifier() - Constructor for class org.languagetool.language.LanguageIdentifier
 
LanguageModel - Interface in org.languagetool.languagemodel
A very simple language model that contains information about ngram occurrences.
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.
LANGUAGETOOL_FX - Static variable in class org.languagetool.rules.spelling.SpellingCheckRule
The name of the LanguageTool Firefox extension, LanguageToolFx.
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.
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
 
listToString(Collection<String>, String) - Static method in class org.languagetool.tools.StringTools
 
load(String) - Static method in class org.languagetool.rules.AbstractSimpleReplaceRule
 
loadConfusionSet(InputStream) - Method in class org.languagetool.rules.ConfusionSetLoader
 
loadFalseFriendRules(String) - Method in class org.languagetool.JLanguageTool
Load false friend rules from an XML file.
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(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.WordCoherencyDataLoader
 
loadWords(InputStream) - Static method in class org.languagetool.synthesis.SynthesizerTools
 
LocalSRXSentenceTokenizer - Class in org.languagetool.tokenizers
Class to tokenize sentences using an SRX file.
LocalSRXSentenceTokenizer(Language, String) - Constructor for class org.languagetool.tokenizers.LocalSRXSentenceTokenizer
 
LongSentenceRule - Class in org.languagetool.rules
A rule that warns on long sentences.
LongSentenceRule(ResourceBundle, int) - Constructor for class org.languagetool.rules.LongSentenceRule
 
LongSentenceRule(ResourceBundle) - Constructor for class org.languagetool.rules.LongSentenceRule
Creates a rule with the default maximum sentence length (40 words).
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, String) - Method in class org.languagetool.synthesis.ManualSynthesizer
Look up a word's inflected form as specified by the lemma and POS tag.
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
Information about ngram occurrences, taken from a Lucene index.
LuceneLanguageModel(File) - Constructor for class org.languagetool.languagemodel.LuceneLanguageModel
 
LuceneLanguageModel.LuceneSearcher - Class in org.languagetool.languagemodel
 

M

makeAdditionalLanguage(File) - Static method in class org.languagetool.language.LanguageBuilder
 
makeExternal() - Method in class org.languagetool.Language
Deprecated.
overwrite Language.isExternal() instead (deprecated since 3.0)
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
 
MARKER - Static variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
match(AnalyzedSentence) - Method in class org.languagetool.rules.AbstractCompoundRule
 
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.AbstractWordCoherencyRule
 
match(AnalyzedSentence) - Method in class org.languagetool.rules.AdvancedWordRepeatRule
 
match(AnalyzedSentence, AnalyzedSentence) - Method in class org.languagetool.rules.bitext.BitextRule
 
match(AnalyzedSentence) - Method in class org.languagetool.rules.bitext.BitextRule
This method makes no sense for bitext, thus it always returns null.
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) - Method in class org.languagetool.rules.CommaWhitespaceRule
 
match(AnalyzedSentence) - Method in class org.languagetool.rules.ConfusionProbabilityRule
 
match(AnalyzedSentence) - Method in class org.languagetool.rules.DoublePunctuationRule
 
match(List<AnalyzedSentence>) - Method in class org.languagetool.rules.GenericUnpairedBracketsRule
 
match(AnalyzedSentence) - Method in class org.languagetool.rules.LongSentenceRule
 
match(AnalyzedSentence) - Method in class org.languagetool.rules.MultipleWhitespaceRule
 
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, 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(AnalyzedSentence) - Method in class org.languagetool.rules.patterns.PatternRule
 
MATCH - Static variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
match - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
match(AnalyzedSentence) - Method in class org.languagetool.rules.Rule
Check whether the given sentence matches this error rule, i.e. whether it contains the error detected by this rule.
match(AnalyzedSentence) - Method in class org.languagetool.rules.SentenceWhitespaceRule
 
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.TextLevelRule
 
match(List<AnalyzedSentence>) - Method in class org.languagetool.rules.TextLevelRule
 
match(AnalyzedSentence) - Method in class org.languagetool.rules.UppercaseSentenceStartRule
 
match(AnalyzedSentence) - Method in class org.languagetool.rules.WhitespaceBeforePunctuationRule
 
match(AnalyzedSentence) - Method in class org.languagetool.rules.WordRepeatBeginningRule
 
match(AnalyzedSentence) - Method in class org.languagetool.rules.WordRepeatRule
 
match(AnalyzedSentence) - Method in class org.languagetool.rules.WrongWordInContextRule
 
Match.CaseConversion - Enum in org.languagetool.rules.patterns
Possible string case conversions.
Match.IncludeRange - Enum in org.languagetool.rules.patterns
 
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.
MatchState - Class in org.languagetool.rules.patterns
The state of a matching process.
MatchState(Match, Synthesizer) - Constructor for class org.languagetool.rules.patterns.MatchState
 
MAX - Static variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
maxOccurrence - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
MESSAGE - Static variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
message - 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
 
MIN - Static variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
MIN_COVERAGE - Static variable in class org.languagetool.rules.ConfusionProbabilityRule
 
minOccurrence - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
misspelled(String) - Method in class org.languagetool.rules.spelling.hunspell.Hunspell.Dictionary
Check if a word is spelled correctly
MorfologikMultiSpeller - Class in org.languagetool.rules.spelling.morfologik
Morfologik speller that merges results from binary (.dict) and plain text (.txt) dictionaries.
MorfologikMultiSpeller(String, String, int) - Constructor for class org.languagetool.rules.spelling.morfologik.MorfologikMultiSpeller
 
MorfologikMultiSpeller(String, BufferedReader, int) - Constructor for class org.languagetool.rules.spelling.morfologik.MorfologikMultiSpeller
 
MorfologikSpeller - Class in org.languagetool.rules.spelling.morfologik
Morfologik-based spell checker.
MorfologikSpeller(String, int) - Constructor for class org.languagetool.rules.spelling.morfologik.MorfologikSpeller
Creates a speller with the given maximum edit distance.
MorfologikSpeller(String) - Constructor for class org.languagetool.rules.spelling.morfologik.MorfologikSpeller
Creates a speller with a maximum edit distance of one.
MorfologikSpellerRule - Class in org.languagetool.rules.spelling.morfologik
 
MorfologikSpellerRule(ResourceBundle, Language) - 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
 
MultiKeyProperties - Class in org.languagetool.tools
A very simple property-style configuration.
MultiKeyProperties(InputStream) - Constructor for class org.languagetool.tools.MultiKeyProperties
 
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) - 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
 

N

name - Variable in class org.languagetool.rules.patterns.PatternRuleHandler
 
NAME - Static variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
needsInit - Variable in class org.languagetool.rules.spelling.hunspell.HunspellRule
 
NEGATE - Static variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
NEGATE_POS - Static variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
nextLine - Variable in class org.languagetool.bitext.TabBitextReader
 
nextPair - Variable in class org.languagetool.bitext.TabBitextReader
 
NO - Static variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
numerals - Variable in class org.languagetool.rules.GenericUnpairedBracketsRule
 

O

OFF - Static variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
ON - Static variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
OR - Static variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
orderSuggestions(List<String>, String) - Method in class org.languagetool.rules.spelling.morfologik.MorfologikSpellerRule
 
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.rules - package org.languagetool.rules
 
org.languagetool.rules.bitext - package org.languagetool.rules.bitext
 
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.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
 
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.
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.
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
 
PatternRuleHandler - Class in org.languagetool.rules.patterns
 
PatternRuleHandler() - 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
 
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 - 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 - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
PatternToken.PosToken - Class in org.languagetool.rules.patterns
 
PatternToken.PosToken(String, boolean, boolean) - Constructor for class org.languagetool.rules.patterns.PatternToken.PosToken
 
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) - Method in class org.languagetool.JLanguageTool
 
performCheck(List<AnalyzedSentence>, List<String>, List<Rule>, JLanguageTool.ParagraphHandling, AnnotatedText) - Method in class org.languagetool.MultiThreadedJLanguageTool
 
phraseElementInit() - Method in class org.languagetool.rules.patterns.XMLRuleHandler
 
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
 
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.
posNegation - 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.
posRegExp - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
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
 
preparePhrase(Attributes) - Method in class org.languagetool.rules.patterns.XMLRuleHandler
 
prepareRule(PatternRule) - Method in class org.languagetool.rules.patterns.PatternRuleHandler
 
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
 
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
 
push(E) - Method in class org.languagetool.rules.UnsyncStack
Pushes an item onto the top of this stack.

R

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.
REGEXP - Static variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
regExpression - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
rememberUnknownWords(AnalyzedSentence) - Method in class org.languagetool.JLanguageTool
 
removeReading(AnalyzedToken) - 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.
replace(AnalyzedSentence) - Method in class org.languagetool.tagging.disambiguation.rules.DisambiguationPatternRule
Performs disambiguation on the source sentence.
reset() - Method in class org.languagetool.rules.AbstractCompoundRule
 
reset() - Method in class org.languagetool.rules.AbstractPunctuationCheckRule
 
reset() - Method in class org.languagetool.rules.AbstractSimpleReplaceRule
 
reset() - Method in class org.languagetool.rules.AbstractSimpleReplaceRule2
 
reset() - Method in class org.languagetool.rules.AbstractSpaceBeforeRule
 
reset() - Method in class org.languagetool.rules.AbstractWordCoherencyRule
 
reset() - Method in class org.languagetool.rules.AdvancedWordRepeatRule
 
reset() - Method in class org.languagetool.rules.bitext.BitextRule
 
reset() - Method in class org.languagetool.rules.bitext.DifferentLengthRule
 
reset() - Method in class org.languagetool.rules.bitext.DifferentPunctuationRule
 
reset() - Method in class org.languagetool.rules.bitext.SameTranslationRule
 
reset() - Method in class org.languagetool.rules.CommaWhitespaceRule
 
reset() - Method in class org.languagetool.rules.ConfusionProbabilityRule
 
reset() - Method in class org.languagetool.rules.DoublePunctuationRule
 
reset() - Method in class org.languagetool.rules.LongSentenceRule
 
reset() - Method in class org.languagetool.rules.MultipleWhitespaceRule
 
reset() - Method in class org.languagetool.rules.patterns.AbstractPatternRule
 
reset() - Method in class org.languagetool.rules.patterns.bitext.BitextPatternRule
 
reset() - Method in class org.languagetool.rules.patterns.Unifier
Resets after use of unification.
reset() - Method in class org.languagetool.rules.Rule
If a rule keeps its state over more than the check of one sentence, this must be implemented so the internal state is reset.
reset() - Method in class org.languagetool.rules.SentenceWhitespaceRule
 
reset() - Method in class org.languagetool.rules.spelling.SpellingCheckRule
 
reset() - Method in class org.languagetool.rules.TextLevelRule
 
reset() - Method in class org.languagetool.rules.UppercaseSentenceStartRule
 
reset() - Method in class org.languagetool.rules.WhitespaceBeforePunctuationRule
 
reset() - Method in class org.languagetool.rules.WordRepeatBeginningRule
 
reset() - Method in class org.languagetool.rules.WordRepeatRule
 
reset() - Method in class org.languagetool.rules.WrongWordInContextRule
 
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(java.lang.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.
rule - Variable in class org.languagetool.rules.patterns.AbstractPatternRulePerformer
 
RULE - Static variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
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_ID - Static variable in class org.languagetool.rules.spelling.hunspell.HunspellNoSuggestionRule
 
RULE_ID - Static variable in class org.languagetool.rules.spelling.hunspell.HunspellRule
 
RuleAsXmlSerializer - Class in org.languagetool.tools
Generate XML to represent matching rules.
RuleAsXmlSerializer() - Constructor for class org.languagetool.tools.RuleAsXmlSerializer
 
ruleFileExists(String) - Method in class org.languagetool.databroker.DefaultResourceDataBroker
See: ResourceDataBroker.ruleFileExists(java.lang.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 - Interface in org.languagetool.rules.patterns
Filter rule matches after a PatternRule has matched already.
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
 
RuleMatch - Class in org.languagetool.rules
Information about an error rule that matches text and the position of the match.
RuleMatch(Rule, 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, 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, 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.
ruleMatchesToXml(List<RuleMatch>, String, int, Language, Language) - Method in class org.languagetool.tools.RuleAsXmlSerializer
Get an XML representation of the given rule matches.
ruleMatchesToXml(List<RuleMatch>, String, int, Language) - Method in class org.languagetool.tools.RuleAsXmlSerializer
Get an XML representation of the given rule matches.
ruleMatchesToXml(List<RuleMatch>, String, int, StringTools.XmlPrintMode, Language, List<String>) - Method in class org.languagetool.tools.RuleAsXmlSerializer
Get an XML representation of the given rule matches.
ruleMatchesToXmlSnippet(List<RuleMatch>, String, int) - Method in class org.languagetool.tools.RuleAsXmlSerializer
Get the XML snippet (i.e. not a complete XML document) for the given rules.
RuleMatchFilter - Interface in org.languagetool.rules
Filter rule matches.
RULES - Static variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
rules - 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.
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
 

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
 
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, String[], String[]) - Static method in class org.languagetool.tools.Tools
Enable and disable rules of the given LanguageTool instance.
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, String[], String[], boolean) - Static method in class org.languagetool.tools.Tools
Enable and disable rules of the given LanguageTool instance.
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
 
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
 
setAndGroupElement(PatternToken) - Method in class org.languagetool.rules.patterns.PatternToken
 
setAntiPatterns(List<DisambiguationPatternRule>) - Method in class org.languagetool.rules.patterns.PatternRule
Set up the list of antipatterns used to immunize tokens, i.e., make them non-matchable by the current rule.
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
 
setColumn(int) - Method in class org.languagetool.rules.RuleMatch
Set the column number in which the match occurs (zero-based).
setCompoundRegex(String) - Method in class org.languagetool.rules.spelling.morfologik.MorfologikSpellerRule
 
setConfusionSet(ConfusionSet) - Method in class org.languagetool.rules.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 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<String>) - Method in class org.languagetool.rules.Rule
Set the examples that are correct and thus do not trigger the rule.
setDataBroker(ResourceDataBroker) - Static method in class org.languagetool.JLanguageTool
The grammar checker needs resources from following directories: /resource /rules This method is thread-safe.
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.
setDocumentLocator(Locator) - Method in class org.languagetool.rules.patterns.XMLRuleHandler
 
setEndColumn(int) - Method in class org.languagetool.rules.RuleMatch
Set the column number in which the match ends (zero-based).
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.
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.
setHistoricalAnnotations(String) - Method in class org.languagetool.AnalyzedTokenReadings
Used to track disambiguator actions.
setIgnoredCharactersRegex(String) - Method in class org.languagetool.Language
Deprecated.
overwrite Language.getIgnoredCharactersRegex() instead (deprecated since 3.0)
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
 
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.
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
 
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.rules.patterns.PatternRule
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.
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.
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.
setOptionalException(String, boolean, boolean, boolean, String, boolean, boolean) - Method in class org.languagetool.rules.patterns.PatternToken
Deprecated.
will be removed as it hasn't been used (deprecated since 3.0)
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.
setSentEnd() - Method in class org.languagetool.AnalyzedTokenReadings
Add a SENT_END tag.
setSingleLineBreaksMarksParagraph(boolean) - Method in class org.languagetool.tokenizers.LocalSRXSentenceTokenizer
 
setSingleLineBreaksMarksParagraph(boolean) - Method in interface org.languagetool.tokenizers.SentenceTokenizer
 
setSingleLineBreaksMarksParagraph(boolean) - Method in class org.languagetool.tokenizers.SRXSentenceTokenizer
 
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
 
setSuggestedReplacements(List<String>) - Method in class org.languagetool.rules.RuleMatch
 
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. and includes the support for including the skipped tokens.
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.
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
 
setWhitespaceBefore(boolean) - Method in class org.languagetool.AnalyzedToken
 
setWhitespaceBefore(boolean) - Method in class org.languagetool.AnalyzedTokenReadings
 
setWhitespaceBefore(boolean) - Method in class org.languagetool.rules.patterns.PatternToken
 
shortMessage - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
shortMessageForRuleGroup - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
shutdown() - Method in class org.languagetool.MultiThreadedJLanguageTool
Call this to shut down the internally used thread pool.
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 {@code [.!?
SimpleSentenceTokenizer() - Constructor for class org.languagetool.tokenizers.SimpleSentenceTokenizer
 
singleLineBreaksMarksPara() - Method in class org.languagetool.tokenizers.LocalSRXSentenceTokenizer
 
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
 
sortSuggestionByQuality(String, List<String>) - Method in class org.languagetool.rules.spelling.hunspell.CompoundAwareHunspellRule
 
SPACEBEFORE - Static variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
speller1 - Variable in class org.languagetool.rules.spelling.morfologik.MorfologikSpellerRule
 
speller2 - 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) - Constructor for class org.languagetool.rules.spelling.SpellingCheckRule
 
SRXSentenceTokenizer - Class in org.languagetool.tokenizers
Class to tokenize sentences using LanguageTool's global SRX file for all languages.
SRXSentenceTokenizer(Language) - Constructor for class org.languagetool.tokenizers.SRXSentenceTokenizer
 
startElement(String, String, String, Attributes) - Method in class org.languagetool.rules.patterns.PatternRuleHandler
 
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
 
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.
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.XmlPrintMode - Enum in org.languagetool.tools
Constants for printing XML rule matches.
subId - Variable in class org.languagetool.rules.patterns.AbstractPatternRule
 
suggest(String) - Method in class org.languagetool.rules.spelling.hunspell.Hunspell.Dictionary
Returns a list of suggestions
SUGGESTION - Static variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
SuggestionExtractor - Class in org.languagetool.rules.spelling
Extract tokens from suggestions.
SuggestionExtractor() - Constructor for class org.languagetool.rules.spelling.SuggestionExtractor
 
suggestionMatches - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
suggestionMatchesOutMsg - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
suggestionsOutMsg - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
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.
symbolStack - Variable in class org.languagetool.rules.GenericUnpairedBracketsRule
 
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, boolean) - Method in class org.languagetool.synthesis.BaseSynthesizer
 
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 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
 
tag(String) - Method in class org.languagetool.rules.PartialPosTagFilter
 
tag(List<String>) - Method in class org.languagetool.tagging.BaseTagger
 
tag(String) - Method in class org.languagetool.tagging.BaseTagger
 
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(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(String) - Method in interface org.languagetool.tagging.WordTagger
 
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.
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
 
testWhitespace() - Method in class org.languagetool.rules.patterns.PatternToken
 
TextLevelRule - Class in org.languagetool.rules
A rule that considers the complete text, not just one sentence after the other.
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 - 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 class org.languagetool.tokenizers.LocalSRXSentenceTokenizer
 
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
 
tokenSpaceBefore - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
tokenSpaceBeforeSet - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
Tools - Class in org.languagetool.tools
 
toPatternString() - Method in class org.languagetool.rules.patterns.PatternRule
Return the pattern as a string, using toString() on the pattern elements.
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(String) - Method in class org.languagetool.AnalyzedSentence
Return string representation with chunk information.
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.language.Contributor
 
toString() - Method in class org.languagetool.Language
 
toString() - Method in class org.languagetool.languagemodel.LuceneLanguageModel
 
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.ConfusionSet
 
toString() - Method in class org.languagetool.rules.ConfusionString
 
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.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.RuleMatch
 
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
 
toTokenString() - Method in class org.languagetool.rules.patterns.MatchState
Method for getting the formatted match as a single string.
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.
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
 
TYPE - Static variable in class org.languagetool.rules.patterns.PatternRuleHandler
 
TYPE - Static variable in class org.languagetool.rules.patterns.XMLRuleHandler
 

U

uFeature - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
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 - 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
 
uniqueMapInit() - Method in class org.languagetool.rules.GenericUnpairedBracketsRule
 
UNKNOWN_TAG - Static variable in class org.languagetool.rules.patterns.PatternToken
Matches only tokens without any POS tag.
UnsyncStack<E> - Class in org.languagetool.rules
Implements unsynchronized stack (contrary to default Java java.util.Stack, this one is based on ArrayList).
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
 
url - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
urlForRuleGroup - Variable in class org.languagetool.rules.patterns.XMLRuleHandler
 
useInOffice() - Method in class org.languagetool.rules.Rule
Whether this rule should be forced to be used in LO/OO extension.
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
Throw RuntimeException is the given directory does not seem to be a valid ngram top directory with sub directories 1grams etc.
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.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.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.XmlPrintMode
Returns the enum constant of this type with the specified name.
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.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.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.XmlPrintMode
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
 
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
 
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
 
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 twice, e.g.
WordRepeatRule(ResourceBundle, Language) - Constructor for class org.languagetool.rules.WordRepeatRule
 
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 {@code ...
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

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
 

Y

YES - Static variable in class org.languagetool.rules.patterns.XMLRuleHandler
Definitions of values in XML files.
A B C D E F G H I J L M N O P R S T U V W X Y