Package | Description |
---|---|
org.languagetool | |
org.languagetool.server | |
org.languagetool.tools |
Modifier and Type | Method and Description |
---|---|
static JLanguageTool.Mode |
JLanguageTool.Mode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JLanguageTool.Mode[] |
JLanguageTool.Mode.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,
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.
|
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) |
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 void |
JLanguageTool.fetchRemoteRuleResults(long deadlineStartNanos,
JLanguageTool.Mode mode,
JLanguageTool.Level level,
List<AnalyzedSentence> analyzedSentences,
List<RuleMatch> remoteMatches,
List<FutureTask<RemoteRuleResult>> remoteRuleTasks,
List<RemoteRule> remoteRules,
List<Integer> requestSize,
Map<Integer,List<RuleMatch>> cachedResults,
Map<Integer,Integer> matchOffset,
AnnotatedText annotatedText,
Long textSessionID,
Set<ToneTag> toneTags) |
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 |
---|---|
void |
ServerMetricsCollector.logCheck(Language language,
long milliseconds,
int textSize,
int matchCount,
JLanguageTool.Mode mode) |
Modifier and Type | Method and Description |
---|---|
String |
RuleMatchesAsJsonSerializer.ruleMatchesToJson2(List<CheckResults> res,
List<RuleMatch> hiddenMatches,
AnnotatedText text,
int contextSize,
DetectedLanguage detectedLang,
String incompleteResultsReason,
boolean showPremiumHint,
JLanguageTool.Mode mode) |