- 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
-
- addReading(AnalyzedToken) - Method in class org.languagetool.AnalyzedTokenReadings
-
Add a new reading.
- addRule(Rule) - Method in class org.languagetool.JLanguageTool
-
- 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
-
- 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
-
- 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.
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
- 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.
- 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
-
- 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
-
- 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
-