| Package | Description |
|---|---|
| org.languagetool | |
| org.languagetool.markup |
| Modifier and Type | Method and 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.
|
List<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.checkAnalyzedSentence(JLanguageTool.ParagraphHandling paraMode,
List<Rule> rules,
int charCount,
int lineCount,
int columnCount,
String sentence,
AnalyzedSentence analyzedSentence,
AnnotatedText annotatedText)
This is an internal method that's public only for technical reasons, please use one
of the
JLanguageTool.check(String) methods instead. |
protected List<RuleMatch> |
JLanguageTool.performCheck(List<AnalyzedSentence> analyzedSentences,
List<String> sentences,
List<Rule> allRules,
JLanguageTool.ParagraphHandling paraMode,
AnnotatedText annotatedText) |
protected List<RuleMatch> |
MultiThreadedJLanguageTool.performCheck(List<AnalyzedSentence> analyzedSentences,
List<String> sentences,
List<Rule> allRules,
JLanguageTool.ParagraphHandling paraMode,
AnnotatedText annotatedText) |
| Modifier and Type | Method and Description |
|---|---|
AnnotatedText |
AnnotatedTextBuilder.build()
Create the annotated text to be passed into
JLanguageTool.check(AnnotatedText). |