Package | Description |
---|---|
org.languagetool | |
org.languagetool.openoffice |
Modifier and Type | Method and Description |
---|---|
static JLanguageTool.ParagraphHandling |
JLanguageTool.ParagraphHandling.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JLanguageTool.ParagraphHandling[] |
JLanguageTool.ParagraphHandling.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
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,
JLanguageTool.Level level)
The main check method.
|
List<RuleMatch> |
JLanguageTool.check(AnnotatedText annotatedText,
boolean tokenizeText,
JLanguageTool.ParagraphHandling paraMode,
RuleMatchListener listener,
JLanguageTool.Mode mode,
JLanguageTool.Level level,
Long textSessionID)
The main check method.
|
List<RuleMatch> |
JLanguageTool.check(String text,
boolean tokenizeText,
JLanguageTool.ParagraphHandling paraMode) |
List<RuleMatch> |
JLanguageTool.check(String text,
boolean tokenizeText,
JLanguageTool.ParagraphHandling paraMode,
RuleMatchListener listener) |
CheckResults |
JLanguageTool.check2(AnnotatedText annotatedText,
boolean tokenizeText,
JLanguageTool.ParagraphHandling paraMode,
RuleMatchListener listener,
JLanguageTool.Mode mode,
JLanguageTool.Level level,
Long textSessionID) |
CheckResults |
JLanguageTool.check2(AnnotatedText annotatedText,
boolean tokenizeText,
JLanguageTool.ParagraphHandling paraMode,
RuleMatchListener listener,
JLanguageTool.Mode mode,
JLanguageTool.Level level,
Set<ToneTag> toneTags,
Long textSessionID) |
List<RuleMatch> |
JLanguageTool.checkAnalyzedSentence(JLanguageTool.ParagraphHandling paraMode,
List<Rule> rules,
AnalyzedSentence analyzedSentence)
Deprecated.
use one of the
JLanguageTool.check(java.lang.String) methods instead. |
List<RuleMatch> |
JLanguageTool.checkAnalyzedSentence(JLanguageTool.ParagraphHandling paraMode,
List<Rule> rules,
AnalyzedSentence analyzedSentence,
boolean checkRemoteRules)
This is an internal method that's public only for technical reasons, please use one
of the
JLanguageTool.check(String) methods instead. |
protected CheckResults |
JLanguageTool.checkInternal(AnnotatedText annotatedText,
JLanguageTool.ParagraphHandling paraMode,
RuleMatchListener listener,
JLanguageTool.Mode mode,
JLanguageTool.Level level,
Long textSessionID,
List<String> sentences,
List<AnalyzedSentence> analyzedSentences) |
protected CheckResults |
JLanguageTool.checkInternal(AnnotatedText annotatedText,
JLanguageTool.ParagraphHandling paraMode,
RuleMatchListener listener,
JLanguageTool.Mode mode,
JLanguageTool.Level level,
Set<ToneTag> toneTags,
Long textSessionID,
List<String> sentences,
List<AnalyzedSentence> analyzedSentences) |
protected CheckResults |
MultiThreadedJLanguageTool.performCheck(List<AnalyzedSentence> analyzedSentences,
List<String> sentenceTexts,
RuleSet ruleSet,
JLanguageTool.ParagraphHandling paraMode,
AnnotatedText annotatedText,
RuleMatchListener listener,
JLanguageTool.Mode mode,
JLanguageTool.Level level,
boolean checkRemoteRules,
Set<ToneTag> toneTags) |
protected CheckResults |
JLanguageTool.performCheck(List<AnalyzedSentence> analyzedSentences,
List<String> sentenceTexts,
RuleSet ruleSet,
JLanguageTool.ParagraphHandling paraMode,
AnnotatedText annotatedText,
RuleMatchListener listener,
JLanguageTool.Mode mode,
JLanguageTool.Level level,
boolean checkRemoteRules,
Set<ToneTag> toneTags) |
Modifier and Type | Method and Description |
---|---|
List<RuleMatch> |
SwJLanguageTool.check(String text,
boolean tokenizeText,
JLanguageTool.ParagraphHandling paraMode)
check text by LT
default: check only grammar
local: LT checks only grammar (spell check is not implemented locally)
remote: spell checking is used for LT check dialog (is needed because method getAnalyzedSentence is not supported by remote check)
|
List<RuleMatch> |
SwJLanguageTool.check(String text,
boolean tokenizeText,
JLanguageTool.ParagraphHandling paraMode,
OfficeTools.RemoteCheck checkMode) |