Uses of Class
org.languagetool.markup.AnnotatedText
Packages that use AnnotatedText
Package
Description
-
Uses of AnnotatedText in org.languagetool
Fields in org.languagetool declared as AnnotatedTextModifier and TypeFieldDescriptionprivate final AnnotatedText
JLanguageTool.TextCheckCallable.annotatedText
Methods in org.languagetool with parameters of type AnnotatedTextModifier and TypeMethodDescriptionJLanguageTool.adjustRuleMatchPos
(RuleMatch match, int charCount, int columnCount, int lineCount, String sentence, AnnotatedText annotatedText) Change RuleMatch positions so they are relative to the complete text, not just to the sentence.JLanguageTool.applyCustomFilters
(List<RuleMatch> matches, AnnotatedText text) should be called just once with complete list of matches, before returning them to callerJLanguageTool.check
(AnnotatedText text) The main check method.JLanguageTool.check
(AnnotatedText annotatedText, boolean tokenizeText, JLanguageTool.ParagraphHandling paraMode) The main check method.JLanguageTool.check
(AnnotatedText annotatedText, boolean tokenizeText, JLanguageTool.ParagraphHandling paraMode, RuleMatchListener listener) The main check method.JLanguageTool.check
(AnnotatedText annotatedText, boolean tokenizeText, JLanguageTool.ParagraphHandling paraMode, RuleMatchListener listener, JLanguageTool.Mode mode) The main check method.JLanguageTool.check
(AnnotatedText text, RuleMatchListener listener) MultiThreadedJLanguageTool.createTextCheckCallables
(JLanguageTool.ParagraphHandling paraMode, AnnotatedText annotatedText, List<AnalyzedSentence> analyzedSentences, List<String> sentences, List<Rule> allRules, int charCount, int lineCount, int columnCount, RuleMatchListener listener, JLanguageTool.Mode mode) JLanguageTool.performCheck
(List<AnalyzedSentence> analyzedSentences, List<String> sentences, List<Rule> allRules, JLanguageTool.ParagraphHandling paraMode, AnnotatedText annotatedText, JLanguageTool.Mode mode) JLanguageTool.performCheck
(List<AnalyzedSentence> analyzedSentences, List<String> sentences, List<Rule> allRules, JLanguageTool.ParagraphHandling paraMode, AnnotatedText annotatedText, RuleMatchListener listener, JLanguageTool.Mode mode) MultiThreadedJLanguageTool.performCheck
(List<AnalyzedSentence> analyzedSentences, List<String> sentences, List<Rule> allRules, JLanguageTool.ParagraphHandling paraMode, AnnotatedText annotatedText, RuleMatchListener listener, JLanguageTool.Mode mode) Constructors in org.languagetool with parameters of type AnnotatedTextModifierConstructorDescription(package private)
TextCheckCallable
(List<Rule> rules, List<String> sentences, List<AnalyzedSentence> analyzedSentences, JLanguageTool.ParagraphHandling paraMode, AnnotatedText annotatedText, int charCount, int lineCount, int columnCount, RuleMatchListener listener, JLanguageTool.Mode mode) -
Uses of AnnotatedText in org.languagetool.markup
Methods in org.languagetool.markup that return AnnotatedTextModifier and TypeMethodDescriptionAnnotatedTextBuilder.build()
Create the annotated text to be passed intoJLanguageTool.check(AnnotatedText)
. -
Uses of AnnotatedText in org.languagetool.rules
Methods in org.languagetool.rules with parameters of type AnnotatedTextModifier and TypeMethodDescriptionDictionaryMatchFilter.filter
(List<RuleMatch> ruleMatches, AnnotatedText text) RuleMatchFilter.filter
(List<RuleMatch> ruleMatches, AnnotatedText text) TextLevelRule.match
(List<AnalyzedSentence> sentences, AnnotatedText annotatedText) -
Uses of AnnotatedText in org.languagetool.tools
Methods in org.languagetool.tools with parameters of type AnnotatedTextModifier and TypeMethodDescriptionRuleMatchesAsJsonSerializer.ruleMatchesToJson
(List<RuleMatch> matches, List<RuleMatch> hiddenMatches, AnnotatedText text, int contextSize, DetectedLanguage detectedLang, String incompleteResultsReason) private void
RuleMatchesAsJsonSerializer.writeContext
(com.fasterxml.jackson.core.JsonGenerator g, RuleMatch match, AnnotatedText text, ContextTools contextTools) private void
RuleMatchesAsJsonSerializer.writeMatchesSection
(String sectionName, com.fasterxml.jackson.core.JsonGenerator g, List<RuleMatch> matches, AnnotatedText text, ContextTools contextTools)