Package | Description |
---|---|
org.languagetool.rules |
Modifier and Type | Class and Description |
---|---|
protected class |
GRPCRule.AnalyzedMLRuleRequest |
protected class |
GRPCRule.MLRuleRequest |
Modifier and Type | Method and Description |
---|---|
protected RemoteRule.RemoteRequest |
GRPCRule.prepareRequest(List<AnalyzedSentence> sentences,
Long textSessionId) |
protected RemoteRule.RemoteRequest |
TestRemoteRule.prepareRequest(List<AnalyzedSentence> sentences,
Long textSessionId) |
protected RemoteRule.RemoteRequest |
BERTSuggestionRanking.prepareRequest(List<AnalyzedSentence> sentences,
Long textSessionId) |
protected abstract RemoteRule.RemoteRequest |
RemoteRule.prepareRequest(List<AnalyzedSentence> sentences,
Long textSessionId)
run local preprocessing steps (or just store sentences)
|
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) |
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
|