Uses of Class
org.languagetool.markup.AnnotatedText
-
Packages that use AnnotatedText Package Description org.languagetool org.languagetool.markup org.languagetool.rules org.languagetool.tools -
-
Uses of AnnotatedText in org.languagetool
Methods in org.languagetool with parameters of type AnnotatedText Modifier and Type Method Description RuleMatch
JLanguageTool. 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.protected List<RuleMatch>
JLanguageTool. applyCustomFilters(List<RuleMatch> matches, AnnotatedText text)
should be called just once with complete list of matches, before returning them to callerList<RuleMatch>
JLanguageTool. check(AnnotatedText text)
The main check method.List<RuleMatch>
JLanguageTool. check(AnnotatedText annotatedText, boolean tokenizeText, JLanguageTool.ParagraphHandling paraMode)
The main check method.List<RuleMatch>
JLanguageTool. check(AnnotatedText annotatedText, boolean tokenizeText, JLanguageTool.ParagraphHandling paraMode, RuleMatchListener listener)
The main check method.List<RuleMatch>
JLanguageTool. check(AnnotatedText annotatedText, boolean tokenizeText, JLanguageTool.ParagraphHandling paraMode, RuleMatchListener listener, JLanguageTool.Mode mode)
The main check method.List<RuleMatch>
JLanguageTool. check(AnnotatedText text, RuleMatchListener listener)
protected List<RuleMatch>
JLanguageTool. performCheck(List<AnalyzedSentence> analyzedSentences, List<String> sentences, List<Rule> allRules, JLanguageTool.ParagraphHandling paraMode, AnnotatedText annotatedText, JLanguageTool.Mode mode)
protected List<RuleMatch>
JLanguageTool. performCheck(List<AnalyzedSentence> analyzedSentences, List<String> sentences, List<Rule> allRules, JLanguageTool.ParagraphHandling paraMode, AnnotatedText annotatedText, RuleMatchListener listener, JLanguageTool.Mode mode)
protected List<RuleMatch>
MultiThreadedJLanguageTool. performCheck(List<AnalyzedSentence> analyzedSentences, List<String> sentences, List<Rule> allRules, JLanguageTool.ParagraphHandling paraMode, AnnotatedText annotatedText, RuleMatchListener listener, JLanguageTool.Mode mode)
-
Uses of AnnotatedText in org.languagetool.markup
Methods in org.languagetool.markup that return AnnotatedText Modifier and Type Method Description AnnotatedText
AnnotatedTextBuilder. 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 AnnotatedText Modifier and Type Method Description List<RuleMatch>
DictionaryMatchFilter. filter(List<RuleMatch> ruleMatches, AnnotatedText text)
default List<RuleMatch>
RuleMatchFilter. filter(List<RuleMatch> ruleMatches, AnnotatedText text)
RuleMatch[]
TextLevelRule. match(List<AnalyzedSentence> sentences, AnnotatedText annotatedText)
-
Uses of AnnotatedText in org.languagetool.tools
Methods in org.languagetool.tools with parameters of type AnnotatedText Modifier and Type Method Description String
RuleMatchesAsJsonSerializer. ruleMatchesToJson(List<RuleMatch> matches, List<RuleMatch> hiddenMatches, AnnotatedText text, int contextSize, DetectedLanguage detectedLang, String incompleteResultsReason)
-