Package | Description |
---|---|
org.languagetool | |
org.languagetool.rules |
Modifier and Type | Method and Description |
---|---|
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) |
Modifier and Type | Method and Description |
---|---|
protected RemoteRuleResult |
GRPCRule.fallbackResults(RemoteRule.RemoteRequest request) |
protected RemoteRuleResult |
TestRemoteRule.fallbackResults(RemoteRule.RemoteRequest request) |
protected RemoteRuleResult |
BERTSuggestionRanking.fallbackResults(RemoteRule.RemoteRequest request) |
protected abstract RemoteRuleResult |
RemoteRule.fallbackResults(RemoteRule.RemoteRequest request)
fallback if executeRequest times out or throws an error
|
Modifier and Type | Method and Description |
---|---|
protected Callable<RemoteRuleResult> |
GRPCRule.executeRequest(RemoteRule.RemoteRequest requestArg,
long timeoutMilliseconds) |
protected Callable<RemoteRuleResult> |
TestRemoteRule.executeRequest(RemoteRule.RemoteRequest request,
long timeoutMilliseconds) |
protected Callable<RemoteRuleResult> |
BERTSuggestionRanking.executeRequest(RemoteRule.RemoteRequest request,
long timeoutMilliseconds) |
protected abstract Callable<RemoteRuleResult> |
RemoteRule.executeRequest(RemoteRule.RemoteRequest request,
long timeoutMilliseconds) |
FutureTask<RemoteRuleResult> |
RemoteRule.run(List<AnalyzedSentence> sentences) |
FutureTask<RemoteRuleResult> |
RemoteRule.run(List<AnalyzedSentence> sentences,
Long textSessionId) |