Package | Description |
---|---|
org.languagetool | |
org.languagetool.commandline | |
org.languagetool.rules |
Modifier and Type | Method and Description |
---|---|
static JLanguageTool.Level |
JLanguageTool.Level.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JLanguageTool.Level[] |
JLanguageTool.Level.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) |
Constructor and Description |
---|
LevelToneTagCacheKey(JLanguageTool.Level level,
Set<ToneTag> toneTags) |
Modifier and Type | Method and Description |
---|---|
JLanguageTool.Level |
CommandLineOptions.getLevel() |
Modifier and Type | Method and Description |
---|---|
static int |
CommandLineTools.checkText(String contents,
JLanguageTool lt,
boolean isJsonFormat,
int contextSize,
int lineOffset,
int prevMatches,
StringTools.ApiPrintMode apiMode,
boolean listUnknownWords,
JLanguageTool.Level level,
List<String> unknownWords,
boolean verbose)
Check the given text and print results to System.out.
|
static int |
CommandLineTools.checkText(String contents,
JLanguageTool lt,
boolean isJsonFormat,
int lineOffset,
JLanguageTool.Level level,
boolean listUnknownWords) |
static int |
CommandLineTools.checkText(String contents,
JLanguageTool lt,
boolean isJsonFormat,
int lineOffset,
JLanguageTool.Level level,
boolean listUnknownWords,
boolean verbose) |
void |
CommandLineOptions.setLevel(JLanguageTool.Level level) |
Modifier and Type | Method and Description |
---|---|
static JLanguageTool.Level |
GRPCUtils.fromGRPC(MLServerProto.ProcessingOptions.Level l) |
Modifier and Type | Method and Description |
---|---|
static MLServerProto.ProcessingOptions.Level |
GRPCUtils.toGRPC(JLanguageTool.Level level) |